69 #define OFFSET(x) offsetof(DejudderContext, x) 
   70 #define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM 
   73     {
"cycle", 
"set the length of the cycle to use for dejuddering",
 
  126     int64_t next_pts      = frame->
pts;
 
  136         if (next_pts < judbuff[dj->
i2]) {
 
  137             offset = next_pts + judbuff[dj->
i3] - judbuff[dj->
i4] - judbuff[dj->
i1];
 
  138             for (k = 0; k < dj->
cycle + 2; k++)
 
  139                 judbuff[k] += offset;
 
  142                     + (dj->
cycle + 1) * (next_pts - judbuff[dj->
i4]);
 
  145     judbuff[dj->
i2] = next_pts;
 
  153     for (k = 0; k < dj->
cycle + 2; k++)
 
  182     .priv_class  = &dejudder_class,
 
  183     .
inputs      = dejudder_inputs,