aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_encode.h
diff options
context:
space:
mode:
authorMark Thompson <mrt@jkqxz.net>2017-01-09 19:17:37 +0000
committerMark Thompson <sw@jkqxz.net>2017-02-08 19:14:05 +0000
commit3b95c7c17de0c5048eb1d38454e1c88e85517067 (patch)
treebca51519918d55b99d348ab41b1f5b728e8705fe /libavcodec/vaapi_encode.h
parenteefa4b76ee5a1059a36d8bd77b123c2cfbfea604 (diff)
downloadffmpeg-3b95c7c17de0c5048eb1d38454e1c88e85517067.tar.gz
vaapi_encode: Add MPEG-2 support
(cherry picked from commit ca6ae3b77a7e6600e517723b90e57527a47809de)
Diffstat (limited to 'libavcodec/vaapi_encode.h')
-rw-r--r--libavcodec/vaapi_encode.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/vaapi_encode.h b/libavcodec/vaapi_encode.h
index ed209c0c6e..2c1b7cf7c4 100644
--- a/libavcodec/vaapi_encode.h
+++ b/libavcodec/vaapi_encode.h
@@ -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;