Skip to content

Commit 7243c89

Browse files
Elyotnachewitt
authored andcommitted
WIP: media: meson: vdec: add support for HEVC decoding
NOTE: This is an attempt to resurrect Maxime Jourdan's experimental HEVC code and test it. Anyone picking this commit to their sources should be aware that this code is far from complete/working and has issues !!!
1 parent b9365c0 commit 7243c89

File tree

13 files changed

+1652
-100
lines changed

13 files changed

+1652
-100
lines changed

drivers/staging/media/meson/vdec/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
meson-vdec-objs = esparser.o vdec.o vdec_helpers.o vdec_platform.o
55
meson-vdec-objs += vdec_1.o vdec_hevc.o
6-
meson-vdec-objs += codec_mpeg12.o codec_h264.o codec_hevc_common.o codec_vp9.o
6+
meson-vdec-objs += codec_mpeg12.o codec_h264.o codec_hevc_common.o codec_hevc.o codec_vp9.o
77

88
obj-$(CONFIG_VIDEO_MESON_VDEC) += meson-vdec.o

drivers/staging/media/meson/vdec/codec_h264.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ static void codec_h264_src_change(struct amvdec_session *sess)
353353
frame_width, frame_height, crop_right, crop_bottom);
354354

355355
codec_h264_set_par(sess);
356-
amvdec_src_change(sess, frame_width, frame_height, h264->max_refs + 5);
356+
amvdec_src_change(sess, frame_width, frame_height,
357+
h264->max_refs + 5, 8);
357358
}
358359

359360
/*

0 commit comments

Comments
 (0)