19 #ifndef AVCODEC_VAAPI_ENCODE_H 20 #define AVCODEC_VAAPI_ENCODE_H 150 VAEncMiscParameterRateControl
rc;
153 VAEncMiscParameterBuffer misc;
154 VAEncMiscParameterHRD
hrd;
157 VAEncMiscParameterBuffer misc;
158 VAEncMiscParameterFrameRate
fr;
160 #if VA_CHECK_VERSION(0, 36, 0) 162 VAEncMiscParameterBuffer misc;
163 VAEncMiscParameterBufferQualityLevel quality;
189 ISSUE_MODE_SERIALISE_EVERYTHING = 0,
213 char codec_options_data[0];
249 char *
data,
size_t *data_len);
252 char *
data,
size_t *data_len);
256 char *
data,
size_t *data_len);
265 char *
data,
size_t *data_len);
273 char *
data,
size_t *data_len);
278 const AVFrame *input_image,
int *got_packet);
This struct aggregates all the (hardware/vendor-specific) "high-level" state, i.e.
VASurfaceID input_surface
VAEncMiscParameterBuffer misc
This structure describes decoded (raw) audio or video data.
VAEntrypoint va_entrypoint
void * codec_sequence_params
AVBufferRef * input_frames_ref
VAEncMiscParameterHRD hrd
size_t picture_params_size
AVHWDeviceContext * device
API-specific header for AV_HWDEVICE_TYPE_VAAPI.
unsigned int va_packed_headers
VAEncMiscParameterFrameRate fr
AVBufferRef * output_buffer_ref
VABufferID * param_buffers
VASurfaceID recon_surface
int ff_vaapi_encode_init(AVCodecContext *avctx)
AVHWFramesContext * input_frames
int ff_vaapi_encode_close(AVCodecContext *avctx)
void * codec_picture_params
AVHWFramesContext * recon_frames
VAAPIEncodeSlice * slices
unsigned int va_rt_format
struct VAAPIEncodePicture * next
void * codec_picture_params
AVBufferPool * output_buffer_pool
struct VAAPIEncodePicture * refs[MAX_PICTURE_REFERENCES]
int ff_vaapi_encode2(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *input_image, int *got_packet)
const struct VAAPIEncodeType * codec
Libavcodec external API header.
VAAPIEncodePicture * pic_start
main external API structure.
Describe the class of an AVClass context structure.
This struct describes a set or pool of "hardware" frames (i.e.
AVBufferRef * recon_frames_ref
VAEncMiscParameterRateControl rc
A reference to a data buffer.
size_t sequence_params_size
void * codec_slice_params
VAAPI connection details.
This structure stores compressed data.
AVVAAPIDeviceContext * hwctx