77 for (plane = 0; plane < 4; plane++) {
98 int h, plane, line_step, line_size,
line;
106 "picture will move %s one line\n",
109 for (plane = 0; plane < 4 && frame->
data[plane]; plane++) {
112 data = frame->
data[plane];
119 for (line = 0; line < h; line++) {
121 memcpy(data, data + line_step, line_size);
123 memcpy(data, data - line_step - line_step, line_size);
133 data += (h - 1) * line_step;
134 for (line = h - 1; line >= 0 ; line--) {
136 memcpy(data, data - line_step, line_size);
138 memcpy(data, data + line_step + line_step, line_size);
149 #define OFFSET(x) offsetof(FieldOrderContext, x)
150 #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
182 .
name =
"fieldorder",
185 .priv_class = &fieldorder_class,
187 .
inputs = avfilter_vf_fieldorder_inputs,
188 .
outputs = avfilter_vf_fieldorder_outputs,