mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-22 15:00:10 +01:00
lavc/vaapi_encode: Add hardware config metadata
These encoders all accept VAAPI surfaces in a hardware frames context.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user