58 #define OFFSET(x) offsetof(IDETContext, x)
59 #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
72 case TFF :
return "Top Field First ";
73 case BFF :
return "Bottom Field First";
86 int v = (*a++ + *c++) - 2 * *b++;
99 int v = (*a++ + *c++) - 2 * *b++;
110 int64_t
alpha[2]={0};
125 for (y = 2; y < h - 2; y++) {
129 alpha[ y &1] += idet->
filter_line(cur-refs, prev, cur+refs, w);
130 alpha[(y^1)&1] += idet->
filter_line(cur-refs, next, cur+refs, w);
131 delta += idet->
filter_line(cur-refs, cur, cur+refs, w);
153 if(idet->
history[i] == best_type) {
213 av_log(ctx,
AV_LOG_INFO,
"Single frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n",
219 av_log(ctx,
AV_LOG_INFO,
"Multi frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n",
307 .priv_class = &idet_class,