FFmpeg
|
#include <vulkan_encode.h>
Data Fields | |
int | flags |
Codec feature flags. More... | |
size_t | picture_priv_data_size |
Size of the codec-specific picture struct. More... | |
size_t | filler_header_size |
Size of the filler header. More... | |
int(* | init_profile )(AVCodecContext *avctx, VkVideoProfileInfoKHR *profile, void *pnext) |
Initialize codec-specific structs in a Vulkan profile. More... | |
int(* | init_pic_rc )(AVCodecContext *avctx, FFHWBaseEncodePicture *pic, VkVideoEncodeRateControlInfoKHR *rc_info, VkVideoEncodeRateControlLayerInfoKHR *rc_layer) |
Initialize codec-specific rate control structures for a picture. More... | |
int(* | init_pic_params )(AVCodecContext *avctx, FFHWBaseEncodePicture *pic, VkVideoEncodeInfoKHR *encode_info) |
Initialize codec-specific picture parameters. More... | |
int(* | write_sequence_headers )(AVCodecContext *avctx, FFHWBaseEncodePicture *base_pic, uint8_t *data, size_t *data_len) |
Callback for writing stream headers. More... | |
int(* | write_filler )(AVCodecContext *avctx, uint32_t filler, uint8_t *data, size_t *data_len) |
Callback for writing alignment data. More... | |
int(* | write_extra_headers )(AVCodecContext *avctx, FFHWBaseEncodePicture *pic, uint8_t *data, size_t *data_len) |
Callback for writing any extra units requested. More... | |
Definition at line 90 of file vulkan_encode.h.
int FFVulkanCodec::flags |
Codec feature flags.
Definition at line 94 of file vulkan_encode.h.
size_t FFVulkanCodec::picture_priv_data_size |
Size of the codec-specific picture struct.
Definition at line 102 of file vulkan_encode.h.
size_t FFVulkanCodec::filler_header_size |
Size of the filler header.
Definition at line 107 of file vulkan_encode.h.
int(* FFVulkanCodec::init_profile) (AVCodecContext *avctx, VkVideoProfileInfoKHR *profile, void *pnext) |
Initialize codec-specific structs in a Vulkan profile.
Definition at line 112 of file vulkan_encode.h.
Referenced by ff_vulkan_encode_init().
int(* FFVulkanCodec::init_pic_rc) (AVCodecContext *avctx, FFHWBaseEncodePicture *pic, VkVideoEncodeRateControlInfoKHR *rc_info, VkVideoEncodeRateControlLayerInfoKHR *rc_layer) |
Initialize codec-specific rate control structures for a picture.
Definition at line 118 of file vulkan_encode.h.
int(* FFVulkanCodec::init_pic_params) (AVCodecContext *avctx, FFHWBaseEncodePicture *pic, VkVideoEncodeInfoKHR *encode_info) |
Initialize codec-specific picture parameters.
Definition at line 125 of file vulkan_encode.h.
int(* FFVulkanCodec::write_sequence_headers) (AVCodecContext *avctx, FFHWBaseEncodePicture *base_pic, uint8_t *data, size_t *data_len) |
Callback for writing stream headers.
Definition at line 131 of file vulkan_encode.h.
int(* FFVulkanCodec::write_filler) (AVCodecContext *avctx, uint32_t filler, uint8_t *data, size_t *data_len) |
Callback for writing alignment data.
Definition at line 138 of file vulkan_encode.h.
int(* FFVulkanCodec::write_extra_headers) (AVCodecContext *avctx, FFHWBaseEncodePicture *pic, uint8_t *data, size_t *data_len) |
Callback for writing any extra units requested.
data_len must be set to the available size, and its value will be overwritten by the #bytes written to the output buffer.
Definition at line 146 of file vulkan_encode.h.