Home
last modified time | relevance | path

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

12

/Linux-v4.19/Documentation/media/uapi/v4l/
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
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
Dpixfmt-nv16m.rst22 necessarily immediately follow the luma plane. The luminance data
Dpixfmt-nv12m.rst25 necessarily immediately follows the luma plane. The luminance data
Dcontrol.rst72 Picture contrast or luma gain.
/Linux-v4.19/drivers/media/usb/gspca/
Detoms.c633 __u8 luma; in do_autogain() local
654 luma = LIMIT(r + g + b); in do_autogain()
655 gspca_dbg(gspca_dev, D_FRAM, "Etoms luma G %d\n", luma); in do_autogain()
656 if (luma < luma_mean - luma_delta || luma > luma_mean + luma_delta) { in do_autogain()
657 Gbright += (luma_mean - luma) >> spring; in do_autogain()
Dnw80x.c1942 int luma; in do_autogain() local
1952 luma = (gspca_dev->usb_buf[3] << 24) + (gspca_dev->usb_buf[2] << 16) in do_autogain()
1954 luma /= sd->ae_res; in do_autogain()
1958 gspca_coarse_grained_expo_autogain(gspca_dev, luma, 100, 5); in do_autogain()
1961 gspca_expo_autogain(gspca_dev, luma, 100, 5, 230, 0); in do_autogain()
Dtopro.c4699 int luma, expo; in sd_dq_callback() local
4743 luma = ((gspca_dev->usb_buf[8] << 8) + gspca_dev->usb_buf[7] + in sd_dq_callback()
4753 luma /= 4; in sd_dq_callback()
4757 ret = gspca_expo_autogain(gspca_dev, luma, in sd_dq_callback()
/Linux-v4.19/drivers/media/pci/cx18/
Dcx18-av-core.c603 int luma = vid_input & 0xf000; in set_input() local
608 luma < CX18_AV_COMPONENT_LUMA1 || in set_input()
609 luma > CX18_AV_COMPONENT_LUMA8 || in set_input()
618 afe_mux_cfg = (luma - CX18_AV_COMPONENT_LUMA1) >> 12; in set_input()
626 int luma = vid_input & 0xf0; in set_input() local
630 luma < CX18_AV_SVIDEO_LUMA1 || in set_input()
631 luma > CX18_AV_SVIDEO_LUMA8 || in set_input()
638 afe_mux_cfg = 0xf0 + ((luma - CX18_AV_SVIDEO_LUMA1) >> 4); in set_input()
/Linux-v4.19/drivers/media/platform/vicodec/
Dvicodec-core.c167 rf.luma = p_in; in encode()
171 rf.cb = rf.luma + size; in encode()
176 rf.cr = rf.luma + size; in encode()
181 rf.cb = rf.luma + size; in encode()
186 rf.cr = rf.luma + size; in encode()
260 memcpy(p_out, ctx->ref_frame.luma, size); in decode()
1130 ctx->ref_frame.luma = kvmalloc(size * 3 / 2, GFP_KERNEL); in vicodec_start_streaming()
1133 if (!ctx->ref_frame.luma || !ctx->compressed_frame) { in vicodec_start_streaming()
1134 kvfree(ctx->ref_frame.luma); in vicodec_start_streaming()
1139 ctx->ref_frame.cb = ctx->ref_frame.luma + size; in vicodec_start_streaming()
[all …]
Dvicodec-codec.h116 u8 *luma, *cb, *cr; member
Dvicodec-codec.c710 encoding = encode_plane(frm->luma, ref_frm->luma, &rlco, rlco_max, cf, in encode_frame()
791 decode_plane(cf, &rlco, ref->luma, cf->height, cf->width, in decode_frame()
/Linux-v4.19/drivers/media/platform/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.h86 struct omap3isp_prev_luma luma; member
Disppreview.c156 const struct omap3isp_prev_luma *yt = &params->luma; in preview_config_luma_enhancement()
758 offsetof(struct prev_params, luma),
759 FIELD_SIZEOF(struct prev_params, luma),
760 offsetof(struct omap3isp_prev_update_config, luma),
1326 memcpy(params->luma.table, luma_enhance_table, in preview_init_params()
1327 sizeof(params->luma.table)); in preview_init_params()
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c219 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; in nv10_set_params() local
224 nvif_wr32(dev, NV_PVIDEO_LUMINANCE(0), luma); in nv10_set_params()
225 nvif_wr32(dev, NV_PVIDEO_LUMINANCE(1), luma); in nv10_set_params()
/Linux-v4.19/include/uapi/linux/
Domap3isp.h655 struct omap3isp_prev_luma __user *luma; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/
Ddc.h105 struct dc_dcc_setting luma; member
/Linux-v4.19/drivers/media/platform/s5p-mfc/
Ds5p_mfc_common.h186 size_t luma; member
Ds5p_mfc_opr_v5.c477 ctx->dst_bufs[i].cookie.raw.luma); in s5p_mfc_set_dec_frame_buffer_v5()
478 mfc_write(dev, OFFSETB(ctx->dst_bufs[i].cookie.raw.luma), in s5p_mfc_set_dec_frame_buffer_v5()
Ds5p_mfc_opr_v6.c565 ctx->dst_bufs[i].cookie.raw.luma); in s5p_mfc_set_dec_frame_buffer_v6()
566 writel(ctx->dst_bufs[i].cookie.raw.luma, in s5p_mfc_set_dec_frame_buffer_v6()
Ds5p_mfc_dec.c979 ctx->dst_bufs[i].cookie.raw.luma = in s5p_mfc_buf_init()
/Linux-v4.19/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uvc143 bMatrixCoefficients - matrix used to compute luma and
/Linux-v4.19/Documentation/devicetree/bindings/display/sunxi/
Dsun4i-drm.txt316 can sharpen the display content in both luma and chroma channels.
/Linux-v4.19/drivers/media/i2c/cx25840/
Dcx25840-core.c1030 int luma = vid_input & 0xf0; in set_input() local
1052 luma < CX25840_SVIDEO_LUMA1 || luma > CX25840_SVIDEO_LUMA8 || in set_input()
1058 reg = 0xf0 + ((luma - CX25840_SVIDEO_LUMA1) >> 4); in set_input()

12