Commit dea0a82f authored by Hertz Wong's avatar Hertz Wong Committed by Mauro Carvalho Chehab

media: hantro: Add support for H264 decoding on G1

Add the G1 specific bits to support H264 decoding.
Signed-off-by: default avatarHertz Wong <hertz.wong@rock-chips.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Tested-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent a9471e25
...@@ -4,6 +4,7 @@ hantro-vpu-y += \ ...@@ -4,6 +4,7 @@ hantro-vpu-y += \
hantro_drv.o \ hantro_drv.o \
hantro_v4l2.o \ hantro_v4l2.o \
hantro_h1_jpeg_enc.o \ hantro_h1_jpeg_enc.o \
hantro_g1_h264_dec.o \
hantro_g1_mpeg2_dec.o \ hantro_g1_mpeg2_dec.o \
hantro_g1_vp8_dec.o \ hantro_g1_vp8_dec.o \
rk3399_vpu_hw_jpeg_enc.o \ rk3399_vpu_hw_jpeg_enc.o \
......
This diff is collapsed.
...@@ -161,6 +161,7 @@ void hantro_jpeg_enc_exit(struct hantro_ctx *ctx); ...@@ -161,6 +161,7 @@ void hantro_jpeg_enc_exit(struct hantro_ctx *ctx);
struct vb2_buffer *hantro_h264_get_ref_buf(struct hantro_ctx *ctx, struct vb2_buffer *hantro_h264_get_ref_buf(struct hantro_ctx *ctx,
unsigned int dpb_idx); unsigned int dpb_idx);
int hantro_h264_dec_prepare_run(struct hantro_ctx *ctx); int hantro_h264_dec_prepare_run(struct hantro_ctx *ctx);
void hantro_g1_h264_dec_run(struct hantro_ctx *ctx);
int hantro_h264_dec_init(struct hantro_ctx *ctx); int hantro_h264_dec_init(struct hantro_ctx *ctx);
void hantro_h264_dec_exit(struct hantro_ctx *ctx); void hantro_h264_dec_exit(struct hantro_ctx *ctx);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment