Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/media/platform/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.h128 u8 *luma, *cb, *cr, *alpha; member
Dcodec-fwht.c789 encoding = encode_plane(frm->luma, ref_frm->luma, &rlco, rlco_max, cf, in fwht_encode_frame()
920 if (!decode_plane(cf, &rlco, height, width, ref->luma, ref_stride, in fwht_decode_frame()
921 ref->luma_alpha_step, dst->luma, dst_stride, in fwht_decode_frame()
Dvicodec-core.c1643 state->ref_frame.luma = state->ref_frame.buf; in vicodec_start_streaming()
1646 if (!state->ref_frame.luma || !new_comp_frame) { in vicodec_start_streaming()
1647 kvfree(state->ref_frame.luma); in vicodec_start_streaming()
1674 state->ref_frame.cb = state->ref_frame.luma + size; in vicodec_start_streaming()
1723 ctx->state.ref_frame.luma = NULL; in vicodec_stop_streaming()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dpixfmt-m420.rst24 (YUV 4:2:0). Pixels are organized as interleaved luma and chroma planes.
25 Two lines of luma data are followed by one line of chroma data.
27 The luma plane has one byte per pixel. The chroma plane contains
Dcolorspaces.rst114 the so-called luma coefficients. There may be multiple possible Y'CbCr
116 prefer to use luma (Y') and chroma (CbCr) instead of R'G'B'. Since the
119 compared to the luma data. Note that the luma (Y') is unrelated to the Y
124 correct, it is just an encoding of an R'G'B' color into luma and chroma
153 luma coefficients needed to transform R'G'B' to Y'CbCr. While some
Dpixfmt-nv16m.rst29 necessarily immediately follow the luma plane. The luminance data
Dpixfmt-nv12m.rst32 necessarily immediately follows the luma plane. The luminance data
Dext-ctrls-codec.rst1050 Specify the offset that should be added to the luma quantization
2288 scanning order. It is relevant for both luma and chroma components,
2294 zigzag scanning order. It is relevant for both luma and chroma
2895 - Set if the luma plane is uncompressed
2904 - Set if the chroma plane has the same height as the luma plane,
2905 else the chroma plane is half the height of the luma plane
2908 - Set if the chroma plane has the same width as the luma plane,
2909 else the chroma plane is half the width of the luma plane
Dcontrol.rst79 Picture contrast or luma gain.
/Linux-v5.4/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()
Dtopro.c4687 int luma, expo; in sd_dq_callback() local
4731 luma = ((gspca_dev->usb_buf[8] << 8) + gspca_dev->usb_buf[7] + in sd_dq_callback()
4741 luma /= 4; in sd_dq_callback()
4745 ret = gspca_expo_autogain(gspca_dev, luma, in sd_dq_callback()
/Linux-v5.4/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-v5.4/drivers/media/platform/omap3isp/
Dispresizer.c261 struct resizer_luma_yenh *luma) in resizer_set_luma() argument
266 rgval = (luma->algo << ISPRSZ_YENH_ALGO_SHIFT) in resizer_set_luma()
268 rgval |= (luma->gain << ISPRSZ_YENH_GAIN_SHIFT) in resizer_set_luma()
270 rgval |= (luma->slope << ISPRSZ_YENH_SLOP_SHIFT) in resizer_set_luma()
272 rgval |= (luma->core << ISPRSZ_YENH_CORE_SHIFT) in resizer_set_luma()
959 struct resizer_luma_yenh luma = {0, 0, 0, 0}; in resizer_configure() local
976 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 FIELD_SIZEOF(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-v5.4/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c218 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; in nv10_set_params() local
223 nvif_wr32(dev, NV_PVIDEO_LUMINANCE(0), luma); in nv10_set_params()
224 nvif_wr32(dev, NV_PVIDEO_LUMINANCE(1), luma); in nv10_set_params()
/Linux-v5.4/include/uapi/linux/
Domap3isp.h655 struct omap3isp_prev_luma __user *luma; member
/Linux-v5.4/drivers/media/platform/s5p-mfc/
Ds5p_mfc_common.h182 size_t luma; member
Ds5p_mfc_opr_v5.c474 ctx->dst_bufs[i].cookie.raw.luma); in s5p_mfc_set_dec_frame_buffer_v5()
475 mfc_write(dev, OFFSETB(ctx->dst_bufs[i].cookie.raw.luma), in s5p_mfc_set_dec_frame_buffer_v5()
Ds5p_mfc_opr_v6.c562 ctx->dst_bufs[i].cookie.raw.luma); in s5p_mfc_set_dec_frame_buffer_v6()
563 writel(ctx->dst_bufs[i].cookie.raw.luma, in s5p_mfc_set_dec_frame_buffer_v6()
Ds5p_mfc_dec.c966 ctx->dst_bufs[i].cookie.raw.luma = in s5p_mfc_buf_init()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddc.h148 struct dc_dcc_setting luma; member
/Linux-v5.4/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uvc151 bMatrixCoefficients - matrix used to compute luma and

12