/linux/drivers/media/test-drivers/vicodec/ |
H A D | codec-v4l2-fwht.c | 98 rf->luma = buf; in prepare_raw_frame() 111 rf->luma = NULL; in prepare_raw_frame() 123 rf->cb = rf->luma + size; in prepare_raw_frame() 127 rf->cr = rf->luma + size; in prepare_raw_frame() 131 rf->cb = rf->luma + size; in prepare_raw_frame() 137 rf->cb = rf->luma + size; in prepare_raw_frame() 143 rf->cr = rf->luma + size; in prepare_raw_frame() 147 rf->cb = rf->luma + 1; in prepare_raw_frame() 151 rf->cr = rf->luma + 1; in prepare_raw_frame() 155 rf->cb = rf->luma; in prepare_raw_frame() [all …]
|
H A D | codec-fwht.h | 61 * both luma and chroma components resolutions are rounded up to 96 u8 *luma, *cb, *cr, *alpha; member
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-yuv-planar.rst | 9 Planar formats split luma and chroma data in separate memory regions. They 12 - Semi-planar formats use two planes. The first plane is the luma plane and 21 the chroma planes may be constrained by the line stride of the luma plane. 35 use two planes, and store the luma components in the first plane and the chroma 41 chroma lines is identical to the padding of the luma lines. Without horizontal 42 subsampling, the chroma line stride (in bytes) is thus equal to twice the luma 44 to the luma line stride. Vertical subsampling doesn't affect the line stride. 47 relationship between the luma and chroma line padding and stride. 230 of bytes as luma lines, and the chroma plane contains half the number of lines 231 of the luma plane. [all …]
|
H A D | colorspaces.rst | 107 the so-called luma coefficients. There may be multiple possible Y'CbCr 109 prefer to use luma (Y') and chroma (CbCr) instead of R'G'B'. Since the 112 compared to the luma data. Note that the luma (Y') is unrelated to the Y 117 correct, it is just an encoding of an R'G'B' color into luma and chroma 146 luma coefficients needed to transform R'G'B' to Y'CbCr. While some
|
H A D | ext-ctrls-codec-stateless.rst | 885 - Set if the Y' (luma) plane is uncompressed. 894 - 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. 1213 - Luma AC coefficient table index. 1216 - Luma DC delta value. 1249 - Luma mode update probabilities. 1450 scanning order. It is relevant for both luma and chroma components, 1456 zigzag scanning order. It is relevant for both luma and chroma [all …]
|
H A D | pixfmt-m420.rst | 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
|
H A D | pixfmt-yuv-luma.rst | 3 .. _yuv-luma-only: 6 Luma-Only Formats 9 This family of formats only store the luma component of a Y'CbCr image. They 28 .. flat-table:: Luma-Only Image Formats
|
/linux/drivers/gpu/drm/amd/display/dc/mmhubbub/dcn20/ |
H A D | dcn20_mmhubbub.c | 85 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf() 88 /* right eye sub-buffer address offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf() 94 /* right eye offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf() 97 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf() 100 /* right eye sub-buffer address offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf() 106 /* right eye offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf() 109 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf() 112 /* right eye sub-buffer address offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf() 118 /* right eye offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf() 121 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf() [all …]
|
/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | regs-mfc.h | 99 /* reconstructed luma */ 134 #define S5P_FIMV_ENC_REF_B_LUMA_ADR 0x062c /* ref B Luma addr */ 137 #define S5P_FIMV_ENC_CUR_LUMA_ADR 0x0718 /* current Luma addr */ 166 #define S5P_FIMV_SI_DISPLAY_Y_ADR 0x2010 /* luma addr of displayed pic */ 173 #define S5P_FIMV_SI_DECODE_Y_ADR 0x2024 /* luma addr of decoded pic */ 189 #define S5P_FIMV_CRC_LUMA0 0x2030 /* luma crc data per frame 193 #define S5P_FIMV_CRC_LUMA1 0x2038 /* luma crc data per bottom 273 luma pic */ 279 #define S5P_FIMV_ENC_SI_CH0_CUR_Y_ADR 0x2050 /* current Luma addr */ 285 #define S5P_FIMV_ENC_SI_CH1_CUR_Y_ADR 0x2090 /* current Luma addr */
|
/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_mmhubbub.c | 109 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub3_config_mcif_buf() 117 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub3_config_mcif_buf() 125 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub3_config_mcif_buf() 133 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub3_config_mcif_buf() 141 /* setup luma & chroma size in mmhubbub3_config_mcif_buf() 142 * should be enough to contain a whole frame Luma data, 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 D | dcn32_mmhubbub.c | 109 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub32_config_mcif_buf() 117 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub32_config_mcif_buf() 125 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub32_config_mcif_buf() 133 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub32_config_mcif_buf() 141 /* setup luma & chroma size in mmhubbub32_config_mcif_buf() 142 * should be enough to contain a whole frame Luma data, in mmhubbub32_config_mcif_buf() 208 /* Set arbitration unit for Luma/Chroma */ in mmhubbub32_config_mcif_arb()
|
/linux/include/uapi/linux/ |
H A D | v4l2-controls.h | 1519 * @weight_factors: luma and chroma weight factors. 1828 * @y_ac_qi: luma AC coefficient table index. 1829 * @y_dc_delta: luma DC delta vaue. 1858 * @y_mode_probs: luma intra-prediction probabilities. 2056 * for both luma and chroma components, although it can be superseded 2060 * for both luma and chroma components, although it can be superseded 2117 * in units of luma samples 2119 * in units of luma samples 2121 * samples of the luma array 2133 * luma coding block size [all …]
|
H A D | omap3isp.h | 629 * struct omap3isp_prev_luma - Luma enhancement 630 * @table: Array for luma enhancement table. 641 * @luma: Pointer to luma enhancement structure. 660 struct omap3isp_prev_luma __user *luma; member
|
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | isppreview.h | 64 * @luma: Luma enhancement coefficients. 83 struct omap3isp_prev_luma luma; member
|
/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-reg.h | 50 /* 10 - Luma Filter */ 206 #define BLT_TTY_CHROMA BIT(27) /* Write chroma / luma */ 222 #define BLT_FCTL_Y_HV_SCALE 0x33000000 /* Luma version */ 225 #define BLT_FCTL_Y_HV_SAMPLE 0x22000000 /* Luma version */
|
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn32/ |
H A D | dcn32_dpp.c | 69 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl32_calc_lb_num_partitions() 75 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl32_calc_lb_num_partitions() 202 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl32_spl_calc_lb_num_partitions() 208 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl32_spl_calc_lb_num_partitions()
|
/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta-mjpeg-fw.h | 16 * @display_luma_p: address of the luma buffer 31 * @display_luma_p: address of the luma buffer 33 * @display_decimated_luma_p: address of the decimated luma buffer
|
/linux/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu2_hw_jpeg_enc.c | 12 * luma and chroma quantization tables. The hardware does entropy 16 * In other words, only the luma and chroma quantization tables are 19 * Quantization luma table values are written to registers
|
/linux/drivers/video/fbdev/ |
H A D | sh_mobile_lcdcfb.h | 51 * @pan_y_offset: Panning linear offset in bytes (luma component) 52 * @base_addr_y: Frame buffer viewport base address (luma component)
|
/linux/drivers/media/usb/gspca/ |
H A D | etoms.c | 81 /* base registers for luma calculation */ 624 __u8 luma; in do_autogain() local 645 luma = LIMIT(r + g + b); in do_autogain() 646 gspca_dbg(gspca_dev, D_FRAM, "Etoms luma G %d\n", luma); in do_autogain() 647 if (luma < luma_mean - luma_delta || luma > luma_mean + luma_delta) { in do_autogain() 648 Gbright += (luma_mean - luma) >> spring; in do_autogain()
|
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
H A D | dcn401_dpp.c | 318 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl401_calc_lb_num_partitions() 324 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl401_calc_lb_num_partitions() 393 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl401_spl_calc_lb_num_partitions() 399 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl401_spl_calc_lb_num_partitions()
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-av-core.c | 214 * Default to luma on ch1/ADC1, chroma on ch2/ADC2, SIF on ch3/ADC2 in cx18_av_initialize() 343 * specifies 12 luma clock periods or ~ 0.9 * 13.5 Mpps after in cx18_av_std_setup() 495 /* Sets Luma and UV Low pass filters */ in cx18_av_std_setup() 594 int luma = vid_input & 0xf000; in set_input() local 599 luma < CX18_AV_COMPONENT_LUMA1 || in set_input() 600 luma > CX18_AV_COMPONENT_LUMA8 || in set_input() 609 afe_mux_cfg = (luma - CX18_AV_COMPONENT_LUMA1) >> 12; in set_input() 617 int luma = vid_input & 0xf0; in set_input() local 621 luma < CX18_AV_SVIDEO_LUMA1 || in set_input() 622 luma > CX18_AV_SVIDEO_LUMA8 || in set_input() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_rq_dlg_helpers.c | 33 dml_print("DML_RQ_DLG_CALC: <LUMA>\n"); in print__rq_params_st() 38 dml_print("DML_RQ_DLG_CALC: <LUMA>\n"); in print__rq_params_st() 43 dml_print("DML_RQ_DLG_CALC: <LUMA>\n"); in print__rq_params_st() 129 dml_print("DML_RQ_DLG_CALC: <LUMA>\n"); in print__rq_dlg_params_st() 179 dml_print("DML_RQ_DLG_CALC: <LUMA>\n"); in print__rq_regs_st()
|
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/ |
H A D | dcn401_hubp.c | 225 /* DLG - Per luma/chroma */ in hubp401_program_deadline() 269 /* TTU - per luma/chroma */ in hubp401_program_deadline() 270 /* Assumed surf0 is luma and 1 is chroma */ in hubp401_program_deadline() 545 * 444 or 420 luma in hubp401_program_size() 822 /* DLG - Per luma/chroma */ in hubp401_read_state() 879 /* TTU - per luma/chroma */ in hubp401_read_state() 880 /* Assumed surf0 is luma and 1 is chroma */ in hubp401_read_state()
|
/linux/Documentation/userspace-api/ |
H A D | dma-buf-alloc-exchange.rst | 115 As a more complex example, ``DRM_FORMAT_NV12`` describes a format in which luma 152 ``DRM_FORMAT_NV12`` buffer has a luma plane containing 1920x1080 samples for the Y 164 where the luma plane's storage begins immediately at the start of the buffer 270 the luma and chroma buffers combined into a single memory buffer by use of the 286 ``DRM_FORMAT_NV12`` buffer. This will result in two memory planes (luma and
|