Add support for MPEG2 quantization matrices

This adds support for MPEG2 quantization matrices, which are optional
given that fallback default matrices are used (on the kernel side) when
no such matrix is provided.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-07-25 14:19:34 +02:00
parent 815f38a6a7
commit 7d1ac10517
3 changed files with 42 additions and 0 deletions
+2
View File
@@ -64,6 +64,8 @@ struct object_surface {
union {
struct {
VAPictureParameterBufferMPEG2 picture;
VAIQMatrixBufferMPEG2 iqmatrix;
bool iqmatrix_set;
} mpeg2;
struct {
VAIQMatrixBufferH264 matrix;