30 #define OFFSET(x) offsetof(SwsContext, x) 
   32 #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM 
   39     { 
"experimental",    
"experimental",                  0,                 
AV_OPT_TYPE_CONST,  { .i64  = 
SWS_X              }, INT_MIN, INT_MAX,        
VE, .unit = 
"sws_flags" },
 
   42     { 
"bicublin",        
"luma bicubic, chroma bilinear", 0,                 
AV_OPT_TYPE_CONST,  { .i64  = 
SWS_BICUBLIN       }, INT_MIN, INT_MAX,        
VE, .unit = 
"sws_flags" },
 
   65     { 
"src_v_chr_pos",   
"source vertical chroma position in luma grid/256"  ,      
OFFSET(src_v_chr_pos), 
AV_OPT_TYPE_INT, { .i64 = -513 }, -513,      512,             
VE },
 
   66     { 
"src_h_chr_pos",   
"source horizontal chroma position in luma grid/256",      
OFFSET(src_h_chr_pos), 
AV_OPT_TYPE_INT, { .i64 = -513 }, -513,      512,             
VE },
 
   67     { 
"dst_v_chr_pos",   
"destination vertical chroma position in luma grid/256"  , 
OFFSET(dst_v_chr_pos), 
AV_OPT_TYPE_INT, { .i64 = -513 }, -513,      512,             
VE },
 
   68     { 
"dst_h_chr_pos",   
"destination horizontal chroma position in luma grid/256", 
OFFSET(dst_h_chr_pos), 
AV_OPT_TYPE_INT, { .i64 = -513 }, -513,      512,             
VE },
 
   82     { 
"threads",         
"number of threads",             
OFFSET(nb_threads),   
AV_OPT_TYPE_INT, {.i64 = 1 }, 0, INT_MAX, 
VE, .unit = 
"threads" },
 
   92     .parent_log_context_offset = 
OFFSET(parent),