|
FFmpeg
|
Frame loop for compute encoders. More...
#include <vulkan_video.h>
Data Fields | ||
| FFVulkanContext * | s | |
| FFVkExecPool * | pool | |
| int(* | submit_frame )(AVCodecContext *avctx, FFVkExecContext *exec, AVFrame *frame) | |
| int(* | get_packet )(AVCodecContext *avctx, FFVkExecContext *exec, AVPacket *pkt) | |
| AVFrame * | frame | |
| AVPacket * | pkt | |
| struct { | ||
| int64_t pts | ||
| int64_t duration | ||
| void * opaque | ||
| AVBufferRef * opaque_ref | ||
| } * | frames | |
| int | head | |
| int | in_flight | |
Frame loop for compute encoders.
Keeps up to pool_size frames in flight, submitting each into its own execution context, and returns their packets in order as soon as they complete, or once the pool is full.
Definition at line 163 of file vulkan_video.h.
| FFVulkanContext* FFVkEncodeLoop::s |
Definition at line 164 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_init(), and loop_oldest_done().
| FFVkExecPool* FFVkEncodeLoop::pool |
Definition at line 165 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_init(), ff_vk_encode_loop_receive_packet(), ff_vk_encode_loop_uninit(), loop_get_packet(), and loop_oldest_done().
| int(* FFVkEncodeLoop::submit_frame) (AVCodecContext *avctx, FFVkExecContext *exec, AVFrame *frame) |
Definition at line 166 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_init(), and ff_vk_encode_loop_receive_packet().
| int(* FFVkEncodeLoop::get_packet) (AVCodecContext *avctx, FFVkExecContext *exec, AVPacket *pkt) |
Definition at line 167 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_init(), and loop_get_packet().
| AVFrame* FFVkEncodeLoop::frame |
Definition at line 169 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_init(), ff_vk_encode_loop_receive_packet(), and ff_vk_encode_loop_uninit().
| AVPacket* FFVkEncodeLoop::pkt |
Definition at line 170 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_flush(), ff_vk_encode_loop_init(), and ff_vk_encode_loop_uninit().
| int64_t FFVkEncodeLoop::pts |
Definition at line 172 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_receive_packet(), and loop_get_packet().
| int64_t FFVkEncodeLoop::duration |
Definition at line 173 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_receive_packet(), and loop_get_packet().
| void* FFVkEncodeLoop::opaque |
Definition at line 174 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_receive_packet(), and loop_get_packet().
| AVBufferRef* FFVkEncodeLoop::opaque_ref |
Definition at line 175 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_receive_packet(), ff_vk_encode_loop_uninit(), and loop_get_packet().
| struct { ... } * FFVkEncodeLoop::frames |
| int FFVkEncodeLoop::head |
Definition at line 177 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_flush(), ff_vk_encode_loop_init(), ff_vk_encode_loop_receive_packet(), loop_get_packet(), and loop_oldest_done().
| int FFVkEncodeLoop::in_flight |
Definition at line 178 of file vulkan_video.h.
Referenced by ff_vk_encode_loop_flush(), ff_vk_encode_loop_init(), ff_vk_encode_loop_receive_packet(), loop_get_packet(), and loop_oldest_done().