Home
last modified time | relevance | path

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

12

/linux/drivers/media/test-drivers/vicodec/
H A 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 …]
H A Dcodec-fwht.h96 u8 *luma, *cb, *cr, *alpha; member
H A 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()
H A Dvicodec-core.c1599 state->ref_frame.luma = state->ref_frame.buf; in vicodec_start_streaming()
1602 if (!state->ref_frame.luma || !new_comp_frame) { in vicodec_start_streaming()
1603 kvfree(state->ref_frame.luma); in vicodec_start_streaming()
1630 state->ref_frame.cb = state->ref_frame.luma + size; in vicodec_start_streaming()
1662 ctx->state.ref_frame.luma = NULL; in vicodec_stop_streaming()
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-yuv-planar.rst10 Planar formats split luma and chroma data in separate memory regions. They
13 - Semi-planar formats use two planes. The first plane is the luma plane and
22 the chroma planes may be constrained by the line stride of the luma plane.
36 use two planes, and store the luma components in the first plane and the chroma
42 chroma lines is identical to the padding of the luma lines. Without horizontal
43 subsampling, the chroma line stride (in bytes) is thus equal to twice the luma
45 to the luma line stride. Vertical subsampling doesn't affect the line stride.
48 relationship between the luma and chroma line padding and stride.
245 of bytes as luma lines, and the chroma plane contains half the number of lines
246 of the luma plane.
[all …]
H A Dpixfmt-m420.rst18 (YUV 4:2:0). Pixels are organized as interleaved luma and chroma planes.
19 Two lines of luma data are followed by one line of chroma data.
21 The luma plane has one byte per pixel. The chroma plane contains
H A Dcolorspaces.rst108 the so-called luma coefficients. There may be multiple possible Y'CbCr
110 prefer to use luma (Y') and chroma (CbCr) instead of R'G'B'. Since the
113 compared to the luma data. Note that the luma (Y') is unrelated to the Y
118 correct, it is just an encoding of an R'G'B' color into luma and chroma
147 luma coefficients needed to transform R'G'B' to Y'CbCr. While some
H A Dpixfmt-yuv-luma.rst4 .. _yuv-luma-only:
10 This family of formats only store the luma component of a Y'CbCr image. They
H A Dyuv-formats.rst25 components than for the luma component. This compression technique, taking
270 pixfmt-yuv-luma
H A Dpixfmt-packed-yuv.rst17 - 'Y', 'Cb' and 'Cr' denote bits of the luma, blue chroma (also known as
H A Dcontrol.rst73 Picture contrast or luma gain.
/linux/drivers/media/usb/gspca/
H A 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()
H A 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()
H A 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/drivers/media/platform/ti/omap3isp/
H A Disppreview.h83 struct omap3isp_prev_luma luma; member
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A 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/drivers/gpu/drm/amd/display/dc/hubbub/dcn401/
H A Ddcn401_hubbub.c1043 output->video.luma.dcc_controls.dcc_256_256 = 1; in hubbub401_get_dcc_compression_cap()
1044 output->video.luma.dcc_controls.dcc_256_128 = 1; in hubbub401_get_dcc_compression_cap()
1045 output->video.luma.dcc_controls.dcc_256_64 = 1; in hubbub401_get_dcc_compression_cap()
1048 output->video.luma.dcc_controls.dcc_256_128 = 1; in hubbub401_get_dcc_compression_cap()
1049 output->video.luma.dcc_controls.dcc_256_64 = 1; in hubbub401_get_dcc_compression_cap()
1052 output->video.luma.dcc_controls.dcc_256_64 = 1; in hubbub401_get_dcc_compression_cap()
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmdp_sm_mt8183.h36 struct img_offset luma; member
H A Dmdp_sm_mt8195.h36 struct img_offset luma; member
/linux/drivers/media/platform/amphion/
H A Dvpu_msgs.c142 frame.luma = info.luma; in vpu_session_handle_pic_done()
H A Dvdec.c859 static struct vpu_vb2_buffer *vdec_find_buffer(struct vpu_inst *inst, u32 luma) in vdec_find_buffer() argument
867 if (luma == vdec->slots[i].addr) in vdec_find_buffer()
888 vpu_buf = vdec_find_buffer(inst, frame->luma); in vdec_buf_done()
892 inst->id, frame->id, frame->luma); in vdec_buf_done()
1198 vpu_buf->luma = info.luma_addr; in vdec_response_frame()
/linux/Documentation/userspace-api/
H A Ddma-buf-alloc-exchange.rst115 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
/linux/include/uapi/linux/
H A Domap3isp.h660 struct omap3isp_prev_luma __user *luma; member
/linux/Documentation/driver-api/media/drivers/ccs/
H A Dccs-regs.asc448 - b luma 0
979 - b luma 0
/linux/drivers/media/platform/samsung/s5p-mfc/
H A 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()

12