FFmpeg
Data Fields
SwsGraph Struct Reference

Filter graph, which represents a 'baked' pixel format conversion. More...

#include <graph.h>

Data Fields

SwsContextctx
 
AVSliceThreadslicethread
 
int num_threads
 
int incomplete
 
int noop
 
SwsPass ** passes
 Sorted sequence of filter passes to apply. More...
 
int num_passes
 
SwsContext opts_copy
 Cached copy of the public options that were used to construct this SwsGraph. More...
 
SwsFormat src
 Currently active format and processing parameters. More...
 
SwsFormat dst
 
int field
 
struct {
   const SwsPass *   pass
 
   SwsImg   input
 
   SwsImg   output
 
exec
 Temporary execution state inside sws_graph_run. More...
 

Detailed Description

Filter graph, which represents a 'baked' pixel format conversion.

Definition at line 94 of file graph.h.

Field Documentation

◆ ctx

SwsContext* SwsGraph::ctx

Definition at line 95 of file graph.h.

Referenced by add_legacy_sws_pass(), and sws_graph_create().

◆ slicethread

AVSliceThread* SwsGraph::slicethread

Definition at line 96 of file graph.h.

Referenced by sws_graph_create(), sws_graph_free(), and sws_graph_run().

◆ num_threads

int SwsGraph::num_threads

Definition at line 97 of file graph.h.

Referenced by pass_add().

◆ incomplete

int SwsGraph::incomplete

Definition at line 98 of file graph.h.

Referenced by add_legacy_sws_pass(), and get_chroma_pos().

◆ noop

int SwsGraph::noop

Definition at line 99 of file graph.h.

Referenced by init_passes().

◆ passes

SwsPass** SwsGraph::passes

Sorted sequence of filter passes to apply.

Definition at line 102 of file graph.h.

Referenced by pass_add(), sws_graph_free(), and sws_graph_run().

◆ num_passes

int SwsGraph::num_passes

Definition at line 103 of file graph.h.

Referenced by pass_add(), sws_graph_free(), and sws_graph_run().

◆ opts_copy

SwsContext SwsGraph::opts_copy

Cached copy of the public options that were used to construct this SwsGraph.

Used only to detect when the graph needs to be reinitialized.

Definition at line 109 of file graph.h.

Referenced by sws_graph_create(), and sws_graph_reinit().

◆ src

SwsFormat SwsGraph::src

Currently active format and processing parameters.

Definition at line 114 of file graph.h.

Referenced by init_passes(), sws_graph_create(), and sws_graph_reinit().

◆ dst

SwsFormat SwsGraph::dst

Definition at line 114 of file graph.h.

Referenced by init_passes(), sws_graph_create(), sws_graph_reinit(), and sws_scale_frame().

◆ field

int SwsGraph::field

Definition at line 115 of file graph.h.

Referenced by get_chroma_pos(), and sws_graph_create().

◆ pass

const SwsPass* SwsGraph::pass

Definition at line 119 of file graph.h.

Referenced by sws_graph_run(), and sws_graph_worker().

◆ input

SwsImg SwsGraph::input

Definition at line 120 of file graph.h.

Referenced by sws_graph_create(), sws_graph_run(), and sws_graph_worker().

◆ output

SwsImg SwsGraph::output

Definition at line 121 of file graph.h.

Referenced by sws_graph_create(), sws_graph_run(), and sws_graph_worker().

◆ exec

struct { ... } SwsGraph::exec

Temporary execution state inside sws_graph_run.

Referenced by sws_graph_create(), sws_graph_run(), and sws_graph_worker().


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