Home
last modified time | relevance | path

Searched refs:subsampling (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dyuv-formats.rst26 differences, is called chroma subsampling.
28 While many combinations of subsampling factors in the horizontal and vertical
29 direction are possible, common factors are 1 (no subsampling), 2 and 4, with
30 horizontal subsampling always larger than or equal to vertical subsampling.
33 - `4:4:4`: No subsampling
34 - `4:2:2`: Horizontal subsampling by 2, no vertical subsampling
35 - `4:2:0`: Horizontal subsampling by 2, vertical subsampling by 2
36 - `4:1:1`: Horizontal subsampling by 4, no vertical subsampling
37 - `4:1:0`: Horizontal subsampling by 4, vertical subsampling by 4
59 .. flat-table:: 4:2:2 subsampling, interstitially sited
[all …]
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.
Dpixfmt-m420.rst16 M420 is a YUV format with ½ horizontal and vertical chroma subsampling
Dpixfmt-yuv-planar.rst42 subsampling, the chroma line stride (in bytes) is thus equal to twice the luma
43 line stride. With horizontal subsampling by 2, the chroma line stride is equal
44 to the luma line stride. Vertical subsampling doesn't affect the line stride.
705 formats. The two chroma planes always use the same subsampling.
710 horizontal subsampling factor. Vertical subsampling doesn't affect the line
Dpixfmt-packed-yuv.rst10 Cr components consecutively in memory. They may apply subsampling to the chroma
Dext-ctrls-codec-stateless.rst1755 - Vertical subsampling is enabled.
1758 - Horizontal subsampling is enabled.
3089 - Specify the chroma subsampling format.
3092 - Specify the chroma subsampling format.
/linux-6.6.21/drivers/media/platform/samsung/s5p-jpeg/
Djpeg-core.c56 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422,
68 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422,
80 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422,
92 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422,
104 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422,
116 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422,
128 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422,
140 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444,
152 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444,
164 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444,
[all …]
Djpeg-core.h159 int subsampling; member
221 unsigned short subsampling; member
/linux-6.6.21/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg.c70 .subsampling = -1,
79 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444,
93 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444,
107 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444,
121 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444,
135 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420,
148 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420,
161 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420,
174 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420,
187 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422,
[all …]
Dmxc-jpeg.h59 enum v4l2_jpeg_chroma_subsampling subsampling; member
/linux-6.6.21/drivers/media/platform/renesas/
Drcar_jpu.c216 unsigned char subsampling; member
236 u8 subsampling; member
1076 u8 subsampling = jpu_parse_hdr(buffer, buf_size, &width, in jpu_buf_queue() local
1080 if (subsampling != JPU_JPEG_422 && subsampling != JPU_JPEG_420) in jpu_buf_queue()
1100 jpu_buf->subsampling = subsampling; in jpu_buf_queue()
1136 *(buffer + JPU_JPEG_SUBS_OFFSET) = q_data->fmtinfo->subsampling; in jpu_buf_finish()
1347 unsigned char num_planes, subsampling; in jpu_device_run() local
1375 subsampling = q_data->fmtinfo->subsampling; in jpu_device_run()
1392 if (subsampling == JPU_JPEG_420) { in jpu_device_run()
1439 if (jpu_buf->subsampling != subsampling) { in jpu_device_run()
/linux-6.6.21/include/media/
Dv4l2-jpeg.h62 enum v4l2_jpeg_chroma_subsampling subsampling; member
/linux-6.6.21/drivers/media/platform/chips-media/
Dcoda-jpeg.c396 switch (header.frame.subsampling) { in coda_jpeg_decode_header()
399 ctx->params.jpeg_chroma_subsampling = header.frame.subsampling; in coda_jpeg_decode_header()
403 header.frame.subsampling); in coda_jpeg_decode_header()
955 static unsigned char subsampling[5][3] = { in coda9_jpeg_encode_header() local
967 ret = coda_jpeg_put_byte(subsampling[chroma_format][i], in coda9_jpeg_encode_header()
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-jpeg.c227 frame_header->subsampling = subs; in jpeg_parse_frame_header()