{"full","compute full frame histograms",0,AV_OPT_TYPE_CONST,{.i64=STATS_MODE_ALL_FRAMES},INT_MIN,INT_MAX,FLAGS,"mode"},
{"full","compute full frame histograms",0,AV_OPT_TYPE_CONST,{.i64=STATS_MODE_ALL_FRAMES},INT_MIN,INT_MAX,FLAGS,"mode"},
{"diff","compute histograms only for the part that differs from previous frame",0,AV_OPT_TYPE_CONST,{.i64=STATS_MODE_DIFF_FRAMES},INT_MIN,INT_MAX,FLAGS,"mode"},
{"diff","compute histograms only for the part that differs from previous frame",0,AV_OPT_TYPE_CONST,{.i64=STATS_MODE_DIFF_FRAMES},INT_MIN,INT_MAX,FLAGS,"mode"},
{"single","compute new histogram for each frame",0,AV_OPT_TYPE_CONST,{.i64=STATS_MODE_SINGLE_FRAMES},INT_MIN,INT_MAX,FLAGS,"mode"},
{NULL}
{NULL}
};
};
...
@@ -480,7 +482,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
...
@@ -480,7 +482,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)