80 int i, j, plane, step;
93 for (plane = 0; plane < 4 && in->
data[plane]; plane++) {
98 outrow = out->
data[plane];
99 inrow = in ->
data[plane] + (width - 1) * step;
100 for (i = 0; i <
height; i++) {
103 for (j = 0; j <
width; j++)
104 outrow[j] = inrow[-j];
109 uint16_t *outrow16 = (uint16_t *)outrow;
110 uint16_t * inrow16 = (uint16_t *) inrow;
111 for (j = 0; j <
width; j++)
112 outrow16[j] = inrow16[-j];
120 for (j = 0; j <
width; j++, out += 3, in -= 3) {
129 uint32_t *outrow32 = (uint32_t *)outrow;
130 uint32_t * inrow32 = (uint32_t *) inrow;
131 for (j = 0; j <
width; j++)
132 outrow32[j] = inrow32[-j];
137 for (j = 0; j <
width; j++)
138 memcpy(outrow + j*step, inrow - j*step, step);
174 .
inputs = avfilter_vf_hflip_inputs,
175 .
outputs = avfilter_vf_hflip_outputs,