mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavc/vaapi_encode: Add hardware config metadata
These encoders all accept VAAPI surfaces in a hardware frames context.
This commit is contained in:
parent
5a1ff44907
commit
344e6c3ff1
8 changed files with 14 additions and 0 deletions
|
|
@ -27,6 +27,11 @@
|
|||
#include "vaapi_encode.h"
|
||||
#include "avcodec.h"
|
||||
|
||||
const AVCodecHWConfigInternal *ff_vaapi_encode_hw_configs[] = {
|
||||
HW_CONFIG_ENCODER_FRAMES(VAAPI, VAAPI),
|
||||
NULL,
|
||||
};
|
||||
|
||||
static const char * const picture_type_name[] = { "IDR", "I", "P", "B" };
|
||||
|
||||
static int vaapi_encode_make_packed_header(AVCodecContext *avctx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue