Lines Matching full:swap
83 * @swap: Flag to swap R & B for RGB formats, and U & V for YUV formats
90 bool swap; member
205 .swap = true,
210 .swap = false,
215 .swap = false,
220 .swap = true,
225 .swap = false,
230 .swap = true,
235 .swap = false,
240 .swap = true,
245 .swap = false,
250 .swap = true,
255 .swap = false,
260 .swap = true,
265 .swap = false,
270 .swap = true,
275 .swap = false,
280 .swap = true,
285 .swap = false,
290 .swap = true,
295 .swap = false,
300 .swap = true,
310 .swap = false,
315 .swap = true,
320 .swap = false,
325 .swap = true,
330 .swap = false,
335 .swap = false,
340 .swap = false,
345 .swap = true,
350 .swap = false,
355 .swap = true,
360 .swap = false,
365 .swap = true,
784 unsigned int swap[3] = { 0, 1, 2 }; in zynqmp_disp_blend_layer_set_csc() local
788 if (layer->disp_fmt->swap) { in zynqmp_disp_blend_layer_set_csc()
790 /* Swap U and V. */ in zynqmp_disp_blend_layer_set_csc()
791 swap[1] = 2; in zynqmp_disp_blend_layer_set_csc()
792 swap[2] = 1; in zynqmp_disp_blend_layer_set_csc()
794 /* Swap R and B. */ in zynqmp_disp_blend_layer_set_csc()
795 swap[0] = 2; in zynqmp_disp_blend_layer_set_csc()
796 swap[2] = 0; in zynqmp_disp_blend_layer_set_csc()
806 zynqmp_disp_blend_write(disp, reg + 0, coeffs[i + swap[0]]); in zynqmp_disp_blend_layer_set_csc()
807 zynqmp_disp_blend_write(disp, reg + 4, coeffs[i + swap[1]]); in zynqmp_disp_blend_layer_set_csc()
808 zynqmp_disp_blend_write(disp, reg + 8, coeffs[i + swap[2]]); in zynqmp_disp_blend_layer_set_csc()