summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_ps.h
Commit message (Collapse)AuthorAgeFilesLines
* h264_ps: export actual height in MBs as SPS.mb_heightAnton Khirnov2016-07-111-1/+2
| | | | | | | | | | | | Currently, SPS.mb_height is actually what the spec calls PicHeightInMapUnits, which is half the frame height when interlacing is allowed. Calling this 'mb_height' is quite confusing, and there are at least two associated bugs where this field is treated as the actual frame height - in the h264 parser and in the code computing maximum reordering buffer size for a given level. Fix those issues (and avoid possible future ones) by exporting the real frame height in this field.
* h264: move the parameter set definitions to a new header fileAnton Khirnov2016-06-211-0/+154
The PS parsing code is independent from the decoder, so it makes more sense for it to have its own separate header.
OpenPOWER on IntegriCloud