summaryrefslogtreecommitdiff
path: root/libavcodec/h264_levels.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-09-18 23:30:56 +0100
committerMark Thompson <sw@jkqxz.net>2018-09-23 14:42:34 +0100
commit40724026b7055c9951b579393e2c4178598f1194 (patch)
tree413d4e2f2f6963e04cb94d611ac09051654bbbbb /libavcodec/h264_levels.c
parent930aad6a3617406f292f5505af3cd38000da04f1 (diff)
downloadffmpeg-40724026b7055c9951b579393e2c4178598f1194.tar.gz
hwcontext_vaapi: Improve format mapping
Give the entries in the VAAPI format map table an explicit type and add functions to do the necessary lookups. Add another field to this table indicating whether the chroma planes are swapped (as in YV12), and use that rather than explicit comparisons where swapping is needed.
Diffstat (limited to 'libavcodec/h264_levels.c')
0 files changed, 0 insertions, 0 deletions