Home
last modified time | relevance | path

Searched refs:chroma (Results 1 – 25 of 32) sorted by relevance

12

/linux/Documentation/userspace-api/media/v4l/
A Dyuv-formats.rst23 YUV formats commonly encode images with a lower resolution for the chroma
26 differences, is called chroma subsampling.
39 Subsampling the chroma component effectively creates chroma values that can be
42 - .. _yuv-chroma-centered:
44 The subsampled chroma value may be calculated by simply averaging the chroma
47 interstitially sited chroma.
49 - .. _yuv-chroma-cosited:
51 The other option is to subsample chroma values in a way that place them in
53 other chroma sample (creating aliasing artifacts), or with filters using an
54 odd number of taps. This is referred to as co-sited chroma.
[all …]
A Dpixfmt-yuv-planar.rst9 Planar formats split luma and chroma data in separate memory regions. They
37 chroma plane, with Cb and Cr always stored in pairs. The chroma order is
47 relationship between the luma and chroma line padding and stride.
159 .. [1] Order of chroma samples in the second plane
166 Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
273 The layouts of the luma and chroma planes are identical.
427 Semi-planar YUV 4:4:4 formats. The chroma plane is not subsampled.
499 formats. The two chroma planes always use the same subsampling.
502 chroma lines is identical to the padding of the luma lines. The chroma line
508 relationship between the luma and chroma line padding and stride.
[all …]
A Dpixfmt-m420.rst9 Format with ½ horizontal and vertical chroma resolution, also known as
16 M420 is a YUV format with ½ horizontal and vertical chroma subsampling
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
70 Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
A Dpixfmt-packed-yuv.rst10 Cr components consecutively in memory. They may apply subsampling to the chroma
16 - 'Y', 'Cb' and 'Cr' denote bits of the luma, blue chroma (also known as
17 'U') and red chroma (also known as 'V') components respectively. 'A'
25 These formats do not subsample the chroma components and store each pixels as a
244 These formats, commonly referred to as YUYV or YUY2, subsample the chroma
325 Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
332 This format subsamples the chroma components horizontally by 4, storing 8
388 Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
A Dvidioc-g-fbuf.rst147 formats (only packed YUV formats when chroma keying is used, not
228 - The device supports clipping by chroma-keying the images. That is,
255 chroma-key colors are replaced by framebuffer pixels, which is
292 - Use chroma-keying. The chroma-key color is determined by the
324 - Use source chroma-keying. The source chroma-key color is
328 and :ref:`osd`. Both chroma-keying are mutual exclusive to each
A Dext-ctrls-jpeg.rst26 The chroma subsampling factors describe how each component of an
40 - No chroma subsampling, each pixel has Y, Cr and Cb values.
A Dcontrol.rst75 Picture color saturation or chroma gain.
118 Red chroma balance.
121 Blue chroma balance.
189 Adjusts the Chroma gain control (for use when chroma AGC is
243 - The Cb and Cr chroma components are replaced by fixed coefficients
A Ddev-overlay.rst178 When chroma-keying has been negotiated with
180 to the desired pixel value for the chroma key. The format is the
188 When chroma-keying has *not* been negotiated and
211 When chroma-keying has *not* been negotiated and
233 both, or despite negotiating chroma-keying, the results are undefined.
A Dext-ctrls-codec-stateless.rst882 - Set if the chroma plane has the same height as the luma plane,
883 else the chroma plane is half the height of the luma plane.
886 - Set if the chroma plane has the same width as the luma plane,
887 else the chroma plane is half the width of the luma plane.
1438 scanning order. It is relevant for both luma and chroma components,
1439 although it can be superseded by the chroma-specific matrix for
1444 zigzag scanning order. It is relevant for both luma and chroma
1445 components, although it can be superseded by the chroma-specific matrix
A Dcolorspaces.rst109 prefer to use luma (Y') and chroma (CbCr) instead of R'G'B'. Since the
117 correct, it is just an encoding of an R'G'B' color into luma and chroma
/linux/drivers/video/fbdev/core/
A Dfbmon.c335 specs->chroma.redx = tmp/1024; in get_chroma()
341 specs->chroma.redy = tmp/1024; in get_chroma()
342 DPRINTK("RedY: 0.%03d\n", specs->chroma.redy); in get_chroma()
347 specs->chroma.greenx = tmp/1024; in get_chroma()
353 specs->chroma.greeny = tmp/1024; in get_chroma()
354 DPRINTK("GreenY: 0.%03d\n", specs->chroma.greeny); in get_chroma()
359 specs->chroma.bluex = tmp/1024; in get_chroma()
365 specs->chroma.bluey = tmp/1024; in get_chroma()
366 DPRINTK("BlueY: 0.%03d\n", specs->chroma.bluey); in get_chroma()
371 specs->chroma.whitex = tmp/1024; in get_chroma()
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_formats.c73 alpha, chroma, count, bp, flg, fm, np) \ argument
80 .chroma_sample = chroma, \
91 #define PSEUDO_YUV_FMT(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np) \ argument
98 .chroma_sample = chroma, \
109 #define PSEUDO_YUV_FMT_TILED(fmt, a, r, g, b, e0, e1, chroma, \ argument
117 .chroma_sample = chroma, \
128 #define PSEUDO_YUV_FMT_LOOSE(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np)\ argument
135 .chroma_sample = chroma, \
146 #define PSEUDO_YUV_FMT_LOOSE_TILED(fmt, a, r, g, b, e0, e1, chroma, \ argument
154 .chroma_sample = chroma, \
[all …]
/linux/drivers/media/pci/bt8xx/
A Dbttv-risc.c122 unsigned int instructions,line,todo,ylen,chroma; in bttv_risc_planar() local
155 chroma = 1; in bttv_risc_planar()
159 chroma = ((line & 1) == 0); in bttv_risc_planar()
161 chroma = ((line & 1) == 1); in bttv_risc_planar()
165 chroma = ((line & 3) == 0); in bttv_risc_planar()
167 chroma = ((line & 3) == 2); in bttv_risc_planar()
170 chroma = 0; in bttv_risc_planar()
185 if (chroma) { in bttv_risc_planar()
214 if (chroma) { in bttv_risc_planar()
222 if (chroma) { in bttv_risc_planar()
/linux/drivers/media/pci/cx18/
A Dcx18-av-core.c618 int chroma = vid_input & 0xf00; in set_input() local
623 chroma < CX18_AV_SVIDEO_CHROMA4 || in set_input()
624 chroma > CX18_AV_SVIDEO_CHROMA8) { in set_input()
631 if (chroma >= CX18_AV_SVIDEO_CHROMA7) { in set_input()
633 afe_mux_cfg |= (chroma - CX18_AV_SVIDEO_CHROMA7) >> 2; in set_input()
637 afe_mux_cfg |= (chroma - CX18_AV_SVIDEO_CHROMA4) >> 4; in set_input()
/linux/drivers/gpu/drm/nouveau/dispnv04/
A Doverlay.c221 u32 chroma = ((sin_mul(plane->hue, plane->saturation) & 0xffff) << 16) | in nv10_set_params() local
227 nvif_wr32(dev, NV_PVIDEO_CHROMINANCE(0), chroma); in nv10_set_params()
228 nvif_wr32(dev, NV_PVIDEO_CHROMINANCE(1), chroma); in nv10_set_params()
/linux/Documentation/devicetree/bindings/media/
A Dti,vpe.yaml15 path which can perform chroma up/down sampling, deinterlacing,
/linux/Documentation/devicetree/bindings/display/
A Dallwinner,sun9i-a80-deu.yaml15 can sharpen the display content in both luma and chroma channels.
/linux/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_mem_input_v.c530 bool chroma) in get_dvmm_hw_setting() argument
542 bpp = chroma ? bpp_16 : bpp_8; in get_dvmm_hw_setting()
/linux/drivers/media/platform/s5p-mfc/
A Ds5p_mfc_common.h183 size_t chroma; member
A Ds5p_mfc_opr_v5.c478 ctx->dst_bufs[i].cookie.raw.chroma); in s5p_mfc_set_dec_frame_buffer_v5()
479 mfc_write(dev, OFFSETA(ctx->dst_bufs[i].cookie.raw.chroma), in s5p_mfc_set_dec_frame_buffer_v5()
/linux/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_transform.c1142 static uint32_t decide_taps(struct fixed31_32 ratio, uint32_t in_taps, bool chroma) in decide_taps() argument
1154 if (chroma) { in decide_taps()
/linux/Documentation/driver-api/media/drivers/ccs/
A Dccs-regs.asc449 - b chroma 1
980 - b chroma 1
/linux/include/linux/
A Dfb.h65 struct fb_chroma chroma; member
/linux/Documentation/ABI/testing/
A Dconfigfs-usb-gadget-uvc171 chroma values from the color primaries
/linux/drivers/media/i2c/cx25840/
A Dcx25840-core.c1377 int chroma = vid_input & 0xf00; in set_input() local
1400 chroma < CX25840_SVIDEO_CHROMA4 || in set_input()
1401 chroma > CX25840_SVIDEO_CHROMA8) { in set_input()
1407 if (chroma >= CX25840_SVIDEO_CHROMA7) { in set_input()
1409 reg |= (chroma - CX25840_SVIDEO_CHROMA7) >> 2; in set_input()
1412 reg |= (chroma - CX25840_SVIDEO_CHROMA4) >> 4; in set_input()
1539 if (chroma >= CX25840_SVIDEO_CHROMA7) { in set_input()

Completed in 74 milliseconds

12