/*
- * Copyright (C) 2010-2014 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2015 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
(pix_fmt == PXP_PIX_FMT_YVYU) |
(pix_fmt == PXP_PIX_FMT_VYUY) |
(pix_fmt == PXP_PIX_FMT_Y41P) |
- (pix_fmt == PXP_PIX_FMT_YUV444) |
+ (pix_fmt == PXP_PIX_FMT_VUY444) |
(pix_fmt == PXP_PIX_FMT_NV12) |
(pix_fmt == PXP_PIX_FMT_NV16) |
(pix_fmt == PXP_PIX_FMT_NV61) |
case PXP_PIX_FMT_GY04:
fmt_ctrl = BV_PXP_PS_CTRL_FORMAT__Y4;
break;
- case PXP_PIX_FMT_YUV444:
+ case PXP_PIX_FMT_VUY444:
fmt_ctrl = BV_PXP_PS_CTRL_FORMAT__YUV1P444;
break;
case PXP_PIX_FMT_YUV422P:
if (!is_yuv(s0_params->pixel_fmt) ||
(s0_params->pixel_fmt == PXP_PIX_FMT_GREY) ||
(s0_params->pixel_fmt == PXP_PIX_FMT_GY04) ||
- (s0_params->pixel_fmt == PXP_PIX_FMT_YUV444)) {
+ (s0_params->pixel_fmt == PXP_PIX_FMT_VUY444)) {
if ((proc_data->srect.width > 1) &&
(proc_data->drect.width > 1))
xscale = (proc_data->srect.width - 1) * 0x1000 /
__raw_writel(pitch >> 1,
pxp->base + HW_PXP_PS_PITCH);
else if (s0_params->pixel_fmt == PXP_PIX_FMT_RGB32 ||
- s0_params->pixel_fmt == PXP_PIX_FMT_YUV444)
+ s0_params->pixel_fmt == PXP_PIX_FMT_VUY444)
__raw_writel(pitch << 2,
pxp->base + HW_PXP_PS_PITCH);
else if (s0_params->pixel_fmt == PXP_PIX_FMT_UYVY ||
/*
- * Copyright (C) 2010-2014 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2015 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
else if (v4l2_pix_fmt == V4L2_PIX_FMT_UYVY)
pxp_fmt = PXP_PIX_FMT_UYVY;
else if (v4l2_pix_fmt == V4L2_PIX_FMT_YUV32)
- pxp_fmt = PXP_PIX_FMT_YUV444;
+ pxp_fmt = PXP_PIX_FMT_VUY444;
else if (v4l2_pix_fmt == V4L2_PIX_FMT_YUYV)
pxp_fmt = PXP_PIX_FMT_YUYV;
/*
- * Copyright (C) 2013-2014 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2013-2015 Freescale Semiconductor, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#define PXP_PIX_FMT_VYUY fourcc('V', 'Y', 'U', 'Y') /*!< 16 YVU 4:2:2 */
#define PXP_PIX_FMT_YVYU fourcc('Y', 'V', 'Y', 'U') /*!< 16 YVU 4:2:2 */
#define PXP_PIX_FMT_Y41P fourcc('Y', '4', '1', 'P') /*!< 12 YUV 4:1:1 */
-#define PXP_PIX_FMT_YUV444 fourcc('Y', '4', '4', '4') /*!< 24 YUV 4:4:4 */
+#define PXP_PIX_FMT_VUY444 fourcc('V', 'U', 'Y', 'A') /*!< 32 VUYA 8:8:8 */
/* two planes -- one Y, one Cb + Cr interleaved */
#define PXP_PIX_FMT_NV12 fourcc('N', 'V', '1', '2') /* 12 Y/CbCr 4:2:0 */
#define PXP_PIX_FMT_NV21 fourcc('N', 'V', '2', '1') /* 12 Y/CbCr 4:2:0 */