32 #define OFFSET(x) offsetof(SwsContext, x)
34 #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
44 {
"bicublin",
"luma bicubic, chroma bilinear", 0,
AV_OPT_TYPE_CONST, { .i64 =
SWS_BICUBLIN }, INT_MIN, INT_MAX,
VE,
"sws_flags" },
67 {
"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 },
68 {
"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 },
69 {
"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 },
70 {
"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 },