{"pc_n_ub","2-way match + 3rd match on combed + 4th/5th matches if still combed (p/c + u + u/b)",0,AV_OPT_TYPE_CONST,{.i64=MODE_PC_N_UB},INT_MIN,INT_MAX,FLAGS,"mode"},
{"pcn","3-way match (p/c/n)",0,AV_OPT_TYPE_CONST,{.i64=MODE_PCN},INT_MIN,INT_MAX,FLAGS,"mode"},
{"pcn_ub","3-way match + 4th/5th matches on combed (p/c/n + u/b)",0,AV_OPT_TYPE_CONST,{.i64=MODE_PCN_UB},INT_MIN,INT_MAX,FLAGS,"mode"},
{"ppsrc","mark main input as a pre-processed input and activate clean source input stream",OFFSET(ppsrc),AV_OPT_TYPE_INT,{.i64=0},0,1,FLAGS},
{"ppsrc","mark main input as a pre-processed input and activate clean source input stream",OFFSET(ppsrc),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FLAGS},
{"field","set the field to match from",OFFSET(field),AV_OPT_TYPE_INT,{.i64=FM_PARITY_AUTO},-1,1,FLAGS,"field"},
{"auto","automatic (same value as 'order')",0,AV_OPT_TYPE_CONST,{.i64=FM_PARITY_AUTO},INT_MIN,INT_MAX,FLAGS,"field"},
{"mchroma","set whether or not chroma is included during the match comparisons",OFFSET(mchroma),AV_OPT_TYPE_INT,{.i64=1},0,1,FLAGS},
{"mchroma","set whether or not chroma is included during the match comparisons",OFFSET(mchroma),AV_OPT_TYPE_BOOL,{.i64=1},0,1,FLAGS},
{"y0","define an exclusion band which excludes the lines between y0 and y1 from the field matching decision",OFFSET(y0),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,FLAGS},
{"y1","define an exclusion band which excludes the lines between y0 and y1 from the field matching decision",OFFSET(y1),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,FLAGS},
{"scthresh","set scene change detection threshold",OFFSET(scthresh_flt),AV_OPT_TYPE_DOUBLE,{.dbl=12},0,100,FLAGS},
{"cthresh","set the area combing threshold used for combed frame detection",OFFSET(cthresh),AV_OPT_TYPE_INT,{.i64=9},-1,0xff,FLAGS},
{"chroma","set whether or not chroma is considered in the combed frame decision",OFFSET(chroma),AV_OPT_TYPE_INT,{.i64=0},0,1,FLAGS},
{"chroma","set whether or not chroma is considered in the combed frame decision",OFFSET(chroma),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FLAGS},
{"blockx","set the x-axis size of the window used during combed frame detection",OFFSET(blockx),AV_OPT_TYPE_INT,{.i64=16},4,1<<9,FLAGS},
{"blocky","set the y-axis size of the window used during combed frame detection",OFFSET(blocky),AV_OPT_TYPE_INT,{.i64=16},4,1<<9,FLAGS},
{"combpel","set the number of combed pixels inside any of the blocky by blockx size blocks on the frame for the frame to be detected as combed",OFFSET(combpel),AV_OPT_TYPE_INT,{.i64=80},0,INT_MAX,FLAGS},