FFmpeg
Loading...
Searching...
No Matches
FRUCVulkanContext Struct Reference

Data Fields

FFVulkanContext vkctx
 
AVVulkanDeviceQueueFamilyqf
 compute queue family
 
AVVulkanDeviceQueueFamilyqf_of
 optical flow queue family
 
FFVkExecPool e
 compute execution pool
 
FFVkExecPool e_of
 optical flow execution pool
 
FFVulkanShader grayscale
 
FFVulkanShader interpolate
 
VkSampler sampler
 linear sampler for the video planes
 
VkSampler flow_sampler
 nearest sampler for the flow vectors
 
VkSemaphore sem_gray
 grayscale (compute) -> optical flow
 
VkSemaphore sem_flow
 optical flow -> interpolation (compute)
 
VkSemaphore sem_interp
 interpolation reads -> next pair optical flow
 
uint64_t gen
 source pair generation (sem_gray/sem_flow value)
 
uint64_t interp_value
 monotonic interpolation counter (sem_interp value)
 
VkOpticalFlowGridSizeFlagsNV grid_bit
 
int grid_size
 
VkFormat input_format
 grayscale input format
 
VkFormat flow_format
 flow vector format
 
int perf_level
 VkOpticalFlowPerformanceLevelNV.
 
int opt_grid_size
 requested grid in pixels (0 = finest)
 
int width
 luma width
 
int height
 luma height
 
int flow_width
 
int flow_height
 
float luma_weights [4][4]
 RGB->Y weights for the grayscale pass.
 
int gray_planes
 number of input planes the grayscale pass samples
 
FRUCFlowSlot slots [FRUC_NB_SLOTS]
 
int flow_valid
 flow computed for current (f0, f1) pair
 
char * requested_frame_rate
 output fps as an expression
 
AVRational dest_frame_rate
 output frames per second
 
AVRational srce_time_base
 timebase of source
 
AVRational dest_time_base
 timebase of destination
 
AVFramework
 
AVFramef0
 last frame
 
AVFramef1
 current frame
 
int64_t pts0
 last frame pts in dest_time_base
 
int64_t pts1
 current frame pts in dest_time_base
 
int64_t delta
 pts1 to pts0 delta
 
int flush
 1 if the filter is being flushed
 
int64_t start_pts
 pts of the first output frame
 
int64_t n
 output frame counter
 

Detailed Description

Definition at line 91 of file vf_fruc_vulkan.c.

Field Documentation

◆ vkctx

FFVulkanContext FRUCVulkanContext::vkctx

Definition at line 92 of file vf_fruc_vulkan.c.

◆ qf

AVVulkanDeviceQueueFamily* FRUCVulkanContext::qf

compute queue family

Definition at line 94 of file vf_fruc_vulkan.c.

◆ qf_of

AVVulkanDeviceQueueFamily* FRUCVulkanContext::qf_of

optical flow queue family

Definition at line 95 of file vf_fruc_vulkan.c.

◆ e

FFVkExecPool FRUCVulkanContext::e

compute execution pool

Definition at line 97 of file vf_fruc_vulkan.c.

◆ e_of

FFVkExecPool FRUCVulkanContext::e_of

optical flow execution pool

Definition at line 98 of file vf_fruc_vulkan.c.

◆ grayscale

FFVulkanShader FRUCVulkanContext::grayscale

Definition at line 100 of file vf_fruc_vulkan.c.

◆ interpolate

FFVulkanShader FRUCVulkanContext::interpolate

Definition at line 101 of file vf_fruc_vulkan.c.

◆ sampler

VkSampler FRUCVulkanContext::sampler

linear sampler for the video planes

Definition at line 102 of file vf_fruc_vulkan.c.

◆ flow_sampler

VkSampler FRUCVulkanContext::flow_sampler

nearest sampler for the flow vectors

Definition at line 103 of file vf_fruc_vulkan.c.

◆ sem_gray

VkSemaphore FRUCVulkanContext::sem_gray

grayscale (compute) -> optical flow

Definition at line 115 of file vf_fruc_vulkan.c.

◆ sem_flow

VkSemaphore FRUCVulkanContext::sem_flow

optical flow -> interpolation (compute)

Definition at line 116 of file vf_fruc_vulkan.c.

◆ sem_interp

VkSemaphore FRUCVulkanContext::sem_interp

interpolation reads -> next pair optical flow

Definition at line 117 of file vf_fruc_vulkan.c.

◆ gen

uint64_t FRUCVulkanContext::gen

source pair generation (sem_gray/sem_flow value)

Definition at line 118 of file vf_fruc_vulkan.c.

◆ interp_value

uint64_t FRUCVulkanContext::interp_value

monotonic interpolation counter (sem_interp value)

Definition at line 119 of file vf_fruc_vulkan.c.

◆ grid_bit

VkOpticalFlowGridSizeFlagsNV FRUCVulkanContext::grid_bit

Definition at line 122 of file vf_fruc_vulkan.c.

◆ grid_size

int FRUCVulkanContext::grid_size

Definition at line 123 of file vf_fruc_vulkan.c.

◆ input_format

VkFormat FRUCVulkanContext::input_format

grayscale input format

Definition at line 124 of file vf_fruc_vulkan.c.

◆ flow_format

VkFormat FRUCVulkanContext::flow_format

flow vector format

Definition at line 125 of file vf_fruc_vulkan.c.

◆ perf_level

int FRUCVulkanContext::perf_level

VkOpticalFlowPerformanceLevelNV.

Definition at line 128 of file vf_fruc_vulkan.c.

◆ opt_grid_size

int FRUCVulkanContext::opt_grid_size

requested grid in pixels (0 = finest)

Definition at line 129 of file vf_fruc_vulkan.c.

◆ width

int FRUCVulkanContext::width

luma width

Definition at line 131 of file vf_fruc_vulkan.c.

◆ height

int FRUCVulkanContext::height

luma height

Definition at line 132 of file vf_fruc_vulkan.c.

◆ flow_width

int FRUCVulkanContext::flow_width

Definition at line 133 of file vf_fruc_vulkan.c.

◆ flow_height

int FRUCVulkanContext::flow_height

Definition at line 134 of file vf_fruc_vulkan.c.

◆ luma_weights

float FRUCVulkanContext::luma_weights[4][4]

RGB->Y weights for the grayscale pass.

Definition at line 135 of file vf_fruc_vulkan.c.

◆ gray_planes

int FRUCVulkanContext::gray_planes

number of input planes the grayscale pass samples

Definition at line 136 of file vf_fruc_vulkan.c.

◆ slots

FRUCFlowSlot FRUCVulkanContext::slots[FRUC_NB_SLOTS]

Definition at line 139 of file vf_fruc_vulkan.c.

◆ flow_valid

int FRUCVulkanContext::flow_valid

flow computed for current (f0, f1) pair

Definition at line 141 of file vf_fruc_vulkan.c.

◆ requested_frame_rate

char* FRUCVulkanContext::requested_frame_rate

output fps as an expression

Definition at line 144 of file vf_fruc_vulkan.c.

◆ dest_frame_rate

AVRational FRUCVulkanContext::dest_frame_rate

output frames per second

Definition at line 145 of file vf_fruc_vulkan.c.

◆ srce_time_base

AVRational FRUCVulkanContext::srce_time_base

timebase of source

Definition at line 147 of file vf_fruc_vulkan.c.

◆ dest_time_base

AVRational FRUCVulkanContext::dest_time_base

timebase of destination

Definition at line 148 of file vf_fruc_vulkan.c.

◆ work

AVFrame* FRUCVulkanContext::work

Definition at line 150 of file vf_fruc_vulkan.c.

◆ f0

AVFrame* FRUCVulkanContext::f0

last frame

Definition at line 152 of file vf_fruc_vulkan.c.

◆ f1

AVFrame* FRUCVulkanContext::f1

current frame

Definition at line 153 of file vf_fruc_vulkan.c.

◆ pts0

int64_t FRUCVulkanContext::pts0

last frame pts in dest_time_base

Definition at line 154 of file vf_fruc_vulkan.c.

◆ pts1

int64_t FRUCVulkanContext::pts1

current frame pts in dest_time_base

Definition at line 155 of file vf_fruc_vulkan.c.

◆ delta

int64_t FRUCVulkanContext::delta

pts1 to pts0 delta

Definition at line 156 of file vf_fruc_vulkan.c.

◆ flush

int FRUCVulkanContext::flush

1 if the filter is being flushed

Definition at line 157 of file vf_fruc_vulkan.c.

◆ start_pts

int64_t FRUCVulkanContext::start_pts

pts of the first output frame

Definition at line 158 of file vf_fruc_vulkan.c.

◆ n

int64_t FRUCVulkanContext::n

output frame counter

Definition at line 159 of file vf_fruc_vulkan.c.


The documentation for this struct was generated from the following file: