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         ret += 
FFABS((*a++ + *c++) - 2 * *b++);
 
   98         ret += 
FFABS((*a++ + *c++) - 2 * *b++);
 
  108     int64_t alpha[2]={0};
 
  110     Type type, best_type;
 
  123         for (y = 2; y < h - 2; y++) {
 
  127             alpha[ y   &1] += idet->
filter_line(cur-refs, prev, cur+refs, w);
 
  128             alpha[(y^1)&1] += idet->
filter_line(cur-refs, next, cur+refs, w);
 
  129             delta          += idet->
filter_line(cur-refs,  cur, cur+refs, w);
 
  151             if(idet->
history[i] == best_type) {
 
  217     } 
while (!idet->
cur);
 
  226     av_log(ctx, 
AV_LOG_INFO, 
"Single frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n",
 
  232     av_log(ctx, 
AV_LOG_INFO, 
"Multi frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n",
 
  277     static const char *shorthand[] = { 
"intl_thres", 
"prog_thres", 
NULL };
 
  280     idet->
class = &idet_class;
 
  325     .priv_class    = &idet_class,