|
FFmpeg
|
Represents a single filter pass in the scaling graph. More...
#include <graph.h>
Data Fields | |
| const SwsGraph * | graph |
| sws_filter_run_t | run |
| Filter main execution function. More... | |
| enum AVPixelFormat | format |
| int | width |
| int | height |
| int | slice_h |
| int | num_slices |
| const SwsPass * | input |
| Filter input. More... | |
| SwsPassBuffer * | output |
| Filter output buffer. More... | |
| void(* | setup )(const SwsFrame *out, const SwsFrame *in, const SwsPass *pass) |
| Called once from the main thread before running the filter. More... | |
| void(* | free )(void *priv) |
| Optional private state and associated free() function. More... | |
| void * | priv |
Represents a single filter pass in the scaling graph.
Each filter will read from some previous pass's output, and write to a buffer associated with the pass (or into the final output image).
| const SwsGraph* SwsPass::graph |
Definition at line 64 of file graph.h.
Referenced by ff_sws_graph_add_pass(), and setup_lut3d().
| sws_filter_run_t SwsPass::run |
Filter main execution function.
Called from multiple threads, with the granularity dictated by slice_h. Individual slices sent to run are always equal to (or smaller than, for the last slice) slice_h.
Definition at line 71 of file graph.h.
Referenced by ff_sws_graph_add_pass(), and sws_graph_worker().
| enum AVPixelFormat SwsPass::format |
Definition at line 72 of file graph.h.
Referenced by ff_sws_graph_add_pass(), init_passes(), and pass_alloc_output().
| int SwsPass::width |
Definition at line 73 of file graph.h.
Referenced by ff_sws_graph_add_pass(), run_lut3d(), run_rgb0(), run_rgb2xyz(), and run_xyz2rgb().
| int SwsPass::height |
Definition at line 73 of file graph.h.
Referenced by ff_sws_graph_add_pass(), and sws_graph_worker().
| int SwsPass::slice_h |
Definition at line 74 of file graph.h.
Referenced by ff_sws_graph_add_pass(), slice_ctx(), and sws_graph_worker().
| int SwsPass::num_slices |
Definition at line 75 of file graph.h.
Referenced by ff_sws_graph_add_pass(), ff_sws_graph_run(), init_legacy_subpass(), and slice_ctx().
| const SwsPass* SwsPass::input |
Filter input.
This pass's output will be resolved to form this pass's. input. If NULL, the original input image is used.
Definition at line 81 of file graph.h.
Referenced by ff_sws_graph_add_pass(), and ff_sws_graph_run().
| SwsPassBuffer* SwsPass::output |
Filter output buffer.
Allocated on demand and freed automatically.
Definition at line 86 of file graph.h.
Referenced by ff_sws_graph_add_pass(), ff_sws_graph_free(), ff_sws_graph_run(), and pass_alloc_output().
Called once from the main thread before running the filter.
Optional.
Definition at line 91 of file graph.h.
Referenced by adapt_colors(), ff_sws_graph_run(), and init_legacy_subpass().
| void(* SwsPass::free) (void *priv) |
Optional private state and associated free() function.
Definition at line 96 of file graph.h.
Referenced by adapt_colors(), ff_sws_graph_free(), and init_legacy_subpass().
| void* SwsPass::priv |
Definition at line 97 of file graph.h.
Referenced by ff_sws_graph_add_pass(), ff_sws_graph_free(), run_lut3d(), run_rgb0(), run_rgb2xyz(), run_xyz2rgb(), setup_legacy_swscale(), setup_lut3d(), and slice_ctx().
1.8.17