video: rockchip: mpp: fix rkjpegd define

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I41ba84bc119e701d52b217e399d78c795c532446
This commit is contained in:
Yandong Lin 2023-04-28 16:07:52 +08:00
parent b169885cd8
commit d160fb836c
3 changed files with 3 additions and 2 deletions

View File

@ -71,6 +71,7 @@ const char *mpp_device_name[MPP_DEVICE_BUTT] = {
[MPP_DEVICE_HEVC_DEC] = "HEVC_DEC",
[MPP_DEVICE_RKVDEC] = "RKVDEC",
[MPP_DEVICE_AVSPLUS_DEC] = "AVSPLUS_DEC",
[MPP_DEVICE_RKJPEGD] = "RKJPEGD",
[MPP_DEVICE_RKVENC] = "RKVENC",
[MPP_DEVICE_VEPU1] = "VEPU1",
[MPP_DEVICE_VEPU2] = "VEPU2",

View File

@ -58,7 +58,7 @@ enum MPP_DEVICE_TYPE {
MPP_DEVICE_HEVC_DEC = 8, /* 0x00000100 */
MPP_DEVICE_RKVDEC = 9, /* 0x00000200 */
MPP_DEVICE_AVSPLUS_DEC = 12, /* 0x00001000 */
MPP_DEVICE_JPGDEC = 13, /* 0x00002000 */
MPP_DEVICE_RKJPEGD = 13, /* 0x00002000 */
MPP_DEVICE_RKVENC = 16, /* 0x00010000 */
MPP_DEVICE_VEPU1 = 17, /* 0x00020000 */

View File

@ -558,7 +558,7 @@ static struct mpp_dev_ops jpgdec_v1_dev_ops = {
};
static const struct mpp_dev_var jpgdec_v1_data = {
.device_type = MPP_DEVICE_JPGDEC,
.device_type = MPP_DEVICE_RKJPEGD,
.hw_info = &jpgdec_v1_hw_info,
.trans_info = jpgdec_v1_trans,
.hw_ops = &jpgdec_v1_hw_ops,