Go to the source code of this file.
Data Structures
Main external API structure.
More...
Macros
Enumerations
enum
SwsFlags {
SWS_FAST_BILINEAR = 1 << 0,
SWS_BILINEAR = 1 << 1,
SWS_BICUBIC = 1 << 2,
SWS_X = 1 << 3,
SWS_POINT = 1 << 4,
SWS_AREA = 1 << 5,
SWS_BICUBLIN = 1 << 6,
SWS_GAUSS = 1 << 7,
SWS_SINC = 1 << 8,
SWS_LANCZOS = 1 << 9,
SWS_SPLINE = 1 << 10,
SWS_STRICT = 1 << 11,
SWS_PRINT_INFO = 1 << 12,
SWS_FULL_CHR_H_INT = 1 << 13,
SWS_FULL_CHR_H_INP = 1 << 14,
SWS_ACCURATE_RND = 1 << 18,
SWS_BITEXACT = 1 << 19,
SWS_UNSTABLE = 1 << 20,
SWS_DIRECT_BGR = 1 << 15,
SWS_ERROR_DIFFUSION = 1 << 23
}
Functions
Return the libswscale build-time configuration.
More...
Return the libswscale license.
More...
Free the context and everything associated with it, and write NULL to the provided pointer.
More...
Test if a given pixel format is supported.
More...
Test if a given color space is supported.
More...
Test if a given set of color primaries is supported.
More...
Test if a given color transfer function is supported.
More...
Helper function to run all sws_test_* against a frame, as well as testing the basic frame properties for sanity.
More...
Like
sws_scale_frame
, but without actually scaling.
More...
Check if a given conversion is a noop.
More...
Scale source data from
src
and write the output to
dst
.
More...
Return a positive value if pix_fmt is a supported input format, 0 otherwise.
More...
Return a positive value if pix_fmt is a supported output format, 0 otherwise.
More...
Initialize the swscaler context sws_context.
More...
Free the swscaler context swsContext.
More...
int
sws_scale (
SwsContext *
c, const uint8_t *const srcSlice[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const
dst[], const int dstStride[])
Scale the image slice in srcSlice and put the resulting scaled slice in the image in dst.
More...
Initialize the scaling process for a given pair of source/destination frames.
More...
Indicate that a horizontal slice of input data is available in the source frame previously provided to
sws_frame_start().
More...
Request a horizontal slice of the output data to be written into the frame previously provided to
sws_frame_start().
More...
Get the alignment required for slices.
More...
Allocate and return an uninitialized vector with length coefficients.
More...
Return a normalized Gaussian curve used to filter stuff quality = 3 is high quality, lower is lower quality.
More...
Scale all the coefficients of a by the scalar value.
More...
Scale all the coefficients of a so that their sum equals height.
More...
SwsContext *
sws_getCachedContext (
SwsContext *
context, int srcW, int srcH, enum
AVPixelFormat srcFormat, int dstW, int dstH, enum
AVPixelFormat dstFormat, int
flags,
SwsFilter *srcFilter,
SwsFilter *dstFilter, const
double *param)
Check if context can be reused, otherwise reallocate a new one.
More...
Convert an 8-bit paletted frame into a frame with a color depth of 32 bits.
More...
Convert an 8-bit paletted frame into a frame with a color depth of 24 bits.
More...
Detailed Description
external API header
Definition in file swscale.h.