|
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"#include "vulkan_video.h"Go to the source code of this file.
Data Structures | |
| struct | VulkanEncodeFFv1FrameData |
| struct | VulkanEncodeFFv1Context |
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 int | cmp_slice_order (const void *a, const void *b) |
| 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, 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 av_cold void | vulkan_encode_ffv1_flush (AVCodecContext *avctx) |
| 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 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 37 of file ffv1enc_vulkan.c.
| #define LG_ALIGN_H 32 |
Definition at line 38 of file ffv1enc_vulkan.c.
| #define RGB_LINECACHE 4 |
Definition at line 41 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 1534 of file ffv1enc_vulkan.c.
| #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 1535 of file ffv1enc_vulkan.c.
|
static |
Definition at line 111 of file ffv1enc_vulkan.c.
Referenced by vk_ffv1_end_frame(), and vulkan_encode_ffv1_submit_frame().
|
static |
Definition at line 167 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init(), and vulkan_encode_ffv1_submit_frame().
|
static |
Definition at line 181 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_submit_frame().
|
static |
Definition at line 212 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_submit_frame().
|
static |
Definition at line 243 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_submit_frame().
|
static |
Definition at line 274 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 753 of file ffv1enc_vulkan.c.
Referenced by get_packet().
|
static |
Definition at line 758 of file ffv1enc_vulkan.c.
Referenced by encode_init(), ff_vk_encode_loop_init(), and vulkan_encode_ffv1_init().
|
static |
Definition at line 825 of file ffv1enc_vulkan.c.
|
static |
Definition at line 832 of file ffv1enc_vulkan.c.
|
static |
Definition at line 839 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 874 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 917 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 966 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1013 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1055 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1104 of file ffv1enc_vulkan.c.
Referenced by vulkan_encode_ffv1_init().
|
static |
Definition at line 1213 of file ffv1enc_vulkan.c.
|
static |
Definition at line 1491 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().
|
static |
Definition at line 1536 of file ffv1enc_vulkan.c.
|
static |
Definition at line 1586 of file ffv1enc_vulkan.c.
|
static |
Definition at line 1591 of file ffv1enc_vulkan.c.
| const AVCodecHWConfigInternal* const vulkan_encode_ffv1_hw_configs[] |
Definition at line 1598 of file ffv1enc_vulkan.c.
| const FFCodec ff_ffv1_vulkan_encoder |
Definition at line 1603 of file ffv1enc_vulkan.c.