mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
vaapi_encode: Allocate picture-private data in generic code
This commit is contained in:
parent
8ca55a2b9e
commit
26ce3a43a3
2 changed files with 16 additions and 3 deletions
|
|
@ -268,6 +268,10 @@ typedef struct VAAPIEncodeType {
|
|||
// add any necessary global parameters).
|
||||
int (*configure)(AVCodecContext *avctx);
|
||||
|
||||
// The size of any private data structure associated with each
|
||||
// picture (can be zero if not required).
|
||||
size_t picture_priv_data_size;
|
||||
|
||||
// The size of the parameter structures:
|
||||
// sizeof(VAEnc{type}ParameterBuffer{codec}).
|
||||
size_t sequence_params_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue