|
FFmpeg
|
#include "libavutil/mem.h"#include "libavutil/vulkan.h"#include "avcodec.h"#include "internal.h"#include "hwconfig.h"#include "encode.h"#include "libavutil/opt.h"#include "codec_internal.h"#include "ffv1.h"#include "ffv1enc.h"#include "ffv1_vulkan.h"Go to the source code of this file.
Data Structures | |
| struct | VulkanEncodeFFv1FrameData |
| struct | VulkanEncodeFFv1Context |
| struct | SegGatherPushData |
Macros | |
| #define | LG_ALIGN_W 32 |
| #define | LG_ALIGN_H 32 |
| #define | RGB_LINECACHE 4 |
| #define | OFFSET(x) |
| #define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
| static size_t | ffv1_vk_buffer_size (AVCodecContext *avctx) |
| static int | run_rct_search (AVCodecContext *avctx, FFVkExecContext *exec, AVFrame *enc_in, VkImageView *enc_in_views, FFVkBuffer *slice_data_buf, uint32_t slice_data_size, FFv1ShaderParams *pd) |
| static int | run_remap (AVCodecContext *avctx, FFVkExecContext *exec, AVFrame *enc_in, VkImageView *enc_in_views, FFVkBuffer *fltmap_buf, uint32_t fltmap_size, FFv1ShaderParams *pd) |
| static int | run_sort32 (AVCodecContext *avctx, FFVkExecContext *exec, AVFrame *enc_in, VkImageView *enc_in_views, FFVkBuffer *units_buf, uint32_t units_size, FFv1ShaderParams *pd) |
| static int | vulkan_encode_ffv1_submit_frame (AVCodecContext *avctx, FFVkExecContext *exec, const AVFrame *pict) |
| static void | ffv1_vk_packet_free (void *opaque, uint8_t *data) |
| static int | get_packet (AVCodecContext *avctx, FFVkExecContext *exec, AVPacket *pkt) |
| static int | vulkan_encode_ffv1_receive_packet (AVCodecContext *avctx, AVPacket *pkt) |
| static int | init_indirect (AVCodecContext *avctx, enum AVPixelFormat sw_format) |
| static int | init_rct_search_shader (AVCodecContext *avctx, VkSpecializationInfo *sl) |
| static int | init_sort32_shader (AVCodecContext *avctx, VkSpecializationInfo *sl) |
| static int | init_remap_shader (AVCodecContext *avctx, VkSpecializationInfo *sl) |
| static int | init_setup_shader (AVCodecContext *avctx, VkSpecializationInfo *sl) |
| static int | init_reset_shader (AVCodecContext *avctx, VkSpecializationInfo *sl) |
| static int | init_encode_shader (AVCodecContext *avctx, VkSpecializationInfo *sl) |
| static int | init_gather_shader (AVCodecContext *avctx) |
| static av_cold int | vulkan_encode_ffv1_init (AVCodecContext *avctx) |
| static av_cold int | vulkan_encode_ffv1_close (AVCodecContext *avctx) |
| #define LG_ALIGN_W 32 |
Definition at line 36 of file ffv1enc_vulkan.c.
| #define LG_ALIGN_H 32 |
Definition at line 37 of file ffv1enc_vulkan.c.
| #define RGB_LINECACHE 4 |
Definition at line 40 of file ffv1enc_vulkan.c.
Referenced by init_indirect(), init_indirect(), vk_decode_ffv1_init(), and vulkan_encode_ffv1_init().
| #define OFFSET | ( | x | ) |
Definition at line 1613 of file ffv1enc_vulkan.c.
| #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 1614 of file ffv1enc_vulkan.c.
|
static |
Definition at line 173 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init(), and vulkan_encode_ffv1_submit_frame().
|
static |
Definition at line 187 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_submit_frame().
|
static |
Definition at line 218 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_submit_frame().
|
static |
Definition at line 249 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_submit_frame().
|
static |
Definition at line 280 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_receive_packet().
|
static |
Definition at line 773 of file ffv1enc_vulkan.c.
Referenced by get_packet().
|
static |
Definition at line 778 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_receive_packet().
|
static |
Definition at line 854 of file ffv1enc_vulkan.c.
|
static |
Definition at line 908 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 943 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 986 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1034 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1081 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1123 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1172 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1276 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1306 of file ffv1enc_vulkan.c.
|
static |
Definition at line 1569 of file ffv1enc_vulkan.c.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Referenced by init_setup_shader().
|
extern |
Referenced by init_setup_shader().
|
extern |
Referenced by init_reset_shader().
|
extern |
Referenced by init_reset_shader().
|
extern |
Referenced by init_reset_shader().
|
extern |
Referenced by init_reset_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_rct_search_shader().
|
extern |
Referenced by init_rct_search_shader().
|
extern |
Referenced by init_remap_shader().
|
extern |
Referenced by init_remap_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_sort32_shader().
|
extern |
Referenced by init_sort32_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
Referenced by init_encode_shader().
|
extern |
|
extern |
|
static |
Definition at line 1615 of file ffv1enc_vulkan.c.
|
static |
Definition at line 1665 of file ffv1enc_vulkan.c.
|
static |
Definition at line 1670 of file ffv1enc_vulkan.c.
| const AVCodecHWConfigInternal* const vulkan_encode_ffv1_hw_configs[] |
Definition at line 1677 of file ffv1enc_vulkan.c.
| const FFCodec ff_ffv1_vulkan_encoder |
Definition at line 1682 of file ffv1enc_vulkan.c.