diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2020-08-25 05:52:33 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-01 14:13:28 +0200 |
commit | f9879eb378295e8a912d2d10c872c45f3e19421b (patch) | |
tree | d26a45b4ea8b003861b2334d616dc20c0aa1ad9c /include/soc | |
parent | c02ff21952a6a19ca375b9dc4f9a5609616a82b8 (diff) | |
download | linux-f9879eb378295e8a912d2d10c872c45f3e19421b.tar.bz2 |
media: uapi: h264: Increase size of DPB entry pic_num
DPB entry PicNum maximum value is 2*MaxFrameNum for interlaced
content (field_pic_flag=1).
As specified, MaxFrameNum is 2^(log2_max_frame_num_minus4 + 4)
and log2_max_frame_num_minus4 is in the range of 0 to 12,
which means pic_num should be a 32-bit field.
The v4l2_h264_dpb_entry struct needs to be padded to avoid a hole,
which might be also useful to allow future uAPI extensions.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Tested-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions