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
89 il->
class = &il_class;
133 int dst_linesize,
int src_linesize,
138 const int m = h >> 1;
143 for (y = 0; y <
m; y++) {
144 memcpy(dst + dst_linesize * y , src + src_linesize * (y * 2 + a), w);
145 memcpy(dst + dst_linesize * (y + m), src + src_linesize * (y * 2 + b), w);
149 for (y = 0; y <
m; y++) {
150 memcpy(dst + dst_linesize * y * 2 , src + src_linesize * (y * 2 + a), w);
151 memcpy(dst + dst_linesize * (y * 2 + 1), src + src_linesize * (y * 2 + b), w);
155 for (y = 0; y <
m; y++) {
156 memcpy(dst + dst_linesize * (y * 2 + a), src + src_linesize * y , w);
157 memcpy(dst + dst_linesize * (y * 2 + b), src + src_linesize * (y + m), w);
229 .priv_class = &il_class,