This is continuation of https://lkml.org/lkml/2019/5/30/1459 with several patches removed (2 merged, others needs redesign) and one added. Patch 1 fixes h264 playback issue which happens in rare cases. Patch 2 sets PPS default reference index count in register from PPS control. Currently it was set to values from slice control. Patch 3 replaces direct accesses to capture queue from m2m contex with helpers which was designed exactly for that. It's also safer since helpers do some checks. Best regards, Jernej Jernej Skrabec (3): media: cedrus: Fix decoding for some H264 videos media: cedrus: Fix H264 default reference index count media: cedrus: Use helpers to access capture queue drivers/staging/media/sunxi/cedrus/cedrus.h | 8 +++- .../staging/media/sunxi/cedrus/cedrus_h264.c | 46 ++++++++++++++----- .../staging/media/sunxi/cedrus/cedrus_regs.h | 3 ++ 3 files changed, 44 insertions(+), 13 deletions(-) -- 2.23.0