#include <stdbool.h>#include "libavutil/slicethread.h"#include "libavutil/buffer.h"#include "swscale.h"#include "format.h"#include "lut3d.h"Go to the source code of this file.
h lines of filtered data. width to the optimal size for pass. Definition at line 33 of file graph.h.
Referenced by frame_shift(), and run_copy().
Align width to the optimal size for pass.
Definition at line 46 of file graph.c.
Referenced by sws_frame_setup().
Allocate an empty SwsGraph.
Returns NULL on failure.
Definition at line 866 of file graph.c.
Referenced by main(), main(), sws_frame_setup(), and sws_uops_macros_gen().
Initialize the filter graph for a given pair of formats.
Returns 0 or a negative error.
Definition at line 884 of file graph.c.
Referenced by ff_sws_graph_reinit().
Allocate and add a new pass to the filter graph.
Takes over ownership of priv, even on failure.
Definition at line 191 of file graph.c.
Referenced by add_legacy_3dlut_pass(), compile_single(), init_legacy_subpass(), and init_passes().
Link the output buffers to a different pass, rather than allocating new image buffers.
This allows reusing the same buffer for multiple passes, e.g. in the case of in-place passes or partial passes that modify different planes.
Any existing buffer on dst will be ignored/unref'd.
Definition at line 249 of file graph.c.
Referenced by compile_single().
Remove all passes added since the given index.
Definition at line 935 of file graph.c.
Referenced by ff_sws_compile_pass().
Uninitialize any state associate with this filter graph and free it.
Definition at line 942 of file graph.c.
Referenced by main(), main(), sws_frame_setup(), sws_freeContext(), and sws_uops_macros_gen().
Update dynamic per-frame HDR metadata without requiring a full reinit.
Definition at line 987 of file graph.c.
Referenced by ff_sws_graph_reinit().
Wrapper around ff_sws_graph_init() that reuses the existing graph if the format is compatible.
This will also update dynamic per-frame metadata.
Must also be called after changing any of the fields in ctx, or else they will have no effect.
Definition at line 973 of file graph.c.
Referenced by sws_frame_setup().