Home
last modified time | relevance | path

Searched +full:10918 +full:- +full:1 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dnxp,imx8-jpeg.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/nxp,imx8-jpeg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mirela Rabulea <mirela.rabulea@nxp.com>
12 description: |-
14 ISO/IEC 10918-1 JPEG standard compliant decoder/encoder, for Baseline
20 - items:
22 - nxp,imx8qxp-jpgdec
23 - nxp,imx8qxp-jpgenc
[all …]
/openbmc/linux/include/media/
H A Dv4l2-jpeg.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * For reference, see JPEG ITU-T.81 (ISO/IEC 10918-1)
13 #include <linux/v4l2-controls.h>
19 * struct v4l2_jpeg_reference - reference into the JPEG buffer
34 * struct v4l2_jpeg_frame_component_spec - frame component-specification
48 * struct v4l2_jpeg_frame_header - JPEG frame header
53 * @component: component-specification, see v4l2_jpeg_frame_component_spec
54 * @subsampling: decoded subsampling from component-specification
68 * struct v4l2_jpeg_scan_component_spec - scan component-specification
80 * struct v4l2_jpeg_scan_header - JPEG scan header
[all …]
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-jpeg.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * For reference, see JPEG ITU-T.81 (ISO/IEC 10918-1) [1]
9 * [1] https://www.w3.org/Graphics/JPEG/itu-t81.pdf
17 #include <media/v4l2-jpeg.h>
23 /* Table B.1 - Marker code assignments */
56 * struct jpeg_stream - JPEG byte stream
68 if (stream->curr >= stream->end) in jpeg_get_byte()
69 return -EINVAL; in jpeg_get_byte()
71 return *stream->curr++; in jpeg_get_byte()
79 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_get_word_be()
[all …]
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_jpeg.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) Jean-Francois Moine (http://moinejf.free.fr)
27 /* Default tables from JPEG ITU-T.81
28 * (ISO/IEC 10918-1) Annex K, tables K.1 and K.2
53 0, 1, 8, 16, 9, 2, 3, 10,
64 0, 8, 16, 24, 1, 9, 17, 25,
141 /* For simplicity, we keep a pre-formatted JPEG header,
149 /* JFIF-APP0 */
268 * of the SOS segment (the entropy-encoded image scan), which should
269 * trail the whole header, is 8-byte aligned for the hardware to write
[all …]
/openbmc/linux/drivers/media/platform/chips-media/
H A Dcoda-jpeg.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Coda multi-standard codec IP - JPEG support functions
16 #include <media/v4l2-common.h>
17 #include <media/v4l2-fh.h>
18 #include <media/v4l2-jpeg.h>
19 #include <media/v4l2-mem2mem.h>
20 #include <media/videobuf2-core.h>
21 #include <media/videobuf2-dma-contig.h>
58 * Typical Huffman tables for 8-bit precision luminance and
59 * chrominance from JPEG ITU-T.81 (ISO/IEC 10918-1) Annex K.3
[all …]