intpix_step[4];///< steps per pixel for each plane of the main output
intoriginal_w,original_h;
@ -69,6 +70,7 @@ typedef struct AssContext {
{"f","set the filename of file to read",OFFSET(filename),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,FLAGS}, \
{"original_size","set the size of the original video (used to scale fonts)",OFFSET(original_w),AV_OPT_TYPE_IMAGE_SIZE,{.str=NULL},CHAR_MIN,CHAR_MAX,FLAGS}, \
{"fontsdir","set the directory containing the fonts to read",OFFSET(fontsdir),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,FLAGS}, \
{"alpha","enable processing of alpha channel",OFFSET(alpha),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FLAGS}, \
/* libass supports a log level ranging from 0 to 7 */
staticconstintass_libavfilter_log_level_map[]={
@ -140,7 +142,7 @@ static int config_input(AVFilterLink *inlink)