mtk-jpegenc: add output pic reorder interface
authorkyrie wu <kyrie.wu@mediatek.com>
Thu, 29 Sep 2022 09:08:08 +0000 (17:08 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 30 Sep 2022 14:39:28 +0000 (16:39 +0200)
commit841a58decd87616c6b10431742133366781a08b5
tree2306ed615889d02c7cc4a097f31c0f1eb93b33b5
parent5fb1c2361e5630491d2a2f9359654eb022601bc0
mtk-jpegenc: add output pic reorder interface

There are two HWs in mt8195. Since the two HWs run
in parallel, it is necessary to reorder the output images
to ensure that the order is consistent with the input images.

Signed-off-by: kyrie wu <kyrie.wu@mediatek.com>
Signed-off-by: irui wang <irui.wang@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.h
drivers/media/platform/mediatek/jpeg/mtk_jpeg_dec_hw.c
drivers/media/platform/mediatek/jpeg/mtk_jpeg_dec_hw.h
drivers/media/platform/mediatek/jpeg/mtk_jpeg_enc_hw.c