media: uapi: HEVC: Change pic_order_cnt definition in v4l2_hevc_dpb_entry
The HEVC specification describes the following: "PicOrderCntVal is derived as follows: PicOrderCntVal = PicOrderCntMsb + slice_pic_order_cnt_lsb The value of PicOrderCntVal shall be in the range of −2^31 to 2^31 − 1, inclusive." To match with these definitions change __u16 pic_order_cnt[2] into __s32 pic_order_cnt_val. Change v4l2_ctrl_hevc_slice_params->slice_pic_order_cnt to __s32 too. Signed-off-by:Benjamin Gaignard <benjamin.gaignard@collabora.com> Reviewed-by:
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Acked-by:
Nicolas Dufresne <nicolas.dufresne@collabora.com> Tested-by:
Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by:
Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org>
Showing
- Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst 1 addition, 1 deletionDocumentation/userspace-api/media/v4l/ext-ctrls-codec.rst
- drivers/staging/media/hantro/hantro_g2_hevc_dec.c 3 additions, 4 deletionsdrivers/staging/media/hantro/hantro_g2_hevc_dec.c
- drivers/staging/media/hantro/hantro_hevc.c 1 addition, 1 deletiondrivers/staging/media/hantro/hantro_hevc.c
- drivers/staging/media/hantro/hantro_hw.h 2 additions, 2 deletionsdrivers/staging/media/hantro/hantro_hw.h
- drivers/staging/media/sunxi/cedrus/cedrus_h265.c 2 additions, 2 deletionsdrivers/staging/media/sunxi/cedrus/cedrus_h265.c
- include/media/hevc-ctrls.h 2 additions, 2 deletionsinclude/media/hevc-ctrls.h
Please register or sign in to comment