“74bc2ecfb5ca14d22eec1b6b8d476735067fa8db”上不存在“test/java/beans/XMLDecoder/spec/TestClass.java”
media: rkvdec: h264: Fix dpb_valid implementation
The ref builder only provided references that are marked as valid in the dpb. Thus the current implementation of dpb_valid would always set the flag to 1. This is not representing missing frames (this is called 'non-existing' pictures in the spec). In some context, these non-existing pictures still need to occupy a slot in the reference list according to the spec. Fixes: cd33c830 ("media: rkvdec: Add the rkvdec driver") Signed-off-by: NNicolas Dufresne <nicolas.dufresne@collabora.com> Reviewed-by: NSebastian Fricke <sebastian.fricke@collabora.com> Reviewed-by: NEzequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: NMauro Carvalho Chehab <mchehab@kernel.org>
Showing
想要评论请 注册 或 登录