> > +static inline void interlaced_vertical_filter(int16_t *output, int16_t > *low, int16_t *high, > + int width, int linesize, int plane) > +{ > + int i; > + int16_t even, odd; > + for (i = 0; i < width; i++) { > + even = (*low - *high)/2; > + odd = (*low + *high)/2; > + > + even = FFMIN(1023, even); > + even = FFMAX(0, even); > + odd = FFMIN(1023, odd); > + odd = FFMAX(0, odd); > + > + output[i] = even; > + output[i + linesize] = odd; > + low++; > + high++; > + } > +} >
low[i] and high[i] instead of doing this pointer addition stuff. Kieran _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel