From e96b0c50fec4a763ab144c1c9f16f363d1714bb8 Mon Sep 17 00:00:00 2001 From: Fancy Fang Date: Thu, 2 Mar 2017 15:51:39 +0800 Subject: MLK-14314-3 pxp-v3: add 'need_yuv_swap' field Add 'need_yuv_swap' field to 'pxp_proc_data' structure to record the yuv formats which needs byte swap. Signed-off-by: Fancy Fang (cherry picked from commit 28ce43b27faad915e93f47b438d23f4ebfe020b5) --- include/uapi/linux/pxp_dma.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/uapi') diff --git a/include/uapi/linux/pxp_dma.h b/include/uapi/linux/pxp_dma.h index 308bdd284620..2cfa8e412fc7 100644 --- a/include/uapi/linux/pxp_dma.h +++ b/include/uapi/linux/pxp_dma.h @@ -205,6 +205,9 @@ struct pxp_proc_data { int rot_pos; int yuv; + /* to support YUYV and YVYU formats */ + bool need_yuv_swap; + /* Source rectangle (srect) defines the sub-rectangle * within S0 to undergo processing. */ -- cgit v1.2.3