• Mark Thompson's avatar
    hwcontext_vaapi: Improve format mapping · 40724026
    Mark Thompson authored
    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.
    40724026
hwcontext_vaapi.c 51.5 KB