|
FFmpeg
|
Filter graph, which represents a 'baked' pixel format conversion. More...
#include <graph.h>
Data Fields | ||
| SwsContext * | ctx | |
| AVSliceThread * | slicethread | |
| int | num_threads | |
| bool | incomplete | |
| bool | noop | |
| SwsBackend | backend | |
| AVBufferRef * | hw_frames_ref | |
| int | plane_copy [4] | |
| Map of planes which directly copied from the input. | ||
| SwsPass ** | passes | |
| Sorted sequence of filter passes to apply. | ||
| int | num_passes | |
| SwsContext | opts_copy | |
| Cached copy of the public options that were used to construct this SwsGraph. | ||
| SwsFormat | src | |
| Currently active format and processing parameters. | ||
| SwsFormat | dst | |
| SwsLut3D * | lut3d | |
| 3DLUT state used for gamut/tone mapping. | ||
| struct { | ||
| const SwsPass * pass | ||
| const SwsFrame * input | ||
| const SwsFrame * output | ||
| } | exec | |
| Temporary execution state inside ff_sws_graph_run(); used to pass data to worker threads. | ||
Filter graph, which represents a 'baked' pixel format conversion.
| SwsContext* SwsGraph::ctx |
Definition at line 134 of file graph.h.
Referenced by add_convert_pass(), add_legacy_sws_pass(), add_ops_convert_pass(), collect_uops(), compile_single(), compile_subpass(), ff_sws_compile_pass(), ff_sws_graph_init(), generate_3dlut(), init_passes(), main(), main(), and pass_alloc_output().
| AVSliceThread* SwsGraph::slicethread |
Definition at line 135 of file graph.h.
Referenced by ff_sws_graph_init(), ff_sws_graph_run(), and graph_uninit().
| int SwsGraph::num_threads |
Definition at line 136 of file graph.h.
Referenced by ff_sws_graph_add_pass(), and ff_sws_graph_init().
| bool SwsGraph::incomplete |
Definition at line 137 of file graph.h.
Referenced by add_legacy_sws_pass(), add_ops_convert_pass(), generate_3dlut(), init_passes(), and sws_frame_setup().
| bool SwsGraph::noop |
Definition at line 138 of file graph.h.
Referenced by describe_passes(), init_passes(), and sws_frame_setup().
| SwsBackend SwsGraph::backend |
Definition at line 139 of file graph.h.
Referenced by ff_sws_graph_init().
| AVBufferRef* SwsGraph::hw_frames_ref |
| int SwsGraph::plane_copy[4] |
Map of planes which directly copied from the input.
These may be promoted from a memcpy to a refcopy. This requires special handling by the caller.
Each entry maps the output index to the corresponding input plane index, or -1 for no copythrough.
Definition at line 151 of file graph.h.
Referenced by ff_sws_graph_init(), init_passes(), and sws_scale_frame().
| SwsPass** SwsGraph::passes |
Sorted sequence of filter passes to apply.
Definition at line 154 of file graph.h.
Referenced by describe_passes(), ff_sws_graph_add_pass(), ff_sws_graph_init(), ff_sws_graph_rollback(), ff_sws_graph_run(), graph_uninit(), init_passes(), and sws_frame_setup().
| int SwsGraph::num_passes |
Definition at line 155 of file graph.h.
Referenced by describe_passes(), ff_sws_compile_pass(), ff_sws_graph_add_pass(), ff_sws_graph_init(), ff_sws_graph_rollback(), ff_sws_graph_run(), graph_uninit(), init_passes(), and sws_frame_setup().
| 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 161 of file graph.h.
Referenced by ff_sws_graph_init(), and ff_sws_graph_reinit().
| SwsFormat SwsGraph::src |
Currently active format and processing parameters.
Definition at line 166 of file graph.h.
Referenced by ff_sws_graph_init(), ff_sws_graph_reinit(), ff_sws_graph_run(), ff_sws_graph_update_metadata(), init_passes(), and pass_alloc_output().
| SwsFormat SwsGraph::dst |
Definition at line 166 of file graph.h.
Referenced by ff_sws_graph_init(), ff_sws_graph_reinit(), ff_sws_graph_run(), init_passes(), pass_alloc_output(), and spirv_process().
| SwsLut3D* SwsGraph::lut3d |
3DLUT state used for gamut/tone mapping.
(Optional)
Definition at line 171 of file graph.h.
Referenced by add_legacy_3dlut_pass(), ff_sws_graph_update_metadata(), generate_3dlut(), graph_uninit(), init_passes(), and run_legacy_lut3d().
| const SwsPass* SwsGraph::pass |
Definition at line 178 of file graph.h.
Referenced by ff_sws_graph_run(), and sws_graph_worker().
| const SwsFrame* SwsGraph::input |
Definition at line 179 of file graph.h.
Referenced by ff_sws_graph_run(), and sws_graph_worker().
| const SwsFrame* SwsGraph::output |
Definition at line 180 of file graph.h.
Referenced by ff_sws_graph_run(), and sws_graph_worker().
| struct { ... } SwsGraph::exec |
Temporary execution state inside ff_sws_graph_run(); used to pass data to worker threads.
Referenced by ff_sws_graph_run(), and sws_graph_worker().