vaapi_encode: Add MPEG-2 support

This commit is contained in:
Mark Thompson 2017-01-09 19:17:37 +00:00 committed by Mark Thompson
parent 3c2717e48d
commit ca6ae3b77a
8 changed files with 481 additions and 3 deletions

View file

@ -35,8 +35,8 @@ enum {
MAX_CONFIG_ATTRIBUTES = 4,
MAX_GLOBAL_PARAMS = 4,
MAX_PICTURE_REFERENCES = 2,
MAX_PICTURE_SLICES = 1,
MAX_PARAM_BUFFERS = 16,
MAX_PICTURE_SLICES = 112,
MAX_PARAM_BUFFERS = 128,
MAX_REORDER_DELAY = 16,
MAX_PARAM_BUFFER_SIZE = 1024,
};
@ -49,6 +49,7 @@ enum {
};
typedef struct VAAPIEncodeSlice {
int index;
void *priv_data;
void *codec_slice_params;
} VAAPIEncodeSlice;