Home
last modified time | relevance | path

Searched refs:luma (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.1.9/drivers/media/test-drivers/vicodec/
Dcodec-v4l2-fwht.c98 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 …]
Dcodec-fwht.h96 u8 *luma, *cb, *cr, *alpha; member
Dcodec-fwht.c790 encoding = encode_plane(frm->luma, ref_frm->luma, &rlco, rlco_max, cf, in fwht_encode_frame()
921 if (!decode_plane(cf, &rlco, height, width, ref->luma, ref_stride, in fwht_decode_frame()
922 ref->luma_alpha_step, dst->luma, dst_stride, in fwht_decode_frame()
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dpixfmt-yuv-planar.rst9 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.
195 of bytes as luma lines, and the chroma plane contains half the number of lines
196 of the luma plane.
[all …]
Dpixfmt-m420.rst17 (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
Dpixfmt-yuv-luma.rst3 .. _yuv-luma-only:
9 This family of formats only store the luma component of a Y'CbCr image. They
Dcolorspaces.rst107 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
Dext-ctrls-codec-stateless.rst885 - 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.
1450 scanning order. It is relevant for both luma and chroma components,
1456 zigzag scanning order. It is relevant for both luma and chroma
2088 - Specifies the width of each decoded picture in units of luma samples.
2091 - Specifies the height of each decoded picture in units of luma samples.
2094 - This value plus 8 specifies the bit depth of the samples of the luma array.
[all …]
Dyuv-formats.rst24 components than for the luma component. This compression technique, taking
269 pixfmt-yuv-luma
/linux-6.1.9/drivers/media/usb/gspca/
Detoms.c624 __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()
Dnw80x.c1938 int luma; in do_autogain() local
1948 luma = (gspca_dev->usb_buf[3] << 24) + (gspca_dev->usb_buf[2] << 16) in do_autogain()
1950 luma /= sd->ae_res; in do_autogain()
1954 gspca_coarse_grained_expo_autogain(gspca_dev, luma, 100, 5); in do_autogain()
1957 gspca_expo_autogain(gspca_dev, luma, 100, 5, 230, 0); in do_autogain()
/linux-6.1.9/drivers/media/pci/cx18/
Dcx18-av-core.c594 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()
629 afe_mux_cfg = 0xf0 + ((luma - CX18_AV_SVIDEO_LUMA1) >> 4); in set_input()
/linux-6.1.9/drivers/staging/media/atomisp/i2c/
Datomisp-mt9m114.c1158 s32 luma = 0x37; in mt9m114_s_ev() local
1167 luma += 0x10 * val; in mt9m114_s_ev()
1168 dev_dbg(&c->dev, "%s val:%d luma:0x%x\n", __func__, val, luma); in mt9m114_s_ev()
1174 err = mt9m114_write_reg(c, MISENSOR_8BIT, 0xC87A, (u32)luma); in mt9m114_s_ev()
1189 u32 luma; in mt9m114_g_ev() local
1196 err = mt9m114_read_reg(c, MISENSOR_8BIT, 0xC87A, &luma); in mt9m114_g_ev()
1202 luma -= 0x17; in mt9m114_g_ev()
1203 luma /= 0x10; in mt9m114_g_ev()
1204 *val = (s32)luma - 2; in mt9m114_g_ev()
/linux-6.1.9/drivers/media/platform/ti/omap3isp/
Dispresizer.c264 struct resizer_luma_yenh *luma) in resizer_set_luma() argument
269 rgval = (luma->algo << ISPRSZ_YENH_ALGO_SHIFT) in resizer_set_luma()
271 rgval |= (luma->gain << ISPRSZ_YENH_GAIN_SHIFT) in resizer_set_luma()
273 rgval |= (luma->slope << ISPRSZ_YENH_SLOP_SHIFT) in resizer_set_luma()
275 rgval |= (luma->core << ISPRSZ_YENH_CORE_SHIFT) in resizer_set_luma()
962 struct resizer_luma_yenh luma = {0, 0, 0, 0}; in resizer_configure() local
979 resizer_set_luma(res, &luma); in resizer_configure()
Disppreview.h83 struct omap3isp_prev_luma luma; member
Disppreview.c153 const struct omap3isp_prev_luma *yt = &params->luma; in preview_config_luma_enhancement()
755 offsetof(struct prev_params, luma),
756 sizeof_field(struct prev_params, luma),
757 offsetof(struct omap3isp_prev_update_config, luma),
1323 memcpy(params->luma.table, luma_enhance_table, in preview_init_params()
1324 sizeof(params->luma.table)); in preview_init_params()
/linux-6.1.9/drivers/media/platform/amphion/
Dvpu.h189 u32 luma; member
301 dma_addr_t luma; member
Dvpu_defs.h152 u32 luma; member
Dvpu_msgs.c141 frame.luma = info.luma; in vpu_session_handle_pic_done()
Dvdec.c665 static struct vpu_vb2_buffer *vdec_find_buffer(struct vpu_inst *inst, u32 luma) in vdec_find_buffer() argument
673 if (luma == vdec->slots[i]->luma) in vdec_find_buffer()
692 vpu_buf = vdec_find_buffer(inst, frame->luma); in vdec_buf_done()
696 inst->id, frame->id, frame->luma); in vdec_buf_done()
982 vpu_buf->luma = info.luma_addr; in vdec_response_frame()
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c220 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; in nv10_set_params() local
225 nvif_wr32(dev, NV_PVIDEO_LUMINANCE(0), luma); in nv10_set_params()
226 nvif_wr32(dev, NV_PVIDEO_LUMINANCE(1), luma); in nv10_set_params()
/linux-6.1.9/Documentation/devicetree/bindings/display/
Dallwinner,sun9i-a80-deu.yaml15 can sharpen the display content in both luma and chroma channels.
/linux-6.1.9/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,color.yaml14 Mediatek display color processor, namely COLOR, provides hue, luma and
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-comp.c272 csf->luma.left, 0xFFFF); in config_rsz_subfrm()
275 csf->luma.left_subpix, 0x1FFFFF); in config_rsz_subfrm()
277 csf->luma.top, 0xFFFF); in config_rsz_subfrm()
279 csf->luma.top_subpix, 0x1FFFFF); in config_rsz_subfrm()
Dmtk-img-ipi.h167 struct img_offset luma; member

12