> + for(p=0; p<3; p++) { > + int h = f->height; > + int w = f->width; > + if (p) { > + w >>= h_chroma_shift; > + h >>= v_chroma_shift; > + } > + for(y=field; y<h && (y^1)<h; y+=2) { > + memcpy(&f->data[p][ (y^1)*f->linesize[p] ], > + &f->data[p][ y*f->linesize[p] ], w); > + }
Can this not be written with a standard function? _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel