#include <swscale_internal.h>
Data Fields | |
const AVClass * | av_class |
info on struct for av_log | |
SwsFunc | swScale |
Note that src, dst, srcStride, dstStride will be copied in the sws_scale() wrapper so they can be freely modified here. | |
int | srcW |
Width of source luma/alpha planes. | |
int | srcH |
Height of source luma/alpha planes. | |
int | dstH |
Height of destination luma/alpha planes. | |
int | chrSrcW |
Width of source chroma planes. | |
int | chrSrcH |
Height of source chroma planes. | |
int | chrDstW |
Width of destination chroma planes. | |
int | chrDstH |
Height of destination chroma planes. | |
int | lumXInc |
int | chrXInc |
int | lumYInc |
int | chrYInc |
enum PixelFormat | dstFormat |
Destination pixel format. | |
enum PixelFormat | srcFormat |
Source pixel format. | |
int | dstFormatBpp |
Number of bits per pixel of the destination pixel format. | |
int | srcFormatBpp |
Number of bits per pixel of the source pixel format. | |
int | chrSrcHSubSample |
Binary logarithm of horizontal subsampling factor between luma/alpha and chroma planes in source image. | |
int | chrSrcVSubSample |
Binary logarithm of vertical subsampling factor between luma/alpha and chroma planes in source image. | |
int | chrDstHSubSample |
Binary logarithm of horizontal subsampling factor between luma/alpha and chroma planes in destination image. | |
int | chrDstVSubSample |
Binary logarithm of vertical subsampling factor between luma/alpha and chroma planes in destination image. | |
int | vChrDrop |
Binary logarithm of extra vertical subsampling factor in source image chroma planes specified by user. | |
int | sliceDir |
Direction that slices are fed to the scaler (1 = top-to-bottom, -1 = bottom-to-top). | |
double | param [2] |
Input parameters for scaling algorithms that need them. | |
uint32_t | pal_yuv [256] |
uint32_t | pal_rgb [256] |
uint8_t | formatConvBuffer [VOF] |
int | lumMmx2FilterCodeSize |
Runtime-generated MMX2 horizontal fast bilinear scaler code size for luma/alpha planes. | |
int | chrMmx2FilterCodeSize |
Runtime-generated MMX2 horizontal fast bilinear scaler code size for chroma planes. | |
uint8_t * | lumMmx2FilterCode |
Runtime-generated MMX2 horizontal fast bilinear scaler code for luma/alpha planes. | |
uint8_t * | chrMmx2FilterCode |
Runtime-generated MMX2 horizontal fast bilinear scaler code for chroma planes. | |
int | canMMX2BeUsed |
int | dstY |
Last destination vertical line output from last slice. | |
int | flags |
Flags passed by the user to select scaler algorithm, optimizations, subsampling, etc... | |
void * | yuvTable |
uint8_t * | table_rV [256] |
uint8_t * | table_gU [256] |
int | table_gV [256] |
uint8_t * | table_bU [256] |
int | contrast |
int | brightness |
int | saturation |
int | srcColorspaceTable [4] |
int | dstColorspaceTable [4] |
int | srcRange |
0 = MPG YUV range, 1 = JPG YUV range (source image). | |
int | dstRange |
0 = MPG YUV range, 1 = JPG YUV range (destination image). | |
int | yuv2rgb_y_offset |
int | yuv2rgb_y_coeff |
int | yuv2rgb_v2r_coeff |
int | yuv2rgb_v2g_coeff |
int | yuv2rgb_u2g_coeff |
int | yuv2rgb_u2b_coeff |
uint64_t | redDither |
uint64_t | greenDither |
uint64_t | blueDither |
uint64_t | yCoeff |
uint64_t | vrCoeff |
uint64_t | ubCoeff |
uint64_t | vgCoeff |
uint64_t | ugCoeff |
uint64_t | yOffset |
uint64_t | uOffset |
uint64_t | vOffset |
int32_t | lumMmxFilter [4 *MAX_FILTER_SIZE] |
int32_t | chrMmxFilter [4 *MAX_FILTER_SIZE] |
int | dstW |
Width of destination luma/alpha planes. | |
uint64_t | esp |
uint64_t | vRounder |
uint64_t | u_temp |
uint64_t | v_temp |
uint64_t | y_temp |
int32_t | alpMmxFilter [4 *MAX_FILTER_SIZE] |
void(* | yuv2nv12X )(struct SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize, uint8_t *dest, uint8_t *uDest, int dstW, int chrDstW, int dstFormat) |
void(* | yuv2yuv1 )(struct SwsContext *c, const int16_t *lumSrc, const int16_t *chrSrc, const int16_t *alpSrc, uint8_t *dest, uint8_t *uDest, uint8_t *vDest, uint8_t *aDest, long dstW, long chrDstW) |
void(* | yuv2yuvX )(struct SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, uint8_t *uDest, uint8_t *vDest, uint8_t *aDest, long dstW, long chrDstW) |
void(* | yuv2packed1 )(struct SwsContext *c, const uint16_t *buf0, const uint16_t *uvbuf0, const uint16_t *uvbuf1, const uint16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int dstFormat, int flags, int y) |
void(* | yuv2packed2 )(struct SwsContext *c, const uint16_t *buf0, const uint16_t *buf1, const uint16_t *uvbuf0, const uint16_t *uvbuf1, const uint16_t *abuf0, const uint16_t *abuf1, uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) |
void(* | yuv2packedX )(struct SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, long dstW, long dstY) |
void(* | lumToYV12 )(uint8_t *dst, const uint8_t *src, long width, uint32_t *pal) |
Unscaled conversion of luma plane to YV12 for horizontal scaler. | |
void(* | alpToYV12 )(uint8_t *dst, const uint8_t *src, long width, uint32_t *pal) |
Unscaled conversion of alpha plane to YV12 for horizontal scaler. | |
void(* | chrToYV12 )(uint8_t *dstU, uint8_t *dstV, const uint8_t *src1, const uint8_t *src2, long width, uint32_t *pal) |
Unscaled conversion of chroma planes to YV12 for horizontal scaler. | |
void(* | hyscale_fast )(struct SwsContext *c, int16_t *dst, long dstWidth, const uint8_t *src, int srcW, int xInc) |
void(* | hcscale_fast )(struct SwsContext *c, int16_t *dst, long dstWidth, const uint8_t *src1, const uint8_t *src2, int srcW, int xInc) |
void(* | hScale )(int16_t *dst, int dstW, const uint8_t *src, int srcW, int xInc, const int16_t *filter, const int16_t *filterPos, long filterSize) |
void(* | lumConvertRange )(uint16_t *dst, int width) |
Color range conversion function for luma plane if needed. | |
void(* | chrConvertRange )(uint16_t *dst, int width) |
Color range conversion function for chroma planes if needed. | |
int | lumSrcOffset |
Offset given to luma src pointers passed to horizontal input functions. | |
int | chrSrcOffset |
Offset given to chroma src pointers passed to horizontal input functions. | |
int | alpSrcOffset |
Offset given to alpha src pointers passed to horizontal input functions. | |
int | needs_hcscale |
Set if there are chroma planes to be converted. | |
Scaled horizontal lines ring buffer. | |
The horizontal scaler keeps just enough scaled lines in a ring buffer so they may be passed to the vertical scaler.
The pointers to the allocated buffers for each line are duplicated in sequence in the ring buffer to simplify indexing and avoid wrapping around between lines inside the vertical scaler code. The wrapping is done before the vertical scaler is called. | |
int16_t ** | lumPixBuf |
Ring buffer for scaled horizontal luma plane lines to be fed to the vertical scaler. | |
int16_t ** | chrPixBuf |
Ring buffer for scaled horizontal chroma plane lines to be fed to the vertical scaler. | |
int16_t ** | alpPixBuf |
Ring buffer for scaled horizontal alpha plane lines to be fed to the vertical scaler. | |
int | vLumBufSize |
Number of vertical luma/alpha lines allocated in the ring buffer. | |
int | vChrBufSize |
Number of vertical chroma lines allocated in the ring buffer. | |
int | lastInLumBuf |
Last scaled horizontal luma/alpha line from source in the ring buffer. | |
int | lastInChrBuf |
Last scaled horizontal chroma line from source in the ring buffer. | |
int | lumBufIndex |
Index in ring buffer of the last scaled horizontal luma/alpha line from source. | |
int | chrBufIndex |
Index in ring buffer of the last scaled horizontal chroma line from source. | |
Horizontal and vertical filters. | |
To better understand the following fields, here is a pseudo-code of their usage in filtering a horizontal line:
for (i = 0; i < width; i++) { dst[i] = 0; for (j = 0; j < filterSize; j++) dst[i] += src[ filterPos[i] + j ] * filter[ filterSize * i + j ]; dst[i] >>= FRAC_BITS; // The actual implementation is fixed-point. } | |
int16_t * | hLumFilter |
Array of horizontal filter coefficients for luma/alpha planes. | |
int16_t * | hChrFilter |
Array of horizontal filter coefficients for chroma planes. | |
int16_t * | vLumFilter |
Array of vertical filter coefficients for luma/alpha planes. | |
int16_t * | vChrFilter |
Array of vertical filter coefficients for chroma planes. | |
int16_t * | hLumFilterPos |
Array of horizontal filter starting positions for each dst[i] for luma/alpha planes. | |
int16_t * | hChrFilterPos |
Array of horizontal filter starting positions for each dst[i] for chroma planes. | |
int16_t * | vLumFilterPos |
Array of vertical filter starting positions for each dst[i] for luma/alpha planes. | |
int16_t * | vChrFilterPos |
Array of vertical filter starting positions for each dst[i] for chroma planes. | |
int | hLumFilterSize |
Horizontal filter size for luma/alpha pixels. | |
int | hChrFilterSize |
Horizontal filter size for chroma pixels. | |
int | vLumFilterSize |
Vertical filter size for luma/alpha pixels. | |
int | vChrFilterSize |
Vertical filter size for chroma pixels. |
Definition at line 67 of file swscale_internal.h.
int32_t SwsContext::alpMmxFilter[4 *MAX_FILTER_SIZE] |
Definition at line 222 of file swscale_internal.h.
int16_t** SwsContext::alpPixBuf |
Ring buffer for scaled horizontal alpha plane lines to be fed to the vertical scaler.
Definition at line 114 of file swscale_internal.h.
Referenced by sws_freeContext(), sws_getContext(), and yuv2rgbXinC_full().
Offset given to alpha src pointers passed to horizontal input functions.
Definition at line 313 of file swscale_internal.h.
void(* SwsContext::alpToYV12)(uint8_t *dst, const uint8_t *src, long width, uint32_t *pal) |
Unscaled conversion of alpha plane to YV12 for horizontal scaler.
const AVClass* SwsContext::av_class |
info on struct for av_log
Definition at line 71 of file swscale_internal.h.
Referenced by sws_getContext().
uint64_t SwsContext::blueDither |
Definition at line 204 of file swscale_internal.h.
Definition at line 169 of file swscale_internal.h.
Referenced by sws_getColorspaceDetails(), and sws_setColorspaceDetails().
Definition at line 158 of file swscale_internal.h.
Referenced by hcscale_fast_TMPL(), hyscale_fast_TMPL(), and sws_getContext().
Index in ring buffer of the last scaled horizontal chroma line from source.
Definition at line 120 of file swscale_internal.h.
void(* SwsContext::chrConvertRange)(uint16_t *dst, int width) |
Color range conversion function for chroma planes if needed.
Height of destination chroma planes.
Definition at line 84 of file swscale_internal.h.
Referenced by sws_getContext().
Binary logarithm of horizontal subsampling factor between luma/alpha and chroma planes in destination image.
Definition at line 93 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), planarCopyWrapper(), and sws_getContext().
Binary logarithm of vertical subsampling factor between luma/alpha and chroma planes in destination image.
Definition at line 94 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), planarCopyWrapper(), sws_getContext(), and sws_scale().
Width of destination chroma planes.
Definition at line 83 of file swscale_internal.h.
Referenced by sws_getContext(), and yuv2yuvX_TMPL().
uint8_t* SwsContext::chrMmx2FilterCode |
Runtime-generated MMX2 horizontal fast bilinear scaler code for chroma planes.
Definition at line 156 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
Runtime-generated MMX2 horizontal fast bilinear scaler code size for chroma planes.
Definition at line 154 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
int32_t SwsContext::chrMmxFilter[4 *MAX_FILTER_SIZE] |
Definition at line 215 of file swscale_internal.h.
int16_t** SwsContext::chrPixBuf |
Ring buffer for scaled horizontal chroma plane lines to be fed to the vertical scaler.
Definition at line 113 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
Height of source chroma planes.
Definition at line 82 of file swscale_internal.h.
Referenced by sws_getContext().
Binary logarithm of horizontal subsampling factor between luma/alpha and chroma planes in source image.
Definition at line 91 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), and sws_getContext().
Offset given to chroma src pointers passed to horizontal input functions.
Definition at line 312 of file swscale_internal.h.
Binary logarithm of vertical subsampling factor between luma/alpha and chroma planes in source image.
Definition at line 92 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), sws_getContext(), and sws_scale().
Width of source chroma planes.
Definition at line 81 of file swscale_internal.h.
Referenced by sws_getContext(), and yvu9ToYv12Wrapper().
void(* SwsContext::chrToYV12)(uint8_t *dstU, uint8_t *dstV, const uint8_t *src1, const uint8_t *src2, long width, uint32_t *pal) |
Unscaled conversion of chroma planes to YV12 for horizontal scaler.
Definition at line 169 of file swscale_internal.h.
Referenced by sws_getColorspaceDetails(), and sws_setColorspaceDetails().
Definition at line 171 of file swscale_internal.h.
Referenced by sws_getColorspaceDetails(), and sws_setColorspaceDetails().
Destination pixel format.
Definition at line 87 of file swscale_internal.h.
Referenced by DECLARE_ASM_CONST(), ff_bfin_get_unscaled_swscale(), ff_get_unscaled_swscale(), ff_yuv2packedX_altivec(), ff_yuv2rgb_c_init_tables(), ff_yuv2rgb_get_func_ptr_bfin(), ff_yuv2rgb_init_altivec(), ff_yuv2rgb_init_mlib(), ff_yuv2rgb_init_vis(), palToRgbWrapper(), planarCopyWrapper(), planarToNv12Wrapper(), rgbToRgbWrapper(), selfTest(), sws_getCachedContext(), sws_getColorspaceDetails(), sws_getContext(), sws_scale(), sws_setColorspaceDetails(), yuv2nv12X_TMPL(), yuv2rgbXinC_full(), yuv2yuvX_TMPL(), and yvu9ToYv12Wrapper().
Number of bits per pixel of the destination pixel format.
Definition at line 89 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), ff_yuv2rgb_c_init_tables(), rgbToRgbWrapper(), sws_getContext(), and yuv2rgbXinC_full().
int SwsContext::dstH |
Height of destination luma/alpha planes.
Definition at line 80 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), selfTest(), sws_getCachedContext(), sws_getContext(), and sws_scale().
0 = MPG YUV range, 1 = JPG YUV range (destination image).
Definition at line 173 of file swscale_internal.h.
Referenced by sws_getColorspaceDetails(), and sws_setColorspaceDetails().
int SwsContext::dstW |
Width of destination luma/alpha planes.
Definition at line 216 of file swscale_internal.h.
Referenced by ff_yuv2rgb_init_vis(), mlib_YUV2ABGR420_32(), mlib_YUV2ARGB420_32(), mlib_YUV2RGB420_24(), selfTest(), sws_getCachedContext(), sws_getContext(), vis_420P_ARGB32(), vis_422P_ARGB32(), and yuv2yuvX_TMPL().
int SwsContext::dstY |
Last destination vertical line output from last slice.
Definition at line 160 of file swscale_internal.h.
Referenced by yuv2packedX_TMPL().
uint64_t SwsContext::esp |
Definition at line 217 of file swscale_internal.h.
Flags passed by the user to select scaler algorithm, optimizations, subsampling, etc...
Definition at line 161 of file swscale_internal.h.
Referenced by DECLARE_ASM_CONST(), ff_bfin_get_unscaled_swscale(), ff_get_unscaled_swscale(), ff_getSwsFunc(), ff_yuv2rgb_init_altivec(), selfTest(), sws_getCachedContext(), sws_getContext(), sws_setColorspaceDetails(), and video_open().
uint8_t SwsContext::formatConvBuffer[VOF] |
Definition at line 123 of file swscale_internal.h.
uint64_t SwsContext::greenDither |
Definition at line 203 of file swscale_internal.h.
int16_t* SwsContext::hChrFilter |
Array of horizontal filter coefficients for chroma planes.
Definition at line 140 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
int16_t* SwsContext::hChrFilterPos |
Array of horizontal filter starting positions for each dst[i] for chroma planes.
Definition at line 144 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
Horizontal filter size for chroma pixels.
Definition at line 148 of file swscale_internal.h.
Referenced by sws_getContext().
void(* SwsContext::hcscale_fast)(struct SwsContext *c, int16_t *dst, long dstWidth, const uint8_t *src1, const uint8_t *src2, int srcW, int xInc) |
int16_t* SwsContext::hLumFilter |
Array of horizontal filter coefficients for luma/alpha planes.
Definition at line 139 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
int16_t* SwsContext::hLumFilterPos |
Array of horizontal filter starting positions for each dst[i] for luma/alpha planes.
Definition at line 143 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
Horizontal filter size for luma/alpha pixels.
Definition at line 147 of file swscale_internal.h.
Referenced by sws_getContext().
void(* SwsContext::hScale)(int16_t *dst, int dstW, const uint8_t *src, int srcW, int xInc, const int16_t *filter, const int16_t *filterPos, long filterSize) |
void(* SwsContext::hyscale_fast)(struct SwsContext *c, int16_t *dst, long dstWidth, const uint8_t *src, int srcW, int xInc) |
Last scaled horizontal chroma line from source in the ring buffer.
Definition at line 118 of file swscale_internal.h.
Last scaled horizontal luma/alpha line from source in the ring buffer.
Definition at line 117 of file swscale_internal.h.
Index in ring buffer of the last scaled horizontal luma/alpha line from source.
Definition at line 119 of file swscale_internal.h.
void(* SwsContext::lumConvertRange)(uint16_t *dst, int width) |
Color range conversion function for luma plane if needed.
uint8_t* SwsContext::lumMmx2FilterCode |
Runtime-generated MMX2 horizontal fast bilinear scaler code for luma/alpha planes.
Definition at line 155 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
Runtime-generated MMX2 horizontal fast bilinear scaler code size for luma/alpha planes.
Definition at line 153 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
int32_t SwsContext::lumMmxFilter[4 *MAX_FILTER_SIZE] |
Definition at line 214 of file swscale_internal.h.
int16_t** SwsContext::lumPixBuf |
Ring buffer for scaled horizontal luma plane lines to be fed to the vertical scaler.
Definition at line 112 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
Offset given to luma src pointers passed to horizontal input functions.
Definition at line 311 of file swscale_internal.h.
void(* SwsContext::lumToYV12)(uint8_t *dst, const uint8_t *src, long width, uint32_t *pal) |
Unscaled conversion of luma plane to YV12 for horizontal scaler.
uint32_t SwsContext::pal_rgb[256] |
Definition at line 100 of file swscale_internal.h.
Referenced by palToRgbWrapper(), and sws_scale().
uint32_t SwsContext::pal_yuv[256] |
double SwsContext::param[2] |
Input parameters for scaling algorithms that need them.
Definition at line 97 of file swscale_internal.h.
Referenced by sws_getCachedContext(), and sws_getContext().
uint64_t SwsContext::redDither |
Definition at line 202 of file swscale_internal.h.
Definition at line 169 of file swscale_internal.h.
Referenced by sws_getColorspaceDetails(), and sws_setColorspaceDetails().
Direction that slices are fed to the scaler (1 = top-to-bottom, -1 = bottom-to-top).
Definition at line 96 of file swscale_internal.h.
Referenced by sws_scale().
Definition at line 170 of file swscale_internal.h.
Referenced by sws_getColorspaceDetails(), and sws_setColorspaceDetails().
Source pixel format.
Definition at line 88 of file swscale_internal.h.
Referenced by DECLARE_ASM_CONST(), ff_bfin_get_unscaled_swscale(), ff_get_unscaled_swscale(), ff_yuv2rgb_c_init_tables(), ff_yuv2rgb_init_altivec(), ff_yuv2rgb_init_vis(), mlib_YUV2ABGR420_32(), mlib_YUV2ARGB420_32(), mlib_YUV2RGB420_24(), palToRgbWrapper(), planarCopyWrapper(), rgbToRgbWrapper(), selfTest(), sws_getCachedContext(), sws_getContext(), and sws_scale().
Number of bits per pixel of the source pixel format.
Definition at line 90 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), rgbToRgbWrapper(), and sws_getContext().
int SwsContext::srcH |
Height of source luma/alpha planes.
Definition at line 79 of file swscale_internal.h.
Referenced by ff_yuv2rgb_init_altivec(), selfTest(), sws_getCachedContext(), sws_getContext(), and sws_scale().
0 = MPG YUV range, 1 = JPG YUV range (source image).
Definition at line 172 of file swscale_internal.h.
Referenced by sws_getColorspaceDetails(), and sws_setColorspaceDetails().
int SwsContext::srcW |
Width of source luma/alpha planes.
Definition at line 78 of file swscale_internal.h.
Referenced by altivec_uyvy_rgb32(), bgr24ToYv12Wrapper(), ff_yuv2rgb_init_altivec(), packedCopyWrapper(), palToRgbWrapper(), planarCopyWrapper(), planarToNv12Wrapper(), planarToUyvyWrapper(), planarToYuy2Wrapper(), rgbToRgbWrapper(), selfTest(), sws_getCachedContext(), sws_getContext(), uyvyToYuv420Wrapper(), uyvyToYuv422Wrapper(), yuv422pToUyvyWrapper(), yuv422pToYuy2Wrapper(), yuyvToYuv420Wrapper(), yuyvToYuv422Wrapper(), yv12touyvy_unscaled_altivec(), yv12toyuy2_unscaled_altivec(), and yvu9ToYv12Wrapper().
Note that src, dst, srcStride, dstStride will be copied in the sws_scale() wrapper so they can be freely modified here.
Definition at line 77 of file swscale_internal.h.
Referenced by ff_bfin_get_unscaled_swscale(), ff_get_unscaled_swscale(), sws_getContext(), and sws_scale().
uint8_t* SwsContext::table_bU[256] |
uint8_t* SwsContext::table_gU[256] |
int SwsContext::table_gV[256] |
uint8_t* SwsContext::table_rV[256] |
uint64_t SwsContext::u_temp |
Definition at line 219 of file swscale_internal.h.
uint64_t SwsContext::ubCoeff |
Definition at line 208 of file swscale_internal.h.
Referenced by bfin_prepare_coefficients(), ff_yuv2rgb_init_vis(), and sws_setColorspaceDetails().
uint64_t SwsContext::ugCoeff |
Definition at line 210 of file swscale_internal.h.
Referenced by bfin_prepare_coefficients(), ff_yuv2rgb_init_vis(), and sws_setColorspaceDetails().
uint64_t SwsContext::uOffset |
Definition at line 212 of file swscale_internal.h.
Referenced by ff_yuv2rgb_init_vis(), and sws_setColorspaceDetails().
uint64_t SwsContext::v_temp |
Definition at line 220 of file swscale_internal.h.
Number of vertical chroma lines allocated in the ring buffer.
Definition at line 116 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
Binary logarithm of extra vertical subsampling factor in source image chroma planes specified by user.
Definition at line 95 of file swscale_internal.h.
Referenced by sws_getContext().
int16_t* SwsContext::vChrFilter |
Array of vertical filter coefficients for chroma planes.
Definition at line 142 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
int16_t* SwsContext::vChrFilterPos |
Array of vertical filter starting positions for each dst[i] for chroma planes.
Definition at line 146 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
Vertical filter size for chroma pixels.
Definition at line 150 of file swscale_internal.h.
Referenced by sws_getContext().
uint64_t SwsContext::vgCoeff |
Definition at line 209 of file swscale_internal.h.
Referenced by bfin_prepare_coefficients(), ff_yuv2rgb_init_vis(), and sws_setColorspaceDetails().
Number of vertical luma/alpha lines allocated in the ring buffer.
Definition at line 115 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
int16_t* SwsContext::vLumFilter |
Array of vertical filter coefficients for luma/alpha planes.
Definition at line 141 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
int16_t* SwsContext::vLumFilterPos |
Array of vertical filter starting positions for each dst[i] for luma/alpha planes.
Definition at line 145 of file swscale_internal.h.
Referenced by sws_freeContext(), and sws_getContext().
Vertical filter size for luma/alpha pixels.
Definition at line 149 of file swscale_internal.h.
Referenced by sws_getContext().
uint64_t SwsContext::vOffset |
Definition at line 213 of file swscale_internal.h.
Referenced by ff_yuv2rgb_init_vis(), and sws_setColorspaceDetails().
uint64_t SwsContext::vrCoeff |
Definition at line 207 of file swscale_internal.h.
Referenced by bfin_prepare_coefficients(), ff_yuv2rgb_init_vis(), and sws_setColorspaceDetails().
uint64_t SwsContext::vRounder |
uint64_t SwsContext::y_temp |
Definition at line 221 of file swscale_internal.h.
uint64_t SwsContext::yCoeff |
Definition at line 206 of file swscale_internal.h.
Referenced by bfin_prepare_coefficients(), ff_yuv2rgb_init_vis(), and sws_setColorspaceDetails().
uint64_t SwsContext::yOffset |
Definition at line 211 of file swscale_internal.h.
Referenced by bfin_prepare_coefficients(), ff_yuv2rgb_init_vis(), and sws_setColorspaceDetails().
void(* SwsContext::yuv2nv12X)(struct SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize, uint8_t *dest, uint8_t *uDest, int dstW, int chrDstW, int dstFormat) |
Referenced by yuv2yuvX_TMPL().
void(* SwsContext::yuv2packed1)(struct SwsContext *c, const uint16_t *buf0, const uint16_t *uvbuf0, const uint16_t *uvbuf1, const uint16_t *abuf0, uint8_t *dest, int dstW, int uvalpha, int dstFormat, int flags, int y) |
void(* SwsContext::yuv2packed2)(struct SwsContext *c, const uint16_t *buf0, const uint16_t *buf1, const uint16_t *uvbuf0, const uint16_t *uvbuf1, const uint16_t *abuf0, const uint16_t *abuf1, uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) |
void(* SwsContext::yuv2packedX)(struct SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, long dstW, long dstY) |
void(* SwsContext::yuv2yuv1)(struct SwsContext *c, const int16_t *lumSrc, const int16_t *chrSrc, const int16_t *alpSrc, uint8_t *dest, uint8_t *uDest, uint8_t *vDest, uint8_t *aDest, long dstW, long chrDstW) |
void(* SwsContext::yuv2yuvX)(struct SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, uint8_t *uDest, uint8_t *vDest, uint8_t *aDest, long dstW, long chrDstW) |
void* SwsContext::yuvTable |
Definition at line 162 of file swscale_internal.h.
Referenced by ff_yuv2rgb_c_init_tables(), and sws_freeContext().