|
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 1620 of file ffv1enc_vulkan.c.
| #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 1621 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 778 of file ffv1enc_vulkan.c.
Referenced by get_packet().
|
static |
Definition at line 783 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_receive_packet().
|
static |
Definition at line 859 of file ffv1enc_vulkan.c.
|
static |
Definition at line 913 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 948 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 991 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1039 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1086 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1128 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1177 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1281 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1311 of file ffv1enc_vulkan.c.
|
static |
Definition at line 1576 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 1622 of file ffv1enc_vulkan.c.
|
static |
Definition at line 1672 of file ffv1enc_vulkan.c.
|
static |
Definition at line 1677 of file ffv1enc_vulkan.c.
| const AVCodecHWConfigInternal* const vulkan_encode_ffv1_hw_configs[] |
Definition at line 1684 of file ffv1enc_vulkan.c.
| const FFCodec ff_ffv1_vulkan_encoder |
Definition at line 1689 of file ffv1enc_vulkan.c.