Home
last modified time | relevance | path

Searched full:chroma (Results 1 – 25 of 119) sorted by relevance

12345

/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-m420.rst9 Format with ½ horizontal and vertical chroma resolution, also known as
16 M420 is a YUV format with ½ horizontal and vertical chroma subsampling
17 (YUV 4:2:0). Pixels are organized as interleaved luma and chroma planes.
18 Two lines of luma data are followed by one line of chroma data.
20 The luma plane has one byte per pixel. The chroma plane contains
70 Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
H A Dvidioc-g-fbuf.rst140 formats (only packed YUV formats when chroma keying is used, not
213 - The device supports clipping by chroma-keying the images. That is,
215 the latter assume a certain color. Chroma-keying makes no sense
241 - The device supports Source Chroma-keying. Video pixels with the
242 chroma-key colors are replaced by framebuffer pixels, which is
279 - Use chroma-keying. The chroma-key color is determined by the
311 - Use source chroma-keying. The source chroma-key color is
315 and :ref:`osd`. Both chroma-keying are mutual exclusive to each
H A Dpixfmt-packed-yuv.rst10 Cr components consecutively in memory. They may apply subsampling to the chroma
16 - 'Y', 'Cb' and 'Cr' denote bits of the luma, blue chroma (also known as
17 'U') and red chroma (also known as 'V') components respectively. 'A'
25 These formats do not subsample the chroma components and store each pixels as a
292 These formats, commonly referred to as YUYV or YUY2, subsample the chroma
418 Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
425 This format subsamples the chroma components horizontally by 4, storing 8
481 Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
H A Ddev-overlay.rst93 1. Chroma-keying displays the overlaid image only where pixels in the
181 When chroma-keying has been negotiated with
183 to the desired pixel value for the chroma key. The format is the
192 When chroma-keying has *not* been negotiated and
217 When chroma-keying has *not* been negotiated and
239 both, or despite negotiating chroma-keying, the results are undefined.
H A Dext-ctrls-codec-stateless.rst894 - Set if the chroma plane has the same height as the luma plane,
895 else the chroma plane is half the height of the luma plane.
898 - Set if the chroma plane has the same width as the luma plane,
899 else the chroma plane is half the width of the luma plane.
1225 - Chroma DC delta value.
1228 - Chroma AC delta value.
1252 - Chroma mode update probabilities.
1450 scanning order. It is relevant for both luma and chroma components,
1451 although it can be superseded by the chroma-specific matrix for
1456 zigzag scanning order. It is relevant for both luma and chroma
[all …]
H A Dext-ctrls-jpeg.rst26 The chroma subsampling factors describe how each component of an
40 - No chroma subsampling, each pixel has Y, Cr and Cb values.
/linux/drivers/gpu/drm/msm/disp/
H A Dmdp_format.c110 alpha, chroma, count, bp, flg, fm, np) \ argument
120 .chroma_sample = chroma, \
129 #define PSEUDO_YUV_FMT(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np) \ argument
139 .chroma_sample = chroma, \
148 #define PSEUDO_YUV_FMT_TILED(fmt, a, r, g, b, e0, e1, chroma, \ argument
159 .chroma_sample = chroma, \
168 #define PSEUDO_YUV_FMT_LOOSE(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np)\ argument
178 .chroma_sample = chroma, \
187 #define PSEUDO_YUV_FMT_LOOSE_TILED(fmt, a, r, g, b, e0, e1, chroma, \ argument
198 .chroma_sample = chroma, \
[all …]
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Dregs-mfc.h102 /* reconstructed chroma */
135 #define S5P_FIMV_ENC_REF_B_CHROMA_ADR 0x0630 /* ref B Chroma addr */
138 #define S5P_FIMV_ENC_CUR_CHROMA_ADR 0x071C /* current Chroma addr */
167 #define S5P_FIMV_SI_DISPLAY_C_ADR 0x2014 /* chroma addrof displayed pic */
174 #define S5P_FIMV_SI_DECODE_C_ADR 0x2028 /* chroma addrof decoded pic */
191 #define S5P_FIMV_CRC_CHROMA0 0x2034 /* chroma crc data per frame
195 #define S5P_FIMV_CRC_CHROMA1 0x203c /* chroma crc data per bottom
275 chroma pic */
280 #define S5P_FIMV_ENC_SI_CH0_CUR_C_ADR 0x2054 /* current Chroma addr */
286 #define S5P_FIMV_ENC_SI_CH1_CUR_C_ADR 0x2094 /* current Chroma addr */
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_mmhubbub.c113 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub3_config_mcif_buf()
121 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub3_config_mcif_buf()
129 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub3_config_mcif_buf()
137 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub3_config_mcif_buf()
141 /* setup luma & chroma size in mmhubbub3_config_mcif_buf()
208 /* Set arbitration unit for Luma/Chroma */ in mmhubbub3_config_mcif_arb()
/linux/drivers/gpu/drm/amd/display/dc/mmhubbub/dcn32/
H A Ddcn32_mmhubbub.c113 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub32_config_mcif_buf()
121 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub32_config_mcif_buf()
129 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub32_config_mcif_buf()
137 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub32_config_mcif_buf()
141 /* setup luma & chroma size in mmhubbub32_config_mcif_buf()
208 /* Set arbitration unit for Luma/Chroma */ in mmhubbub32_config_mcif_arb()
/linux/drivers/media/i2c/
H A Dks0127.c219 table[KS_CDEM] = 0x00; /* Chroma Demodulation Control */ in init_reg_defaults()
224 table[KS_CHROMA] = 0x2a; /* Chroma control A */ in init_reg_defaults()
225 table[KS_CHROMB] = 0x90; /* Chroma control B */ in init_reg_defaults()
226 table[KS_DEMOD] = 0x00; /* Chroma Demodulation Control & Status */ in init_reg_defaults()
256 table[KS_CTRACK] = 0x00; /* Chroma Tracking Control */ in init_reg_defaults()
417 /* enable chroma demodulation */ in ks0127_s_routing()
419 /* chroma trap, HYBWR=1 */ in ks0127_s_routing()
424 /* manual chroma comb .25 .5 .25 */ in ks0127_s_routing()
427 /* chroma path delay */ in ks0127_s_routing()
451 /* enable chroma demodulation */ in ks0127_s_routing()
[all …]
H A Dbt819.c154 0x0d, 0xfe, /* 0x0d Chroma Gain (U) lsb */ in bt819_init()
155 0x0e, 0xb4, /* 0x0e Chroma Gain (V) msb */ in bt819_init()
159 chroma comb OFF, line drop scaling, interlace scaling in bt819_init()
160 BUG? Why does turning the chroma comb on screw up color? in bt819_init()
189 init[0x15 * 2 - 1] = (decoder->norm & V4L2_STD_625_50) ? 115 : 93; /* Chroma burst delay */ in bt819_init()
H A Dadv7183_regs.h36 #define ADV7183_CHRO_GAIN_CTRL_1 0x2D /* Chroma gain control 1 */
37 #define ADV7183_CHRO_GAIN_CTRL_2 0x2E /* Chroma gain control 2 */
/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-reg.h45 /* 9 - Chroma Filter */
206 #define BLT_TTY_CHROMA BIT(27) /* Write chroma / luma */
210 #define BLT_S1TY_CHROMA_EXT BIT(26) /* Chroma Extended */
215 #define BLT_S2TY_CHROMA_EXT BIT(26) /* Chroma Extended */
H A Dbdisp-hw.c37 bool src_420; /* is the src 4:2:0 chroma subsampled */
40 bool dst_420; /* is the dst 4:2:0 chroma subsampled */
838 /* 420 chroma downsampling */ in bdisp_hw_build_node()
875 /* 420 chroma upsampling */ in bdisp_hw_build_node()
912 /* No chroma upsampling for output RGB / Y plane */ in bdisp_hw_build_node()
916 /* No need to read Y (Src3) when writing Chroma */ in bdisp_hw_build_node()
923 /* Resize (scale OR 4:2:0: chroma up/downsampling) */ in bdisp_hw_build_node()
939 /* RSF - Chroma may need to be up/downsampled */ in bdisp_hw_build_node()
943 /* RGB to 4:2:0 for Chroma: downsample */ in bdisp_hw_build_node()
/linux/drivers/video/fbdev/core/
H A Dfbmon.c333 DPRINTK(" Chroma\n"); in get_chroma()
338 specs->chroma.redx = tmp/1024; in get_chroma()
339 DPRINTK(" RedX: 0.%03d ", specs->chroma.redx); in get_chroma()
344 specs->chroma.redy = tmp/1024; in get_chroma()
345 DPRINTK("RedY: 0.%03d\n", specs->chroma.redy); in get_chroma()
350 specs->chroma.greenx = tmp/1024; in get_chroma()
351 DPRINTK(" GreenX: 0.%03d ", specs->chroma.greenx); in get_chroma()
356 specs->chroma.greeny = tmp/1024; in get_chroma()
357 DPRINTK("GreenY: 0.%03d\n", specs->chroma.greeny); in get_chroma()
362 specs->chroma.bluex = tmp/1024; in get_chroma()
[all …]
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-mjpeg-fw.h17 * @display_chroma_p: address of the chroma buffer
32 * @display_chroma_p: address of the chroma buffer
34 * @display_decimated_chroma_p: address of the decimated chroma buffer
/linux/drivers/media/pci/bt8xx/
H A Dbttv-risc.c122 unsigned int instructions,line,todo,ylen,chroma; in bttv_risc_planar() local
155 chroma = 1; in bttv_risc_planar()
159 chroma = ((line & 1) == 0); in bttv_risc_planar()
161 chroma = ((line & 1) == 1); in bttv_risc_planar()
165 chroma = ((line & 3) == 0); in bttv_risc_planar()
167 chroma = ((line & 3) == 2); in bttv_risc_planar()
170 chroma = 0; in bttv_risc_planar()
185 if (chroma) { in bttv_risc_planar()
214 if (chroma) { in bttv_risc_planar()
222 if (chroma) { in bttv_risc_planar()
[all …]
/linux/drivers/media/platform/verisilicon/
H A Drockchip_vpu2_hw_jpeg_enc.c12 * luma and chroma quantization tables. The hardware does entropy
16 * In other words, only the luma and chroma quantization tables are
20 * VEPU_swreg_0-VEPU_swreg_15, and chroma table values to
/linux/Documentation/userspace-api/
H A Ddma-buf-alloc-exchange.rst116 and chroma YUV samples are stored in separate planes, where the chroma plane is
117 stored at half the resolution in both dimensions (i.e. one U/V chroma
165 with an offset of 0, and the chroma plane's storage follows within the same buffer
270 the luma and chroma buffers combined into a single memory buffer by use of the
287 chroma) being dequeued by the user from V4L2. These planes are then exported to
/linux/drivers/gpu/drm/meson/
H A Dmeson_dw_mipi_dsi.h68 * [15:14] RW chroma_subsample: Define method of chroma subsampling. Default 0.
70 * 0=Use even pixel's chroma;
71 * 1=Use odd pixel's chroma;
/linux/Documentation/devicetree/bindings/media/i2c/
H A Dtechwell,tw9900.yaml53 description: Chroma over CIN0 and Y over MUX0
57 description: Chroma over CIN0 and Y over MUX1
/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-regs.h484 * Base address of the chroma(Cb) component DMA buffer
489 /* Stride of source or destination chroma(Cb) raw image buffer */
492 /* Horizontal/vertical offset of active region in chroma(Cb) raw image buffer */
500 * Base address of the chroma(Cr) component DMA buffer
505 /* Stride of source or destination chroma(Cr) raw image buffer */
508 /* Horizontal/vertical offset of active region in chroma(Cb) raw image buffer */
/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-regs.h331 /* Channel Chroma (U/Cb/UV/CbCr) Output Buffer 1 Address */
334 /* Channel Chroma (V/Cr) Output Buffer 1 Address */
377 /* Channel Chroma (U/Cb/UV/CbCr) Output Buffer 2 Address */
380 /* Channel Chroma (V/Cr) Output Buffer 2 Address */
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c106 /* DLG - Per luma/chroma */ in hubp2_program_deadline()
150 /* TTU - per luma/chroma */ in hubp2_program_deadline()
151 /* Assumed surf0 is luma and 1 is chroma */ in hubp2_program_deadline()
347 /* Chroma pitch zero can cause system hang! */ in hubp2_program_size()
753 * x = 1, 3, 5, 7 for pipe 0, 1, 2, 3 for chroma in hubp2_program_surface_flip_and_addr()
1185 /* DLG - Per luma/chroma */ in hubp2_read_state_common()
1250 /* TTU - per luma/chroma */ in hubp2_read_state_common()
1251 /* Assumed surf0 is luma and 1 is chroma */ in hubp2_read_state_common()
1501 /* DLG - Per luma/chroma */ in hubp2_validate_dml_output()
1598 /* TTU - per luma/chroma */ in hubp2_validate_dml_output()
[all …]

12345