44 int linesize[4], chroma_height;
48 #define OFFSET(x) offsetof(IlContext, x)
49 #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
117 int dst_linesize,
int src_linesize,
122 const int m = h >> 1;
127 for (y = 0; y <
m; y++) {
128 memcpy(dst + dst_linesize * y , src + src_linesize * (y * 2 + a), w);
129 memcpy(dst + dst_linesize * (y + m), src + src_linesize * (y * 2 + b), w);
133 for (y = 0; y <
m; y++) {
134 memcpy(dst + dst_linesize * y * 2 , src + src_linesize * (y * 2 + a), w);
135 memcpy(dst + dst_linesize * (y * 2 + 1), src + src_linesize * (y * 2 + b), w);
139 for (y = 0; y <
m; y++) {
140 memcpy(dst + dst_linesize * (y * 2 + a), src + src_linesize * y , w);
141 memcpy(dst + dst_linesize * (y * 2 + b), src + src_linesize * (y + m), w);
210 .priv_class = &il_class,