]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: v4l2-jpeg: Export reference quantization and huffman tables
authorDevarsh Thakkar <devarsht@ti.com>
Tue, 18 Jun 2024 19:36:48 +0000 (01:06 +0530)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 24 Jun 2024 09:05:06 +0000 (11:05 +0200)
commitb5bad839c01e3a2a41056ac0bc07e7b1ea0ba412
tree4416f533b8e7c99251d52f8d3032d813fd5ccd58
parenta1e2940458853d00c178c842c889e4ae3ef5eaec
media: v4l2-jpeg: Export reference quantization and huffman tables

Export reference quantization and huffman tables as provided in ITU-T.81 so
that they can be re-used by other JPEG drivers.

These are example tables provided in ITU-T.81 as reference tables and the
JPEG encoders are free to use either these or their own proprietary tables.

Also add necessary prefixes to be used for huffman tables in global header
file.

Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/v4l2-core/v4l2-jpeg.c
include/media/v4l2-jpeg.h