/linux-4.4.14/include/uapi/drm/ |
H A D | drm_fourcc.h | 103 #define DRM_FORMAT_AYUV fourcc_code('A', 'Y', 'U', 'V') /* [31:0] A:Y:Cb:Cr 8:8:8:8 little endian */ 108 * index 1 = Cr:Cb plane, [15:0] Cr:Cb little endian 110 * index 1 = Cb:Cr plane, [15:0] Cb:Cr little endian 112 #define DRM_FORMAT_NV12 fourcc_code('N', 'V', '1', '2') /* 2x2 subsampled Cr:Cb plane */ 113 #define DRM_FORMAT_NV21 fourcc_code('N', 'V', '2', '1') /* 2x2 subsampled Cb:Cr plane */ 114 #define DRM_FORMAT_NV16 fourcc_code('N', 'V', '1', '6') /* 2x1 subsampled Cr:Cb plane */ 115 #define DRM_FORMAT_NV61 fourcc_code('N', 'V', '6', '1') /* 2x1 subsampled Cb:Cr plane */ 116 #define DRM_FORMAT_NV24 fourcc_code('N', 'V', '2', '4') /* non-subsampled Cr:Cb plane */ 117 #define DRM_FORMAT_NV42 fourcc_code('N', 'V', '4', '2') /* non-subsampled Cb:Cr plane */ 122 * index 1: Cb plane, [7:0] Cb 126 * index 2: Cb plane, [7:0] Cb 128 #define DRM_FORMAT_YUV410 fourcc_code('Y', 'U', 'V', '9') /* 4x4 subsampled Cb (1) and Cr (2) planes */ 129 #define DRM_FORMAT_YVU410 fourcc_code('Y', 'V', 'U', '9') /* 4x4 subsampled Cr (1) and Cb (2) planes */ 130 #define DRM_FORMAT_YUV411 fourcc_code('Y', 'U', '1', '1') /* 4x1 subsampled Cb (1) and Cr (2) planes */ 131 #define DRM_FORMAT_YVU411 fourcc_code('Y', 'V', '1', '1') /* 4x1 subsampled Cr (1) and Cb (2) planes */ 132 #define DRM_FORMAT_YUV420 fourcc_code('Y', 'U', '1', '2') /* 2x2 subsampled Cb (1) and Cr (2) planes */ 133 #define DRM_FORMAT_YVU420 fourcc_code('Y', 'V', '1', '2') /* 2x2 subsampled Cr (1) and Cb (2) planes */ 134 #define DRM_FORMAT_YUV422 fourcc_code('Y', 'U', '1', '6') /* 2x1 subsampled Cb (1) and Cr (2) planes */ 135 #define DRM_FORMAT_YVU422 fourcc_code('Y', 'V', '1', '6') /* 2x1 subsampled Cr (1) and Cb (2) planes */ 136 #define DRM_FORMAT_YUV444 fourcc_code('Y', 'U', '2', '4') /* non-subsampled Cb (1) and Cr (2) planes */ 137 #define DRM_FORMAT_YVU444 fourcc_code('Y', 'V', '2', '4') /* non-subsampled Cr (1) and Cb (2) planes */ 223 * one for the interleaved Cb/Cr components (1/2 the height of the Y buffer).
|
H A D | exynos_drm.h | 254 * @handle: Y, Cb, Cr each planar handle.
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
H A D | camif-regs.h | 73 /* Cb plane output DMA start address. n = 0..3. Only codec path. */ 196 /* MSCOY0SA, MSPRY0SA. Y/Cb/Cr frame start address for input DMA. */ 201 /* MSCOY0END, MSCOY0END. Y/Cb/Cr frame end address for input DMA. */ 206 /* MSPRYOFF, MSPRYOFF. Y/Cb/Cr offset. n: 0 - codec, 1 - preview. */ 232 /* CICOSCOSY, CIPRSCOSY. Scan line Y/Cb/Cr offset. */
|
H A D | camif-core.c | 49 .name = "YUV 4:2:2 planar, Y/Cb/Cr", 58 .name = "YUV 4:2:0 planar, Y/Cb/Cr", 67 .name = "YVU 4:2:0 planar, Y/Cr/Cb",
|
H A D | camif-core.h | 306 * struct camif_addr - Y/Cb/Cr DMA start address structure 308 * @cb: Cb plane dma address
|
H A D | camif-capture.c | 264 /* decompose Y into Y/Cb */ camif_prepare_addr() 270 /* decompose Y into Y/Cb/Cr */ camif_prepare_addr() 1518 /* Set Cb, Cr */ s3c_camif_subdev_s_ctrl()
|
/linux-4.4.14/drivers/gpu/drm/sti/ |
H A D | sti_vid.c | 39 * G = Y-0.4590Cr-0.1826Cb 40 * B = Y+1.8125Cb */
|
H A D | sti_mixer.c | 18 /* Identity: G=Y , B=Cb , R=Cr */
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
H A D | fimc-reg.h | 72 /* Output DMA Y/Cb/Cr plane start addresses */ 197 /* Input DMA Y/Cb/Cr plane start address 0/1 */ 239 /* Output DMA Y/Cb/Cr offset */ 244 /* Input DMA Y/Cb/Cr offset */
|
H A D | fimc-core.h | 137 * Y/Cb/Cr: (0 ~ 255) */ 139 /* Y (16 ~ 235), Cb/Cr (16 ~ 240) */ 210 * @cb: Cb plane physical address 446 * @colorfx_cbcr: Cb/Cr coefficients control
|
H A D | fimc-core.c | 123 .name = "YUV 4:2:2 planar, Y/Cb/Cr", 171 .name = "YUV 4:2:0 non-contig. 3p, Y/Cb/Cr", 374 /* decompose Y into Y/Cb */ fimc_prepare_addr() 380 /* decompose Y into Y/Cb/Cr */ fimc_prepare_addr()
|
/linux-4.4.14/drivers/media/i2c/ |
H A D | adv7183_regs.h | 93 #define ADV7183_SD_OFFSET_CB 0xE1 /* SD offset Cb */ 95 #define ADV7183_SD_SATURATION_CB 0xE3 /* SD saturation Cb */
|
H A D | tvp5150_reg.h | 67 #define TVP5150_CB_GAIN_FACT 0x2c /* Cb gain factor */
|
H A D | vs6624_regs.h | 240 #define VS6624_RYM0_YINCB_MSB 0x21AB /* Y in Cb MSB */ 241 #define VS6624_RYM0_YINCB_LSB 0x21AC /* Y in Cb LSB */ 266 #define VS6624_RYM1_YINCB_MSB 0x222B /* Y in Cb MSB */ 267 #define VS6624_RYM1_YINCB_LSB 0x222C /* Y in Cb LSB */
|
H A D | adv7183.c | 189 v4l2_info(sd, "adv7183: SD offset Cb and Cr = 0x%02x 0x%02x\n", adv7183_log_status() 192 v4l2_info(sd, "adv7183: SD saturation Cb and Cr = 0x%02x 0x%02x\n", adv7183_log_status()
|
H A D | tvp5150.c | 159 printk("tvp5150: Chroma gain factor: Cb=0x%02x Cr=0x%02x\n", tvp5150_log_status()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
H A D | regs-fimc.h | 35 /* Cb 1st frame start address for output DMA */ 37 /* Cb 2nd frame start address for output DMA */ 39 /* Cb 3rd frame start address for output DMA */ 41 /* Cb 4th frame start address for output DMA */ 75 /* Cb frame start address for input DMA */ 81 /* Input DMA Cb Line Skip */ 91 /* Cb frame start address for input DMA */
|
H A D | exynos_drm_ipp.h | 86 * @handles: Y, Cb, Cr each gem object handle. 87 * @base: Y, Cb, Cr each planar address.
|
H A D | exynos_drm_fimc.c | 669 /* offset Y(RGB), Cb, Cr */ fimc_src_set_size() 1098 /* offset Y(RGB), Cb, Cr */ fimc_dst_set_size()
|
/linux-4.4.14/drivers/media/platform/s5p-jpeg/ |
H A D | jpeg-regs.h | 487 * Base address of the chroma(Cb) component DMA buffer 492 /* Stride of source or destination chroma(Cb) raw image buffer */ 495 /* Horizontal/vertical offset of active region in chroma(Cb) raw image buffer */ 511 /* Horizontal/vertical offset of active region in chroma(Cb) raw image buffer */
|
H A D | jpeg-core.h | 257 * @cb: Cb plane physical address
|
H A D | jpeg-core.c | 335 .name = "YUV 4:2:0 contiguous 3-planar, Y/Cb/Cr", 348 .name = "YUV 4:2:0 contiguous 3-planar, Y/Cb/Cr", 758 * id: 0 - Y, 1 - Cb/Cr __exynos4_huff_tbl() 2068 /* use table 1 for Cb and Cr*/ s5p_jpeg_device_run() 2072 /* Y, Cb, Cr use Huffman table 0 */ s5p_jpeg_device_run() 2331 /* use table 1 for Cb and Cr*/ exynos3250_jpeg_device_run() 2345 /* Y, Cb, Cr use Huffman table 0 */ exynos3250_jpeg_device_run()
|
/linux-4.4.14/drivers/media/platform/sti/bdisp/ |
H A D | bdisp.h | 40 * @nb_planes: number of planes (ex: [0]=RGB/Y - [1]=Cb/Cr, ...) 66 * @paddr: image physical addresses per plane ([0]=RGB/Y - [1]=Cb/Cr, ...)
|
H A D | bdisp-hw.c | 516 * Src2 = Cb or ColorFill if writing the Y plane bdisp_hw_build_node() 578 /* Src 2 : Cb or CbCr */ bdisp_hw_build_node() 723 /* Build additional Cb(Cr) node, link it to the previous one */ bdisp_hw_build_all_nodes()
|
H A D | bdisp-reg.h | 201 #define BLT_TTY_CR_NOT_CB BIT(22) /* CR not Cb */
|
H A D | bdisp-v4l2.c | 91 /* YU12. YUV420P - 1 plane for Y + 1 plane for Cb + 1 plane for Cr
|
/linux-4.4.14/drivers/media/platform/exynos-gsc/ |
H A D | gsc-core.c | 98 .name = "YUV 4:2:2 planar, Y/Cb/Cr", 171 .name = "YUV 4:2:0 non-contig. 3p, Y/Cb/Cr", 180 .name = "YUV 4:2:0 non-contig. 3p, Y/Cr/Cb", 824 /* decompose Y into Y/Cb */ gsc_prepare_addr() 829 /* decompose Y into Y/Cb/Cr */ gsc_prepare_addr()
|
H A D | gsc-core.h | 147 * @cb: Cb plane address
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
H A D | ipu-ic.c | 210 * G = (1.164 * (Y - 16)) - (0.392 * (Cb - 128)) - (0.813 * (Cr - 128)); 211 * B = (1.164 * (Y - 16)) + (2.017 * (Cb - 128);
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_smp.c | 124 * For ViG pipes, fetch Y/Cr/Cb-components clients are always pipe2client() 131 * Cb plane's client ID is N + 2 pipe2client()
|
/linux-4.4.14/drivers/media/pci/ttpci/ |
H A D | av7110_hw.c | 951 u16 Y, Cr, Cb; RGB2YUV() local 955 v = 2048 + R * 8 -(y >> 5); /* Cb 0..4095 */ RGB2YUV() 958 Cb = u / 16; RGB2YUV() 961 return Cr | (Cb << 16) | (Y << 8); RGB2YUV()
|
/linux-4.4.14/drivers/media/pci/ngene/ |
H A D | ngene.h | 79 SFLAG_ORDER_LUMA_CHROMA = 0x02, /* Byte order: Y,Cb,Y,Cr */ 80 SFLAG_ORDER_CHROMA_LUMA = 0x00, /* Byte order: Cb,Y,Cr,Y */
|
/linux-4.4.14/include/drm/ |
H A D | drm_dp_helper.h | 613 u8 DB6; /* CRC value bits 7:0 of the B or Cb component */ 614 u8 DB7; /* CRC value bits 15:8 of the B or Cb component */
|
/linux-4.4.14/include/media/davinci/ |
H A D | vpbe_osd.h | 380 /* columns are Y, Cb, Cr */
|
/linux-4.4.14/drivers/media/common/saa7146/ |
H A D | saa7146_video.c | 59 .name = "YUV 4:2:2 planar (Y-Cb-Cr)", 65 .name = "YVU 4:2:0 planar (Y-Cb-Cr)", 71 .name = "YUV 4:2:0 planar (Y-Cb-Cr)",
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 410 /* Even to store Cb first, odd for Cr. */ bttv_calc_geo() 762 /* Y-Cr-Cb plane order */ bttv_buffer_risc() 767 /* Y-Cb-Cr plane order */ bttv_buffer_risc()
|
H A D | bttvp.h | 77 /* Even to get Cb first, odd for Cr. */
|
H A D | bttv-driver.c | 589 .name = "4:2:2, planar, Y-Cb-Cr", 597 .name = "4:2:0, planar, Y-Cb-Cr", 605 .name = "4:2:0, planar, Y-Cr-Cb", 613 .name = "4:1:1, planar, Y-Cb-Cr", 621 .name = "4:1:0, planar, Y-Cb-Cr", 629 .name = "4:1:0, planar, Y-Cr-Cb",
|
/linux-4.4.14/drivers/media/platform/davinci/ |
H A D | vpbe_osd.c | 951 * Cb/Cr order. _osd_set_cbcr_order() 1251 /* update the current Cb/Cr order */ osd_set_layer_config() 1510 /* set default Cb/Cr order */ osd_initialize()
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
H A D | saa7134-video.c | 169 .name = "4:2:2 planar, Y-Cb-Cr", 178 .name = "4:2:0 planar, Y-Cb-Cr", 187 .name = "4:2:0 planar, Y-Cb-Cr",
|
/linux-4.4.14/include/uapi/linux/ |
H A D | videodev2.h | 530 /* two planes -- one Y, one Cr + Cb interleaved */ 538 /* two non contiguous planes - one Y, one Cr + Cb interleaved */ 546 /* three non contiguous planes - Y, Cb, Cr */
|
/linux-4.4.14/drivers/md/ |
H A D | dm-log-writes.c | 37 * Wa,Wb,Wc,Cc,Ca,FLUSH,FUAd,Cb,CFLUSH,CFUAd
|
/linux-4.4.14/drivers/media/usb/gspca/ |
H A D | stk1135.c | 225 { 0x21f, 0x0180 }, /* Cb and Cr limits */ stk1135_configure_mt9m112()
|
/linux-4.4.14/drivers/of/ |
H A D | unittest.c | 699 { .data = "Cb", .name = "name2", }, /* Only match when type doesn't match */ 718 { .path = "/testcase-data/match-node/b/name2", .data = "Cb", },
|
/linux-4.4.14/drivers/staging/media/davinci_vpfe/ |
H A D | davinci_vpfe_user.h | 980 /* Output offset for Cb S11 */
|
/linux-4.4.14/drivers/media/usb/pwc/ |
H A D | pwc-v4l.c | 897 strlcpy(f->description, "4:2:0, planar, Y-Cb-Cr", sizeof(f->description)); pwc_enum_fmt_vid_cap()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | intel_sprite.c | 321 * Cb and Cr apparently come in as signed already, so no chv_update_csc()
|
/linux-4.4.14/drivers/media/pci/zoran/ |
H A D | zoran_device.c | 370 * suddenly is shown as Cb and reverse, really cool effect if you zr36057_set_vfe()
|
/linux-4.4.14/drivers/media/platform/ |
H A D | rcar_jpu.c | 336 * Number of image components, (Ci:8 - Hi:4 - Vi:4 - Tq:8) * 3 - Y,Cb,Cr;
|
/linux-4.4.14/drivers/media/platform/coda/ |
H A D | coda-bit.c | 391 /* Start addresses of Y, Cb, Cr planes */ coda_alloc_framebuffers()
|
H A D | coda-common.c | 100 /* Switch Cb and Cr for YVU420 format */ coda_write_base()
|
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/ |
H A D | hal.h | 4112 /* Cb State */ 4144 /* Cb State */
|
/linux-4.4.14/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls.c | 263 "Set Cb/Cr", v4l2_ctrl_get_menu()
|