29 #define OFFSET(x) offsetof(IDETContext, x)
30 #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
43 case TFF :
return "Top Field First ";
44 case BFF :
return "Bottom Field First";
57 int v = (*a++ + *c++) - 2 * *b++;
70 int v = (*a++ + *c++) - 2 * *b++;
96 for (y = 2; y < h - 2; y++) {
100 alpha[ y &1] += idet->
filter_line(cur-refs, prev, cur+refs, w);
101 alpha[(y^1)&1] += idet->
filter_line(cur-refs, next, cur+refs, w);
102 delta += idet->
filter_line(cur-refs, cur, cur+refs, w);
124 if(idet->
history[i] == best_type) {
187 av_log(ctx,
AV_LOG_INFO,
"Single frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n",
193 av_log(ctx,
AV_LOG_INFO,
"Multi frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n",
284 .priv_class = &idet_class,