History

lavc/vaapi_encode: Add hardware config metadata

These encoders all accept VAAPI surfaces in a hardware frames context.

Mark Thompson committed 6 years ago

Commit 344e6c31 parent 5a1ff448 files · +14 −0Browse files

Showing the changes to libavcodec/vaapi_encode.h (1 of 8 files). Show all

Unified · Split

libavcodec/vaapi_encode.h+3−0
@@ -31,6 +31,7 @@ · 30 unmodified lines
3131 #include "libavutil/hwcontext_vaapi.h"
3232
3333 #include "avcodec.h"
34+#include "hwconfig.h"
3435
3536 struct VAAPIEncodeType;
3637 struct VAAPIEncodePicture;
@@ -44,6 +45,8 @@ enum { · 7 unmodified lines
4445 MAX_PARAM_BUFFER_SIZE = 1024,
4546 };
4647
48+extern const AVCodecHWConfigInternal *ff_vaapi_encode_hw_configs[];
49+
4750 enum {
4851 PICTURE_TYPE_IDR = 0,
4952 PICTURE_TYPE_I = 1,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t