Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | avcodec/h264_levels, h265_profile_level: Avoid relocations | Andreas Rheinhardt | 2021-09-04 |
| | | | | | | | | | | | | | | H.264 and H.265 levels' names are usually of the form "x" or "x.y" with x and y being single digits; the one exception are the H.264 1b levels. All of those levels' names fit into a char[4] and it is likely that this future levels will do so, too. Therefore this commit changes the H26(4|5)LevelDescriptor structures to use such a char [4] instead of a pointer to a const char. This makes the structures smaller (when sizeof(char*) == 8) and avoids relocations, thereby moving the corresponding arrays from .data.rel.ro into .rodata. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||
* | avcodec/h264_levels, h265_profile_level: Remove ff_h26[45]_get_level | Andreas Rheinhardt | 2021-02-02 |
| | | | | | | | Unused. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | ||
* | lavc/h264_levels: add MaxMBPS checking and update fate test. | Decai Lin | 2019-03-27 |
| | | | | | | | | | 1. add MaxMBPS checking for level idc setting to align with AVC spec AnnexA table A-1/A-6 level limits. 2. update h264 level fate test. Signed-off-by: Decai Lin <decai.lin@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net> | ||
* | lavc/h264: Add common code for level handling | Mark Thompson | 2018-09-23 |
Including a unit test. |