]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: chips-media: wave5: Support YUV422 raw pixel-formats on the encoder.
authorJackson.lee <jackson.lee@chipsnmedia.com>
Mon, 12 Aug 2024 07:08:23 +0000 (16:08 +0900)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 8 Oct 2024 12:49:38 +0000 (14:49 +0200)
commit1b4420bdfa8b8f9cca97930157ea160d828e7033
tree872f7583cc786831598a3361102a02d1471f1637
parent88ff31fd01811c4257e0354a4a761692f1fecbc8
media: chips-media: wave5: Support YUV422 raw pixel-formats on the encoder.

Add support for the YUV422P, NV16, NV61, YUV422M, NV16M,
NV61M raw pixel-formats to the Wave5 encoder.

All these formats have a chroma subsampling ratio of 4:2:2 and
therefore require a new image size calculation as the driver
previously only handled a ratio of 4:2:0.

Signed-off-by: Jackson.lee <jackson.lee@chipsnmedia.com>
Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c