Main external API structure. More...
#include <swscale.h>
Main external API structure.
New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(SwsContext) is not part of the ABI.
Bitmask of SWS_*.
See SwsFlags
for details.
Definition at line 202 of file swscale.h.
Referenced by add_legacy_sws_pass(), alloc_set_opts(), check_output_yuv2gbrp(), check_yuv2nv12cX(), check_yuv2yuv1(), check_yuv2yuvX(), ff_sws_init_single_context(), main(), run_test(), scale_internal(), scale_legacy(), setup_legacy_swscale(), sws_getCachedContext(), and sws_setColorspaceDetails().
Extra parameters for fine-tuning certain scalers.
Definition at line 207 of file swscale.h.
Referenced by add_legacy_sws_pass(), alloc_set_opts(), ff_sws_init_single_context(), sws_getCachedContext(), and sws_setColorspaceDetails().
How many threads to use for processing, or 0 for automatic selection.
Definition at line 212 of file swscale.h.
Referenced by context_init_threaded(), run_test(), scale_legacy(), and sws_init_context().
Dither mode.
Definition at line 217 of file swscale.h.
Referenced by add_legacy_sws_pass(), context_init_threaded(), ff_sws_init_single_context(), init_legacy_subpass(), run_test(), scale_internal(), scale_legacy(), and setup_legacy_swscale().
Alpha blending mode.
See SwsAlphaBlend
for details.
Definition at line 222 of file swscale.h.
Referenced by add_legacy_sws_pass(), ff_sws_init_single_context(), and sws_setColorspaceDetails().
Use gamma correct scaling.
Definition at line 227 of file swscale.h.
Referenced by add_legacy_sws_pass(), ff_sws_init_single_context(), and scale_internal().
Deprecated frame property overrides, for the legacy API only.
Ignored by sws_scale_frame() when used in dynamic mode, in which case all properties are instead taken from the frame directly.
Definition at line 235 of file swscale.h.
Referenced by add_legacy_sws_pass(), alloc_set_opts(), ff_scale_image(), ff_sws_init_single_context(), init_legacy_subpass(), main(), scale_internal(), scale_legacy(), sws_getCachedContext(), and sws_setColorspaceDetails().
Width and height of the source frame.
Definition at line 235 of file swscale.h.
Referenced by add_legacy_sws_pass(), alloc_set_opts(), ff_scale_image(), ff_sws_init_single_context(), ff_sws_slice_worker(), init_legacy_subpass(), main(), run_legacy_swscale(), scale_internal(), scale_legacy(), sws_getCachedContext(), sws_receive_slice(), and sws_setColorspaceDetails().
Definition at line 236 of file swscale.h.
Referenced by add_legacy_sws_pass(), alloc_set_opts(), check_hscale(), ff_scale_image(), ff_sws_init_single_context(), init_legacy_subpass(), main(), scale_internal(), scale_legacy(), setup_legacy_swscale(), sws_frame_start(), sws_getCachedContext(), and sws_setColorspaceDetails().
Width and height of the destination frame.
Definition at line 236 of file swscale.h.
Referenced by add_legacy_sws_pass(), alloc_set_opts(), ff_scale_image(), ff_sws_init_single_context(), init_legacy_subpass(), main(), scale_internal(), scale_legacy(), sws_frame_start(), sws_getCachedContext(), sws_scale(), and sws_setColorspaceDetails().
Source pixel format.
Definition at line 237 of file swscale.h.
Referenced by add_legacy_sws_pass(), alloc_set_opts(), check_chrConvertRange(), check_input_planar_rgb_to_a(), check_input_planar_rgb_to_uv(), check_input_planar_rgb_to_y(), check_lumConvertRange(), check_rgb_to_uv(), check_rgb_to_y(), check_rgba_to_a(), ff_sws_init_single_context(), handle_formats(), scale_internal(), scale_legacy(), setup_legacy_swscale(), slice_ctx(), sws_getCachedContext(), sws_getColorspaceDetails(), sws_init_context(), and sws_setColorspaceDetails().
Destination pixel format.
Definition at line 238 of file swscale.h.
Referenced by add_legacy_sws_pass(), alloc_set_opts(), check_chrConvertRange(), check_input_planar_rgb_to_a(), check_input_planar_rgb_to_uv(), check_input_planar_rgb_to_y(), check_lumConvertRange(), check_output_yuv2gbrp(), check_rgb_to_uv(), check_yuv2nv12cX(), check_yuv2yuvX(), ff_sws_init_single_context(), handle_formats(), init_legacy_subpass(), scale_internal(), scale_legacy(), sws_frame_start(), sws_getCachedContext(), sws_getColorspaceDetails(), sws_init_context(), and sws_setColorspaceDetails().
Source is full range.
Definition at line 239 of file swscale.h.
Referenced by add_legacy_sws_pass(), check_chrConvertRange(), check_lumConvertRange(), ff_sws_init_single_context(), init_legacy_subpass(), sws_getColorspaceDetails(), sws_init_context(), and sws_setColorspaceDetails().
Destination is full range.
Definition at line 240 of file swscale.h.
Referenced by add_legacy_sws_pass(), check_chrConvertRange(), check_lumConvertRange(), ff_sws_init_single_context(), init_legacy_subpass(), sws_getColorspaceDetails(), sws_init_context(), and sws_setColorspaceDetails().
Source vertical chroma position in luma grid / 256.
Definition at line 241 of file swscale.h.
Referenced by add_legacy_sws_pass(), and ff_sws_init_single_context().
Source horizontal chroma position.
Definition at line 242 of file swscale.h.
Referenced by add_legacy_sws_pass(), and ff_sws_init_single_context().
Destination vertical chroma position.
Definition at line 243 of file swscale.h.
Referenced by add_legacy_sws_pass(), and ff_sws_init_single_context().
Destination horizontal chroma position.
Definition at line 244 of file swscale.h.
Referenced by add_legacy_sws_pass(), and ff_sws_init_single_context().
Desired ICC intent for color space conversions.
Definition at line 249 of file swscale.h.
Referenced by adapt_colors().