Lines Matching full:swap
83 * @swap: Flag to swap R & B for RGB formats, and U & V for YUV formats
90 bool swap; member
262 .swap = true,
267 .swap = false,
272 .swap = false,
277 .swap = true,
282 .swap = false,
287 .swap = true,
292 .swap = false,
297 .swap = true,
302 .swap = false,
307 .swap = true,
312 .swap = false,
317 .swap = true,
322 .swap = false,
327 .swap = true,
332 .swap = false,
337 .swap = true,
342 .swap = false,
347 .swap = true,
352 .swap = false,
357 .swap = true,
367 .swap = false,
372 .swap = true,
377 .swap = false,
382 .swap = true,
387 .swap = false,
392 .swap = false,
397 .swap = false,
402 .swap = true,
407 .swap = false,
412 .swap = true,
417 .swap = false,
422 .swap = true,
795 unsigned int swap[3] = { 0, 1, 2 }; in zynqmp_disp_blend_layer_set_csc() local
799 if (layer->disp_fmt->swap) { in zynqmp_disp_blend_layer_set_csc()
801 /* Swap U and V. */ in zynqmp_disp_blend_layer_set_csc()
802 swap[1] = 2; in zynqmp_disp_blend_layer_set_csc()
803 swap[2] = 1; in zynqmp_disp_blend_layer_set_csc()
805 /* Swap R and B. */ in zynqmp_disp_blend_layer_set_csc()
806 swap[0] = 2; in zynqmp_disp_blend_layer_set_csc()
807 swap[2] = 0; in zynqmp_disp_blend_layer_set_csc()
817 zynqmp_disp_blend_write(blend, reg + 0, coeffs[i + swap[0]]); in zynqmp_disp_blend_layer_set_csc()
818 zynqmp_disp_blend_write(blend, reg + 4, coeffs[i + swap[1]]); in zynqmp_disp_blend_layer_set_csc()
819 zynqmp_disp_blend_write(blend, reg + 8, coeffs[i + swap[2]]); in zynqmp_disp_blend_layer_set_csc()