{"amount","set least percentual amount of pixels below the black threshold enabling black detection",OFFSET(bamount),AV_OPT_TYPE_INT,{.i64=98},0,100,FLAGS},
{"thresh","set threshold below which a pixel value is considered black",OFFSET(bthresh),AV_OPT_TYPE_INT,{.i64=32},0,255,FLAGS},
{NULL}
};
AVFILTER_DEFINE_CLASS(blackframe);
staticintquery_formats(AVFilterContext*ctx)
{
staticconstenumAVPixelFormatpix_fmts[]={
...
...
@@ -60,27 +73,27 @@ static int query_formats(AVFilterContext *ctx)