Home
last modified time | relevance | path

Searched +full:jpeg +full:- +full:codec (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.12.1/Documentation/devicetree/bindings/media/
Dsamsung,s5pv210-jpeg.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/media/samsung,s5pv210-jpeg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S5PV210 and Exynos SoC JPEG codec
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
12 - Sylwester Nawrocki <s.nawrocki@samsung.com>
13 - Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
18 - samsung,s5pv210-jpeg
[all …]
Drenesas,jpu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas JPEG Processing Unit
10 - Mikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>
13 The JPEG processing unit (JPU) incorporates the JPEG codec with an encoding
14 and decoding function conforming to the JPEG baseline process, so that the
15 JPU can encode image data and decode JPEG data quickly.
20 - enum:
21 - renesas,jpu-r8a7790 # R-Car H2
[all …]
Dcoda.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Chips&Media Coda multi-standard codec IP
10 - Philipp Zabel <p.zabel@pengutronix.de>
12 description: |-
13 Coda codec IPs are present in i.MX SoCs in various versions,
19 - items:
20 - const: fsl,imx27-vpu
21 - const: cnm,codadx6
[all …]
/linux-6.12.1/drivers/media/platform/mediatek/jpeg/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Mediatek JPEG Codec driver"
12 Mediatek jpeg codec driver provides HW capability to decode
13 JPEG format
16 module will be called mtk-jpeg
/linux-6.12.1/drivers/media/pci/zoran/
Dzr36050.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 /* codec io API */
37 * read/write via codec layer (registers are located in the master device)
43 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_read()
47 if (ptr->codec->master_data->readreg) in zr36050_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36050_read()
52 zrdev_dbg(zr, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36050_read()
59 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_write()
61 zrdev_dbg(zr, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36050_write()
[all …]
Dzr36060.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 /* codec io API */
37 * read/write via codec layer (registers are located in the master device)
44 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_read()
47 if (ptr->codec->master_data->readreg) in zr36060_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read()
50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36060_read()
57 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_write()
62 if (ptr->codec->master_data->writereg) in zr36060_write()
63 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
[all …]
Dvideocodec.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Interface for MJPEG (and maybe later MPEG/WAVELETS) codec's
16 * Should ease the (re-)usage of drivers supporting cards with (different)
20 * The codecs are typically have a "strong" binding to their master - so I
22 * i2c. If you have an other opinion, let's discuss & implement it :-)))
29 * The best is just calling them at module (de-)initialisation.
47 * ----------------------------------------------------------------------------
51 * ----------------------------------------------------------------------------
60 * name -> name of the device structure for reference and debugging
61 * master_data -> data ref. for the master (e.g. the zr36055,57,67)
[all …]
Dzoran_device.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * This part handles device access (PCI/I2C/codec/...)
18 #include <linux/i2c-algo-bit.h>
20 #include <media/v4l2-common.h>
26 #include <linux/dma-mapping.h>
68 // || zr->revision < 1) // Revision 1 has also Triton support in zr36057_init_vfe()
90 * A bit number of -1 (lacking) gives a mask of 0, in GPIO()
114 if ((por & ZR36057_POR_PO_TIME) && !zr->card.gws_not_connected) { in post_office_wait()
116 pci_info(zr->pci_dev, "pop timeout %08x\n", por); in post_office_wait()
117 return -1; in post_office_wait()
[all …]
Dzr36057.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * zr36057.h - zr36057 register offsets
99 #define ZR36057_JMC 0x100 /* JPEG Mode and Control */
113 #define ZR36057_JPC 0x104 /* JPEG Process Control */
137 #define ZR36057_JCBA 0x11c /* JPEG Code Base Address */
139 #define ZR36057_JCFT 0x120 /* JPEG Code FIFO Threshold */
141 #define ZR36057_JCGI 0x124 /* JPEG Codec Guest ID */
Dzr36016.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 /* codec io API */
28 * Local hardware I/O functions: read/write via codec layer
36 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36016_read()
39 if (ptr->codec->master_data->readreg) in zr36016_read()
40 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36016_read()
42 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36016_read()
44 zrdev_dbg(zr, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36016_read()
51 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36016_write()
53 zrdev_dbg(zr, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36016_write()
[all …]
Dzoran_device.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * This part handles card-specific data and detection
18 /* codec (or actually: guest bus) access */
36 /* JPEG codec access */
52 v4l2_subdev_call((zr)->decoder, o, f, ##args)
54 v4l2_subdev_call((zr)->encoder, o, f, ##args)
Dzr36016.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Zoran ZR36016 basic configuration functions - header file
11 /* data stored for each zoran jpeg codec chip */
16 struct videocodec *codec; member
Dzoran.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * zoran - Iomega Buz driver
13 * bttv - Bt848 frame grabber driver
14 * Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de)
15 * & Marcus Metzler (mocm@thp.uni-koeln.de)
23 #include <linux/i2c-algo-bit.h>
24 #include <media/v4l2-device.h>
25 #include <media/v4l2-ctrls.h>
26 #include <media/videobuf2-core.h>
27 #include <media/videobuf2-v4l2.h>
[all …]
Dzr36050.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Zoran ZR36050 basic configuration functions - header file
13 /* data stored for each zoran jpeg codec chip */
18 struct videocodec *codec; member
133 /* zr36050 markers-enable register bits */
/linux-6.12.1/Documentation/admin-guide/media/
Dplatform-cardlist.rst1 .. SPDX-License-Identifier: GPL-2.0
17 am437x-vpfe TI AM437x VPFE
18 aspeed-video Aspeed AST2400 and AST2500
19 atmel-isc ATMEL Image Sensor Controller (ISC)
20 atmel-isi ATMEL Image Sensor Interface (ISI)
24 cdns-csi2rx Cadence MIPI-CSI2 RX Controller
25 cdns-csi2tx Cadence MIPI-CSI2 TX Controller
26 coda-vpu Chips&Media Coda multi-standard codec IP
29 exynos-fimc-is EXYNOS4x12 FIMC-IS (Imaging Subsystem)
30 exynos-fimc-lite EXYNOS FIMC-LITE camera interface
[all …]
/linux-6.12.1/drivers/media/platform/samsung/s5p-jpeg/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
12 and EXYNOS4 JPEG codec
Djpeg-regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* linux/drivers/media/platform/samsung/s5p-jpeg/jpeg-regs.h
4 * Register definition file for Samsung JPEG codec driver
6 * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
18 /* JPEG mode register */
29 /* JPEG operation status register */
34 #define S5P_QT_NUMt_SHIFT(t) (((t) - 1) << 1)
39 #define S5P_HT_NUMt_AC_SHIFT(t) (((t) << 1) - 1)
42 #define S5P_HT_NUMt_DC_SHIFT(t) (((t) - 1) << 1)
45 /* JPEG restart interval register upper byte */
[all …]
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dpixfmt-compressed.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
8 .. _compressed-formats:
18 .. flat-table:: Compressed Image Formats
19 :header-rows: 1
20 :stub-columns: 0
23 * - Identifier
24 - Code
25 - Details
26 * .. _V4L2-PIX-FMT-JPEG:
28 - ``V4L2_PIX_FMT_JPEG``
[all …]
Dcommon.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 - Opening the device
12 - Changing device properties, selecting a video and audio input, video
15 - Negotiating a data format
17 - Negotiating an input/output method
19 - The actual input/output loop
21 - Closing the device
34 app-pri
39 dv-timings
41 extended-controls
[all …]
/linux-6.12.1/drivers/media/platform/verisilicon/
Dhantro.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Hantro VPU codec driver
8 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-device.h>
23 #include <media/v4l2-ioctl.h>
24 #include <media/v4l2-mem2mem.h>
25 #include <media/videobuf2-core.h>
26 #include <media/videobuf2-dma-contig.h>
45 * struct hantro_irq - irq handler and name
[all …]
Drockchip_vpu2_hw_jpeg_enc.c1 // SPDX-License-Identifier: GPL-2.0
3 * Hantro VPU codec driver
7 * JPEG encoder
8 * ------------
9 * The VPU JPEG encoder produces JPEG baseline sequential format.
10 * The quantization coefficients are 8-bit values, complying with
13 * encoding using internal Huffman tables, as specified in the JPEG
20 * VEPU_swreg_0-VEPU_swreg_15, and chroma table values to
21 * VEPU_swreg_16-VEPU_swreg_31. A special order is needed, neither
26 #include <media/v4l2-mem2mem.h>
[all …]
Dhantro_drv.c1 // SPDX-License-Identifier: GPL-2.0
3 * Hantro VPU codec driver
9 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
22 #include <media/v4l2-event.h>
23 #include <media/v4l2-mem2mem.h>
24 #include <media/videobuf2-core.h>
25 #include <media/videobuf2-vmalloc.h>
31 #define DRIVER_NAME "hantro-vpu"
36 "Debug level - higher value produces more verbose messages");
42 ctrl = v4l2_ctrl_find(&ctx->ctrl_handler, id); in hantro_get_ctrl()
[all …]
/linux-6.12.1/drivers/media/platform/renesas/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 tristate "R-Car MIPI CSI-2 Receiver"
27 Support for Renesas R-Car MIPI CSI-2 receiver.
28 Supports R-Car Gen3 and RZ/G2 SoCs.
31 module will be called rcar-csi2.
34 tristate "R-Car Image Signal Processor (ISP)"
43 Support for Renesas R-Car Image Signal Processor (ISP).
44 Enable this to support the Renesas R-Car Image Signal
48 module will be called rcar-isp.
59 source "drivers/media/platform/renesas/rcar-vin/Kconfig"
[all …]
/linux-6.12.1/Documentation/driver-api/media/drivers/
Dzoran.rst1 .. SPDX-License-Identifier: GPL-2.0
8 website: http://mjpeg.sourceforge.net/driver-zoran/
12 --------------------------
15 ------------------------
24 * Zoran zr36060 MJPEG codec
28 Drivers to use: videodev, i2c-core, i2c-algo-bit,
31 Inputs/outputs: Composite and S-video
41 * Zoran zr36060 MJPEG codec
45 Drivers to use: videodev, i2c-core, i2c-algo-bit,
49 Six physical inputs. 1-6 are composite,
[all …]
/linux-6.12.1/drivers/media/platform/chips-media/coda/
Dcoda-common.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Coda multi-standard codec IP
6 * Javier Martin, <javier.martin@vista-silicon.com>
31 #include <media/v4l2-ctrls.h>
32 #include <media/v4l2-device.h>
33 #include <media/v4l2-event.h>
34 #include <media/v4l2-ioctl.h>
35 #include <media/v4l2-mem2mem.h>
36 #include <media/videobuf2-v4l2.h>
37 #include <media/videobuf2-dma-contig.h>
[all …]

123