[ Upstream commit ae440c5da33cdb90a109f2df2a0360c67b3fab7e ] Some drivers firmwares parse by themselves slice header and need num_delta_pocs_of_ref_rps_idx value to parse slice header short_term_ref_pic_set(). Use one of the 4 reserved bytes to store this value without changing the v4l2_ctrl_hevc_decode_params structure size and padding. This value also exist in DXVA API. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil: fix typo in num_delta_pocs_of_ref_rps_idx doc] Stable-dep-of: 297160d411e3 ("media: mediatek: vcodec: move core context from device to each instance") Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
cec | ||
drivers | ||
dvb | ||
mediactl | ||
rc | ||
v4l | ||
ca.h.rst.exceptions | ||
cec.h.rst.exceptions | ||
conf_nitpick.py | ||
dmx.h.rst.exceptions | ||
fdl-appendix.rst | ||
frontend.h.rst.exceptions | ||
gen-errors.rst | ||
glossary.rst | ||
index.rst | ||
intro.rst | ||
lirc.h.rst.exceptions | ||
Makefile | ||
media.h.rst.exceptions | ||
net.h.rst.exceptions | ||
typical_media_device.svg | ||
videodev2.h.rst.exceptions |