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

Represents an output buffer for a filter pass. More...

#include <graph.h>

Data Fields

SwsFrame frame
 
int width
 
int height
 
AVFrameavframe
 
int width_align
 
int width_pad
 
int plane_copy [4]
 Map of planes which are directly copied from the pass input.
 

Detailed Description

Represents an output buffer for a filter pass.

During filter graph construction, these merely hold the metadata. Allocation of the underlying storage is deferred until after all filter passes are settled.

Definition at line 60 of file graph.h.

Field Documentation

◆ frame

SwsFrame SwsPassBuffer::frame

Definition at line 61 of file graph.h.

Referenced by ff_sws_graph_run().

◆ width

int SwsPassBuffer::width

Definition at line 63 of file graph.h.

Referenced by ff_sws_graph_add_pass(), and ff_sws_pass_link_output().

◆ height

int SwsPassBuffer::height

Definition at line 63 of file graph.h.

Referenced by ff_sws_graph_add_pass(), and ff_sws_pass_link_output().

◆ avframe

AVFrame* SwsPassBuffer::avframe

Definition at line 64 of file graph.h.

Referenced by ff_sws_graph_run(), init_passes(), and pass_alloc_output().

◆ width_align

int SwsPassBuffer::width_align

◆ width_pad

int SwsPassBuffer::width_pad

Definition at line 68 of file graph.h.

Referenced by align_pass(), ff_sws_pass_aligned_width(), and ff_sws_pass_link_output().

◆ plane_copy

int SwsPassBuffer::plane_copy[4]

Map of planes which are directly copied from the pass input.

These may be promoted from a memcpy to a refcopy.

Each entry maps the output index to the corresponding input plane index, or -1 for no copythrough.

Definition at line 77 of file graph.h.

Referenced by ff_sws_graph_add_pass(), ff_sws_pass_link_output(), init_passes(), and op_list_get_plane_copy().


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