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 },
#define LIBAVUTIL_VERSION_INT
Convenience header that includes libavutil's core.
const AVClass * sws_get_class(void)
Get the AVClass for swsContext.
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
#define SWS_FULL_CHR_H_INT
#define SWS_FAST_BILINEAR
static const uint8_t dither[8][8]
static const AVOption swscale_options[]
static const char * sws_context_to_name(void *ptr)
#define SWS_ERROR_DIFFUSION
Describe the class of an AVClass context structure.
#define SWS_PARAM_DEFAULT
#define SWS_FULL_CHR_H_INP
const AVClass ff_sws_context_class