diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2018-07-19 12:45:10 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-07-27 12:58:54 +0200 |
commit | 0dff710d1f939c3ca42960769431cf20c095dbce (patch) | |
tree | cbdfab23afdc78318b5aa6df9f674f004bf7704c /Documentation/media/media.h.rst.exceptions | |
parent | media: coda: let CODA960 firmware set frame cropping in SPS header (diff) | |
download | linux-0dff710d1f939c3ca42960769431cf20c095dbce.tar.xz linux-0dff710d1f939c3ca42960769431cf20c095dbce.zip |
media: coda: add SPS fixup code for frame sizes that are not multiples of 16
The CODA7541 firmware does not set the SPS frame cropping fields to
properly describe coded h.264 streams with frame sizes that are not a
multiple of the macroblock size.
This adds RBSP parsing code and a SPS fixup routine to manually replace
the cropping information in the headers produced by the firmware with
the correct values.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
[hans.verkuil@cisco.com: added explanation of SPS RBSP to comment]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/media/media.h.rst.exceptions')
0 files changed, 0 insertions, 0 deletions