summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorFancy Fang <chen.fang@nxp.com>2017-03-02 15:51:39 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:26:24 +0800
commite96b0c50fec4a763ab144c1c9f16f363d1714bb8 (patch)
tree773211743e9c3fa26c4d2dd041141b9a7e47c96d /include/uapi
parent55a0d7116634f09058cef6058a942dcd8cbb00ae (diff)
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 <chen.fang@nxp.com> (cherry picked from commit 28ce43b27faad915e93f47b438d23f4ebfe020b5)
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/pxp_dma.h3
1 files changed, 3 insertions, 0 deletions
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.
*/