intel / media-driver

Intel Graphics Media Driver to support hardware decode, encode and video processing.
https://github.com/intel/media-driver/wiki
Other
1.01k stars 346 forks source link

[DDI] Fixed incorrect convert FOURCC to GMM format (P012) #1870

Open GermanAizek opened 3 weeks ago

GermanAizek commented 3 weeks ago

Affected function parameter uint32_t fourcc with enum value VA_FOURCC_P012 (0x32313050)

More info about P012 format.

P012: two-plane 12-bit YUV 4:2:0.
Each sample is a two-byte little-endian value with the bottom four bits ignored.
The first plane contains Y, the second plane contains U and V in pairs of samples.