media: v4l: Add definition for the Aspeed JPEG format
authorJammy Huang <jammy_huang@aspeedtech.com>
Fri, 28 Oct 2022 02:35:50 +0000 (10:35 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 4 Nov 2022 15:56:39 +0000 (16:56 +0100)
commit7a4b3770d635d05f1d8a4a17ae4acab5b3d2bad1
tree7a93963503b9925bca31b4fc97086ee35fdee2b4
parentc4d344163c3a7f90712525f931a6c016bbb35e18
media: v4l: Add definition for the Aspeed JPEG format

This introduces support for the Aspeed JPEG format, where the new frame
can refer to previous frame to reduce the amount of compressed data.
The concept is similar to I/P frame of video compression. It will
compare the new frame with previous one to decide which macroblock's
data is changed, and only the changed macroblocks will be compressed.

This Aspeed JPEG format is used by the video engine on Aspeed platforms,
which is generally adapted for remote KVM.

Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Documentation/userspace-api/media/v4l/pixfmt-reserved.rst
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h