| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | yuv-formats.rst | 27 differences, is called chroma subsampling. 29 While many combinations of subsampling factors in the horizontal and vertical 30 direction are possible, common factors are 1 (no subsampling), 2 and 4, with 31 horizontal subsampling always larger than or equal to vertical subsampling. 34 - `4:4:4`: No subsampling 35 - `4:2:2`: Horizontal subsampling by 2, no vertical subsampling 36 - `4:2:0`: Horizontal subsampling by 2, vertical subsampling by 2 37 - `4:1:1`: Horizontal subsampling by 4, no vertical subsampling 38 - `4:1:0`: Horizontal subsampling by 4, vertical subsampling by 4 60 .. flat-table:: 4:2:2 subsampling, interstitially sited [all …]
|
| H A D | ext-ctrls-jpeg.rst | 27 The chroma subsampling factors describe how each component of an 41 - No chroma subsampling, each pixel has Y, Cr and Cb values.
|
| H A D | pixfmt-m420.rst | 17 M420 is a YUV format with ½ horizontal and vertical chroma subsampling
|
| H A D | pixfmt-yuv-planar.rst | 43 subsampling, the chroma line stride (in bytes) is thus equal to twice the luma 44 line stride. With horizontal subsampling by 2, the chroma line stride is equal 45 to the luma line stride. Vertical subsampling doesn't affect the line stride. 965 formats. The two chroma planes always use the same subsampling. 970 horizontal subsampling factor. Vertical subsampling doesn't affect the line
|
| H A D | pixfmt-packed-yuv.rst | 11 Cr components consecutively in memory. They may apply subsampling to the chroma
|
| /linux/drivers/media/platform/samsung/s5p-jpeg/ |
| H A D | jpeg-core.c | 56 .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 …]
|
| H A D | jpeg-core.h | 159 int subsampling; member 221 unsigned short subsampling; member
|
| /linux/drivers/media/platform/renesas/ |
| H A D | rcar_jpu.c | 216 unsigned char subsampling; member 236 u8 subsampling; member 1068 u8 subsampling = jpu_parse_hdr(buffer, buf_size, &width, in jpu_buf_queue() local 1072 if (subsampling != JPU_JPEG_422 && subsampling != JPU_JPEG_420) in jpu_buf_queue() 1092 jpu_buf->subsampling = subsampling; in jpu_buf_queue() 1128 *(buffer + JPU_JPEG_SUBS_OFFSET) = q_data->fmtinfo->subsampling; in jpu_buf_finish() 1336 unsigned char num_planes, subsampling; in jpu_device_run() local 1364 subsampling = q_data->fmtinfo->subsampling; in jpu_device_run() 1381 if (subsampling == JPU_JPEG_420) { in jpu_device_run() 1428 if (jpu_buf->subsampling != subsampling) { in jpu_device_run()
|
| /linux/drivers/media/platform/nxp/imx-jpeg/ |
| H A D | mxc-jpeg.c | 71 .subsampling = -1, 80 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444, 94 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444, 108 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444, 122 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_444, 136 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420, 149 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420, 162 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420, 175 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420, 188 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422, [all …]
|
| /linux/drivers/media/platform/imagination/ |
| H A D | e5010-jpeg-enc.c | 51 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420, 60 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420, 69 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420, 78 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420, 87 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422, 96 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422, 106 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422, 115 .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_422, 124 .subsampling = 0, 219 static int e5010_set_input_subsampling(void __iomem *core_base, int subsampling) in e5010_set_input_subsampling() argument [all …]
|
| /linux/drivers/media/platform/chips-media/coda/ |
| H A D | coda-jpeg.c | 396 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()
|