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
31#include "libavutil/hwcontext_vaapi.h"31#include "libavutil/hwcontext_vaapi.h"
32 32
33#include "avcodec.h"33#include "avcodec.h"
34#include "hwconfig.h"
34 35
35struct VAAPIEncodeType;36struct VAAPIEncodeType;
36struct VAAPIEncodePicture;37struct VAAPIEncodePicture;
@@ -44,6 +45,8 @@ enum { · 7 unmodified lines
44 MAX_PARAM_BUFFER_SIZE = 1024,45 MAX_PARAM_BUFFER_SIZE = 1024,
45};46};
46 47
48extern const AVCodecHWConfigInternal *ff_vaapi_encode_hw_configs[];
49
47enum {50enum {
48 PICTURE_TYPE_IDR = 0,51 PICTURE_TYPE_IDR = 0,
49 PICTURE_TYPE_I = 1,52 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