FFmpeg
|
#include <swscale_internal.h>
Data Fields | |
const AVClass * | av_class |
info on struct for av_log More... | |
SwsContext * | parent |
AVSliceThread * | slicethread |
SwsContext ** | slice_ctx |
int * | slice_err |
int | nb_slice_ctx |
int | dst_slice_start |
int | dst_slice_height |
SwsFunc | convert_unscaled |
Note that src, dst, srcStride, dstStride will be copied in the sws_scale() wrapper so they can be freely modified here. More... | |
int | srcW |
Width of source luma/alpha planes. More... | |
int | srcH |
Height of source luma/alpha planes. More... | |
int | dstW |
Width of destination luma/alpha planes. More... | |
int | dstH |
Height of destination luma/alpha planes. More... | |
int | chrSrcW |
Width of source chroma planes. More... | |
int | chrSrcH |
Height of source chroma planes. More... | |
int | chrDstW |
Width of destination chroma planes. More... | |
int | chrDstH |
Height of destination chroma planes. More... | |
int | lumXInc |
int | chrXInc |
int | lumYInc |
int | chrYInc |
enum AVPixelFormat | dstFormat |
Destination pixel format. More... | |
enum AVPixelFormat | srcFormat |
Source pixel format. More... | |
int | dstFormatBpp |
Number of bits per pixel of the destination pixel format. More... | |
int | srcFormatBpp |
Number of bits per pixel of the source pixel format. More... | |
int | dstBpc |
int | srcBpc |
int | chrSrcHSubSample |
Binary logarithm of horizontal subsampling factor between luma/alpha and chroma planes in source image. More... | |
int | chrSrcVSubSample |
Binary logarithm of vertical subsampling factor between luma/alpha and chroma planes in source image. More... | |
int | chrDstHSubSample |
Binary logarithm of horizontal subsampling factor between luma/alpha and chroma planes in destination image. More... | |
int | chrDstVSubSample |
Binary logarithm of vertical subsampling factor between luma/alpha and chroma planes in destination image. More... | |
int | vChrDrop |
Binary logarithm of extra vertical subsampling factor in source image chroma planes specified by user. More... | |
int | sliceDir |
Direction that slices are fed to the scaler (1 = top-to-bottom, -1 = bottom-to-top). More... | |
int | nb_threads |
Number of threads used for scaling. More... | |
double | param [2] |
Input parameters for scaling algorithms that need them. More... | |
AVFrame * | frame_src |
AVFrame * | frame_dst |
RangeList | src_ranges |
SwsContext * | cascaded_context [3] |
int | cascaded_tmpStride [2][4] |
uint8_t * | cascaded_tmp [2][4] |
int | cascaded_mainindex |
double | gamma_value |
int | gamma_flag |
int | is_internal_gamma |
uint16_t * | gamma |
uint16_t * | inv_gamma |
int | numDesc |
int | descIndex [2] |
int | numSlice |
struct SwsSlice * | slice |
struct SwsFilterDescriptor * | desc |
uint32_t | pal_yuv [256] |
uint32_t | pal_rgb [256] |
float | uint2float_lut [256] |
void(* | lumConvertRange )(int16_t *dst, int width) |
Color range conversion function for luma plane if needed. More... | |
void(* | chrConvertRange )(int16_t *dst1, int16_t *dst2, int width) |
Color range conversion function for chroma planes if needed. More... | |
int | needs_hcscale |
Set if there are chroma planes to be converted. More... | |
SwsDither | dither |
SwsAlphaBlend | alphablend |
uint8_t * | rgb0_scratch |
unsigned int | rgb0_scratch_allocated |
uint8_t * | xyz_scratch |
unsigned int | xyz_scratch_allocated |
unsigned int | dst_slice_align |
atomic_int | stride_unaligned_warned |
atomic_int | data_unaligned_warned |
Half2FloatTables * | h2f_tables |
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. | |
int | lastInLumBuf |
Last scaled horizontal luma/alpha line from source in the ring buffer. More... | |
int | lastInChrBuf |
Last scaled horizontal chroma line from source in the ring buffer. More... | |
uint8_t * | formatConvBuffer |
int | needAlpha |
Horizontal and vertical filters. | |
To better understand the following fields, here is a pseudo-code of their usage in filtering a horizontal line: | |
int16_t * | hLumFilter |
Array of horizontal filter coefficients for luma/alpha planes. More... | |
int16_t * | hChrFilter |
Array of horizontal filter coefficients for chroma planes. More... | |
int16_t * | vLumFilter |
Array of vertical filter coefficients for luma/alpha planes. More... | |
int16_t * | vChrFilter |
Array of vertical filter coefficients for chroma planes. More... | |
int32_t * | hLumFilterPos |
Array of horizontal filter starting positions for each dst[i] for luma/alpha planes. More... | |
int32_t * | hChrFilterPos |
Array of horizontal filter starting positions for each dst[i] for chroma planes. More... | |
int32_t * | vLumFilterPos |
Array of vertical filter starting positions for each dst[i] for luma/alpha planes. More... | |
int32_t * | vChrFilterPos |
Array of vertical filter starting positions for each dst[i] for chroma planes. More... | |
int | hLumFilterSize |
Horizontal filter size for luma/alpha pixels. More... | |
int | hChrFilterSize |
Horizontal filter size for chroma pixels. More... | |
int | vLumFilterSize |
Vertical filter size for luma/alpha pixels. More... | |
int | vChrFilterSize |
Vertical filter size for chroma pixels. More... | |
int | lumMmxextFilterCodeSize |
Runtime-generated MMXEXT horizontal fast bilinear scaler code size for luma/alpha planes. More... | |
int | chrMmxextFilterCodeSize |
Runtime-generated MMXEXT horizontal fast bilinear scaler code size for chroma planes. More... | |
uint8_t * | lumMmxextFilterCode |
Runtime-generated MMXEXT horizontal fast bilinear scaler code for luma/alpha planes. More... | |
uint8_t * | chrMmxextFilterCode |
Runtime-generated MMXEXT horizontal fast bilinear scaler code for chroma planes. More... | |
int | canMMXEXTBeUsed |
int | warned_unuseable_bilinear |
int | dstY |
Last destination vertical line output from last slice. More... | |
int | flags |
Flags passed by the user to select scaler algorithm, optimizations, subsampling, etc... More... | |
void * | yuvTable |
int | table_gV [256+2 *YUVRGB_TABLE_HEADROOM] |
uint8_t * | table_rV [256+2 *YUVRGB_TABLE_HEADROOM] |
uint8_t * | table_gU [256+2 *YUVRGB_TABLE_HEADROOM] |
uint8_t * | table_bU [256+2 *YUVRGB_TABLE_HEADROOM] |
int32_t | input_rgb2yuv_table [16+40 *4] |
int * | dither_error [4] |
int | contrast |
int | brightness |
int | saturation |
int | srcColorspaceTable [4] |
int | dstColorspaceTable [4] |
int | srcRange |
0 = MPG YUV range, 1 = JPG YUV range (source image). More... | |
int | dstRange |
0 = MPG YUV range, 1 = JPG YUV range (destination image). More... | |
int | src0Alpha |
int | dst0Alpha |
int | srcXYZ |
int | dstXYZ |
int | src_h_chr_pos |
int | dst_h_chr_pos |
int | src_v_chr_pos |
int | dst_v_chr_pos |
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_mmx |
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] |
ptrdiff_t | uv_off |
offset (in pixels) between u and v planes More... | |
ptrdiff_t | uv_offx2 |
offset (in bytes) between u and v planes More... | |
uint16_t | dither16 [8] |
uint32_t | dither32 [8] |
const uint8_t * | chrDither8 |
const uint8_t * | lumDither8 |
int | use_mmx_vfilter |
int16_t * | xyzgamma |
int16_t * | rgbgamma |
int16_t * | xyzgammainv |
int16_t * | rgbgammainv |
int16_t | xyz2rgb_matrix [3][4] |
int16_t | rgb2xyz_matrix [3][4] |
yuv2planar1_fn | yuv2plane1 |
yuv2planarX_fn | yuv2planeX |
yuv2interleavedX_fn | yuv2nv12cX |
yuv2packed1_fn | yuv2packed1 |
yuv2packed2_fn | yuv2packed2 |
yuv2packedX_fn | yuv2packedX |
yuv2anyX_fn | yuv2anyX |
void * | input_opaque |
Opaque data pointer passed to all input functions. More... | |
planar1_YV12_fn | lumToYV12 |
planar1_YV12_fn | alpToYV12 |
planar2_YV12_fn | chrToYV12 |
planarX_YV12_fn | readLumPlanar |
Functions to read planar input, such as planar RGB, and convert internally to Y/UV/A. More... | |
planarX_YV12_fn | readAlpPlanar |
planarX2_YV12_fn | readChrPlanar |
void(* | hyscale_fast )(SwsInternal *c, int16_t *dst, int dstWidth, const uint8_t *src, int srcW, int xInc) |
Scale one horizontal line of input data using a bilinear filter to produce one line of output data. More... | |
void(* | hcscale_fast )(SwsInternal *c, int16_t *dst1, int16_t *dst2, int dstWidth, const uint8_t *src1, const uint8_t *src2, int srcW, int xInc) |
void(* | hyScale )(SwsInternal *c, int16_t *dst, int dstW, const uint8_t *src, const int16_t *filter, const int32_t *filterPos, int filterSize) |
Scale one horizontal line of input data using a filter over the input lines, to produce one (differently sized) line of output data. More... | |
void(* | hcScale )(SwsInternal *c, int16_t *dst, int dstW, const uint8_t *src, const int16_t *filter, const int32_t *filterPos, int filterSize) |
Definition at line 330 of file swscale_internal.h.
const AVClass* SwsInternal::av_class |
info on struct for av_log
Definition at line 334 of file swscale_internal.h.
SwsContext* SwsInternal::parent |
Definition at line 336 of file swscale_internal.h.
AVSliceThread* SwsInternal::slicethread |
Definition at line 338 of file swscale_internal.h.
SwsContext** SwsInternal::slice_ctx |
Definition at line 339 of file swscale_internal.h.
Referenced by ff_sws_slice_worker().
int* SwsInternal::slice_err |
Definition at line 340 of file swscale_internal.h.
Referenced by ff_sws_slice_worker().
int SwsInternal::nb_slice_ctx |
Definition at line 341 of file swscale_internal.h.
int SwsInternal::dst_slice_start |
Definition at line 344 of file swscale_internal.h.
Referenced by ff_sws_slice_worker().
int SwsInternal::dst_slice_height |
Definition at line 345 of file swscale_internal.h.
Referenced by ff_sws_slice_worker().
SwsFunc SwsInternal::convert_unscaled |
Note that src, dst, srcStride, dstStride will be copied in the sws_scale() wrapper so they can be freely modified here.
Definition at line 351 of file swscale_internal.h.
int SwsInternal::srcW |
Width of source luma/alpha planes.
Definition at line 352 of file swscale_internal.h.
int SwsInternal::srcH |
Height of source luma/alpha planes.
Definition at line 353 of file swscale_internal.h.
Referenced by scale_internal().
int SwsInternal::dstW |
Width of destination luma/alpha planes.
Definition at line 354 of file swscale_internal.h.
int SwsInternal::dstH |
Height of destination luma/alpha planes.
Definition at line 355 of file swscale_internal.h.
Referenced by scale_cascaded().
int SwsInternal::chrSrcW |
Width of source chroma planes.
Definition at line 356 of file swscale_internal.h.
int SwsInternal::chrSrcH |
Height of source chroma planes.
Definition at line 357 of file swscale_internal.h.
int SwsInternal::chrDstW |
Width of destination chroma planes.
Definition at line 358 of file swscale_internal.h.
int SwsInternal::chrDstH |
Height of destination chroma planes.
Definition at line 359 of file swscale_internal.h.
int SwsInternal::lumXInc |
Definition at line 360 of file swscale_internal.h.
int SwsInternal::chrXInc |
Definition at line 360 of file swscale_internal.h.
int SwsInternal::lumYInc |
Definition at line 361 of file swscale_internal.h.
int SwsInternal::chrYInc |
Definition at line 361 of file swscale_internal.h.
enum AVPixelFormat SwsInternal::dstFormat |
Destination pixel format.
Definition at line 362 of file swscale_internal.h.
enum AVPixelFormat SwsInternal::srcFormat |
Source pixel format.
Definition at line 363 of file swscale_internal.h.
int SwsInternal::dstFormatBpp |
Number of bits per pixel of the destination pixel format.
Definition at line 364 of file swscale_internal.h.
int SwsInternal::srcFormatBpp |
Number of bits per pixel of the source pixel format.
Definition at line 365 of file swscale_internal.h.
int SwsInternal::dstBpc |
Definition at line 366 of file swscale_internal.h.
int SwsInternal::srcBpc |
Definition at line 366 of file swscale_internal.h.
int SwsInternal::chrSrcHSubSample |
Binary logarithm of horizontal subsampling factor between luma/alpha and chroma planes in source image.
Definition at line 367 of file swscale_internal.h.
int SwsInternal::chrSrcVSubSample |
Binary logarithm of vertical subsampling factor between luma/alpha and chroma planes in source image.
Definition at line 368 of file swscale_internal.h.
int SwsInternal::chrDstHSubSample |
Binary logarithm of horizontal subsampling factor between luma/alpha and chroma planes in destination image.
Definition at line 369 of file swscale_internal.h.
int SwsInternal::chrDstVSubSample |
Binary logarithm of vertical subsampling factor between luma/alpha and chroma planes in destination image.
Definition at line 370 of file swscale_internal.h.
int SwsInternal::vChrDrop |
Binary logarithm of extra vertical subsampling factor in source image chroma planes specified by user.
Definition at line 371 of file swscale_internal.h.
int SwsInternal::sliceDir |
Direction that slices are fed to the scaler (1 = top-to-bottom, -1 = bottom-to-top).
Definition at line 372 of file swscale_internal.h.
int SwsInternal::nb_threads |
Number of threads used for scaling.
Definition at line 373 of file swscale_internal.h.
double SwsInternal::param[2] |
Input parameters for scaling algorithms that need them.
Definition at line 374 of file swscale_internal.h.
AVFrame* SwsInternal::frame_src |
Definition at line 376 of file swscale_internal.h.
Referenced by ff_sws_slice_worker().
AVFrame* SwsInternal::frame_dst |
Definition at line 377 of file swscale_internal.h.
Referenced by ff_sws_slice_worker().
RangeList SwsInternal::src_ranges |
Definition at line 379 of file swscale_internal.h.
SwsContext* SwsInternal::cascaded_context[3] |
Definition at line 385 of file swscale_internal.h.
int SwsInternal::cascaded_tmpStride[2][4] |
Definition at line 386 of file swscale_internal.h.
uint8_t* SwsInternal::cascaded_tmp[2][4] |
Definition at line 387 of file swscale_internal.h.
int SwsInternal::cascaded_mainindex |
Definition at line 388 of file swscale_internal.h.
double SwsInternal::gamma_value |
Definition at line 390 of file swscale_internal.h.
int SwsInternal::gamma_flag |
Definition at line 391 of file swscale_internal.h.
int SwsInternal::is_internal_gamma |
Definition at line 392 of file swscale_internal.h.
uint16_t* SwsInternal::gamma |
Definition at line 393 of file swscale_internal.h.
uint16_t* SwsInternal::inv_gamma |
Definition at line 394 of file swscale_internal.h.
int SwsInternal::numDesc |
Definition at line 396 of file swscale_internal.h.
int SwsInternal::descIndex[2] |
Definition at line 397 of file swscale_internal.h.
int SwsInternal::numSlice |
Definition at line 398 of file swscale_internal.h.
struct SwsSlice* SwsInternal::slice |
Definition at line 399 of file swscale_internal.h.
struct SwsFilterDescriptor* SwsInternal::desc |
Definition at line 400 of file swscale_internal.h.
uint32_t SwsInternal::pal_yuv[256] |
Definition at line 402 of file swscale_internal.h.
uint32_t SwsInternal::pal_rgb[256] |
Definition at line 403 of file swscale_internal.h.
float SwsInternal::uint2float_lut[256] |
Definition at line 405 of file swscale_internal.h.
int SwsInternal::lastInLumBuf |
Last scaled horizontal luma/alpha line from source in the ring buffer.
Definition at line 417 of file swscale_internal.h.
int SwsInternal::lastInChrBuf |
Last scaled horizontal chroma line from source in the ring buffer.
Definition at line 418 of file swscale_internal.h.
uint8_t* SwsInternal::formatConvBuffer |
Definition at line 421 of file swscale_internal.h.
int SwsInternal::needAlpha |
Definition at line 422 of file swscale_internal.h.
int16_t* SwsInternal::hLumFilter |
Array of horizontal filter coefficients for luma/alpha planes.
Definition at line 438 of file swscale_internal.h.
int16_t* SwsInternal::hChrFilter |
Array of horizontal filter coefficients for chroma planes.
Definition at line 439 of file swscale_internal.h.
int16_t* SwsInternal::vLumFilter |
Array of vertical filter coefficients for luma/alpha planes.
Definition at line 440 of file swscale_internal.h.
int16_t* SwsInternal::vChrFilter |
Array of vertical filter coefficients for chroma planes.
Definition at line 441 of file swscale_internal.h.
int32_t* SwsInternal::hLumFilterPos |
Array of horizontal filter starting positions for each dst[i] for luma/alpha planes.
Definition at line 442 of file swscale_internal.h.
int32_t* SwsInternal::hChrFilterPos |
Array of horizontal filter starting positions for each dst[i] for chroma planes.
Definition at line 443 of file swscale_internal.h.
int32_t* SwsInternal::vLumFilterPos |
Array of vertical filter starting positions for each dst[i] for luma/alpha planes.
Definition at line 444 of file swscale_internal.h.
int32_t* SwsInternal::vChrFilterPos |
Array of vertical filter starting positions for each dst[i] for chroma planes.
Definition at line 445 of file swscale_internal.h.
int SwsInternal::hLumFilterSize |
Horizontal filter size for luma/alpha pixels.
Definition at line 446 of file swscale_internal.h.
int SwsInternal::hChrFilterSize |
Horizontal filter size for chroma pixels.
Definition at line 447 of file swscale_internal.h.
int SwsInternal::vLumFilterSize |
Vertical filter size for luma/alpha pixels.
Definition at line 448 of file swscale_internal.h.
int SwsInternal::vChrFilterSize |
Vertical filter size for chroma pixels.
Definition at line 449 of file swscale_internal.h.
int SwsInternal::lumMmxextFilterCodeSize |
Runtime-generated MMXEXT horizontal fast bilinear scaler code size for luma/alpha planes.
Definition at line 452 of file swscale_internal.h.
int SwsInternal::chrMmxextFilterCodeSize |
Runtime-generated MMXEXT horizontal fast bilinear scaler code size for chroma planes.
Definition at line 453 of file swscale_internal.h.
uint8_t* SwsInternal::lumMmxextFilterCode |
Runtime-generated MMXEXT horizontal fast bilinear scaler code for luma/alpha planes.
Definition at line 454 of file swscale_internal.h.
uint8_t* SwsInternal::chrMmxextFilterCode |
Runtime-generated MMXEXT horizontal fast bilinear scaler code for chroma planes.
Definition at line 455 of file swscale_internal.h.
int SwsInternal::canMMXEXTBeUsed |
Definition at line 457 of file swscale_internal.h.
int SwsInternal::warned_unuseable_bilinear |
Definition at line 458 of file swscale_internal.h.
int SwsInternal::dstY |
Last destination vertical line output from last slice.
Definition at line 460 of file swscale_internal.h.
Referenced by scale_gamma().
int SwsInternal::flags |
Flags passed by the user to select scaler algorithm, optimizations, subsampling, etc...
Definition at line 461 of file swscale_internal.h.
void* SwsInternal::yuvTable |
Definition at line 462 of file swscale_internal.h.
int SwsInternal::table_gV[256+2 *YUVRGB_TABLE_HEADROOM] |
Definition at line 465 of file swscale_internal.h.
uint8_t* SwsInternal::table_rV[256+2 *YUVRGB_TABLE_HEADROOM] |
Definition at line 466 of file swscale_internal.h.
uint8_t* SwsInternal::table_gU[256+2 *YUVRGB_TABLE_HEADROOM] |
Definition at line 467 of file swscale_internal.h.
uint8_t* SwsInternal::table_bU[256+2 *YUVRGB_TABLE_HEADROOM] |
Definition at line 468 of file swscale_internal.h.
int32_t SwsInternal::input_rgb2yuv_table[16+40 *4] |
Definition at line 469 of file swscale_internal.h.
int* SwsInternal::dither_error[4] |
Definition at line 481 of file swscale_internal.h.
int SwsInternal::contrast |
Definition at line 484 of file swscale_internal.h.
int SwsInternal::brightness |
Definition at line 484 of file swscale_internal.h.
int SwsInternal::saturation |
Definition at line 484 of file swscale_internal.h.
int SwsInternal::srcColorspaceTable[4] |
Definition at line 485 of file swscale_internal.h.
int SwsInternal::dstColorspaceTable[4] |
Definition at line 486 of file swscale_internal.h.
int SwsInternal::srcRange |
0 = MPG YUV range, 1 = JPG YUV range (source image).
Definition at line 487 of file swscale_internal.h.
Referenced by sws_init_single_context(), and sws_setColorspaceDetails().
int SwsInternal::dstRange |
0 = MPG YUV range, 1 = JPG YUV range (destination image).
Definition at line 488 of file swscale_internal.h.
Referenced by sws_init_single_context(), and sws_setColorspaceDetails().
int SwsInternal::src0Alpha |
Definition at line 489 of file swscale_internal.h.
int SwsInternal::dst0Alpha |
Definition at line 490 of file swscale_internal.h.
int SwsInternal::srcXYZ |
Definition at line 491 of file swscale_internal.h.
int SwsInternal::dstXYZ |
Definition at line 492 of file swscale_internal.h.
int SwsInternal::src_h_chr_pos |
Definition at line 493 of file swscale_internal.h.
int SwsInternal::dst_h_chr_pos |
Definition at line 494 of file swscale_internal.h.
int SwsInternal::src_v_chr_pos |
Definition at line 495 of file swscale_internal.h.
int SwsInternal::dst_v_chr_pos |
Definition at line 496 of file swscale_internal.h.
int SwsInternal::yuv2rgb_y_offset |
Definition at line 497 of file swscale_internal.h.
int SwsInternal::yuv2rgb_y_coeff |
Definition at line 498 of file swscale_internal.h.
int SwsInternal::yuv2rgb_v2r_coeff |
Definition at line 499 of file swscale_internal.h.
int SwsInternal::yuv2rgb_v2g_coeff |
Definition at line 500 of file swscale_internal.h.
int SwsInternal::yuv2rgb_u2g_coeff |
Definition at line 501 of file swscale_internal.h.
int SwsInternal::yuv2rgb_u2b_coeff |
Definition at line 502 of file swscale_internal.h.
uint64_t SwsInternal::redDither |
Definition at line 530 of file swscale_internal.h.
uint64_t SwsInternal::greenDither |
Definition at line 531 of file swscale_internal.h.
uint64_t SwsInternal::blueDither |
Definition at line 532 of file swscale_internal.h.
uint64_t SwsInternal::yCoeff |
Definition at line 534 of file swscale_internal.h.
uint64_t SwsInternal::vrCoeff |
Definition at line 535 of file swscale_internal.h.
uint64_t SwsInternal::ubCoeff |
Definition at line 536 of file swscale_internal.h.
uint64_t SwsInternal::vgCoeff |
Definition at line 537 of file swscale_internal.h.
uint64_t SwsInternal::ugCoeff |
Definition at line 538 of file swscale_internal.h.
uint64_t SwsInternal::yOffset |
Definition at line 539 of file swscale_internal.h.
uint64_t SwsInternal::uOffset |
Definition at line 540 of file swscale_internal.h.
uint64_t SwsInternal::vOffset |
Definition at line 541 of file swscale_internal.h.
int32_t SwsInternal::lumMmxFilter[4 *MAX_FILTER_SIZE] |
Definition at line 542 of file swscale_internal.h.
int32_t SwsInternal::chrMmxFilter[4 *MAX_FILTER_SIZE] |
Definition at line 543 of file swscale_internal.h.
int SwsInternal::dstW_mmx |
Definition at line 544 of file swscale_internal.h.
uint64_t SwsInternal::esp |
Definition at line 545 of file swscale_internal.h.
uint64_t SwsInternal::vRounder |
Definition at line 546 of file swscale_internal.h.
uint64_t SwsInternal::u_temp |
Definition at line 547 of file swscale_internal.h.
uint64_t SwsInternal::v_temp |
Definition at line 548 of file swscale_internal.h.
uint64_t SwsInternal::y_temp |
Definition at line 549 of file swscale_internal.h.
int32_t SwsInternal::alpMmxFilter[4 *MAX_FILTER_SIZE] |
Definition at line 550 of file swscale_internal.h.
ptrdiff_t SwsInternal::uv_off |
offset (in pixels) between u and v planes
Definition at line 554 of file swscale_internal.h.
ptrdiff_t SwsInternal::uv_offx2 |
offset (in bytes) between u and v planes
Definition at line 555 of file swscale_internal.h.
uint16_t SwsInternal::dither16[8] |
Definition at line 556 of file swscale_internal.h.
uint32_t SwsInternal::dither32[8] |
Definition at line 557 of file swscale_internal.h.
const uint8_t* SwsInternal::chrDither8 |
Definition at line 559 of file swscale_internal.h.
const uint8_t * SwsInternal::lumDither8 |
Definition at line 559 of file swscale_internal.h.
int SwsInternal::use_mmx_vfilter |
Definition at line 572 of file swscale_internal.h.
int16_t* SwsInternal::xyzgamma |
Definition at line 577 of file swscale_internal.h.
int16_t* SwsInternal::rgbgamma |
Definition at line 578 of file swscale_internal.h.
int16_t* SwsInternal::xyzgammainv |
Definition at line 579 of file swscale_internal.h.
int16_t* SwsInternal::rgbgammainv |
Definition at line 580 of file swscale_internal.h.
int16_t SwsInternal::xyz2rgb_matrix[3][4] |
Definition at line 581 of file swscale_internal.h.
int16_t SwsInternal::rgb2xyz_matrix[3][4] |
Definition at line 582 of file swscale_internal.h.
yuv2planar1_fn SwsInternal::yuv2plane1 |
Definition at line 585 of file swscale_internal.h.
yuv2planarX_fn SwsInternal::yuv2planeX |
Definition at line 586 of file swscale_internal.h.
yuv2interleavedX_fn SwsInternal::yuv2nv12cX |
Definition at line 587 of file swscale_internal.h.
yuv2packed1_fn SwsInternal::yuv2packed1 |
Definition at line 588 of file swscale_internal.h.
yuv2packed2_fn SwsInternal::yuv2packed2 |
Definition at line 589 of file swscale_internal.h.
yuv2packedX_fn SwsInternal::yuv2packedX |
Definition at line 590 of file swscale_internal.h.
yuv2anyX_fn SwsInternal::yuv2anyX |
Definition at line 591 of file swscale_internal.h.
void* SwsInternal::input_opaque |
Opaque data pointer passed to all input functions.
Definition at line 594 of file swscale_internal.h.
planar1_YV12_fn SwsInternal::lumToYV12 |
Definition at line 596 of file swscale_internal.h.
planar1_YV12_fn SwsInternal::alpToYV12 |
Definition at line 597 of file swscale_internal.h.
planar2_YV12_fn SwsInternal::chrToYV12 |
Definition at line 598 of file swscale_internal.h.
planarX_YV12_fn SwsInternal::readLumPlanar |
Functions to read planar input, such as planar RGB, and convert internally to Y/UV/A.
Definition at line 605 of file swscale_internal.h.
planarX_YV12_fn SwsInternal::readAlpPlanar |
Definition at line 606 of file swscale_internal.h.
planarX2_YV12_fn SwsInternal::readChrPlanar |
Definition at line 607 of file swscale_internal.h.
void(* SwsInternal::hyscale_fast) (SwsInternal *c, int16_t *dst, int dstWidth, const uint8_t *src, int srcW, int xInc) |
Scale one horizontal line of input data using a bilinear filter to produce one line of output data.
Compared to SwsInternal->hScale(), please take note of the following caveats when using these:
Definition at line 629 of file swscale_internal.h.
void(* SwsInternal::hcscale_fast) (SwsInternal *c, int16_t *dst1, int16_t *dst2, int dstWidth, const uint8_t *src1, const uint8_t *src2, int srcW, int xInc) |
Definition at line 632 of file swscale_internal.h.
void(* SwsInternal::hyScale) (SwsInternal *c, int16_t *dst, int dstW, const uint8_t *src, const int16_t *filter, const int32_t *filterPos, int filterSize) |
Scale one horizontal line of input data using a filter over the input lines, to produce one (differently sized) line of output data.
dst | pointer to destination buffer for horizontally scaled data. If the number of bits per component of one destination pixel (SwsInternal->dstBpc) is <= 10, data will be 15 bpc in 16 bits (int16_t) width. Else (i.e. SwsInternal->dstBpc == 16), data will be 19bpc in 32 bits (int32_t) width. |
dstW | width of destination image |
src | pointer to source data to be scaled. If the number of bits per component of a source pixel (SwsInternal->srcBpc) is 8, this is 8bpc in 8 bits (uint8_t) width. Else (i.e. SwsInternal->dstBpc > 8), this is native depth in 16 bits (uint16_t) width. In other words, for 9-bit YUV input, this is 9bpc, for 10-bit YUV input, this is 10bpc, and for 16-bit RGB or YUV, this is 16bpc. |
filter | filter coefficients to be used per output pixel for scaling. This contains 14bpp filtering coefficients. Guaranteed to contain dstW * filterSize entries. |
filterPos | position of the first input pixel to be used for each output pixel during scaling. Guaranteed to contain dstW entries. |
filterSize | the number of input coefficients to be used (and thus the number of input pixels to be used) for creating a single output pixel. Is aligned to 4 (and input coefficients thus padded with zeroes) to simplify creating SIMD code. |
Definition at line 669 of file swscale_internal.h.
void(* SwsInternal::hcScale) (SwsInternal *c, int16_t *dst, int dstW, const uint8_t *src, const int16_t *filter, const int32_t *filterPos, int filterSize) |
Definition at line 672 of file swscale_internal.h.
Color range conversion function for luma plane if needed.
Definition at line 678 of file swscale_internal.h.
void(* SwsInternal::chrConvertRange) (int16_t *dst1, int16_t *dst2, int width) |
Color range conversion function for chroma planes if needed.
Definition at line 680 of file swscale_internal.h.
int SwsInternal::needs_hcscale |
Set if there are chroma planes to be converted.
Definition at line 682 of file swscale_internal.h.
SwsDither SwsInternal::dither |
Definition at line 684 of file swscale_internal.h.
Referenced by sws_receive_slice().
SwsAlphaBlend SwsInternal::alphablend |
Definition at line 686 of file swscale_internal.h.
Referenced by sws_init_single_context(), and sws_setColorspaceDetails().
uint8_t* SwsInternal::rgb0_scratch |
Definition at line 691 of file swscale_internal.h.
unsigned int SwsInternal::rgb0_scratch_allocated |
Definition at line 692 of file swscale_internal.h.
uint8_t* SwsInternal::xyz_scratch |
Definition at line 697 of file swscale_internal.h.
unsigned int SwsInternal::xyz_scratch_allocated |
Definition at line 698 of file swscale_internal.h.
unsigned int SwsInternal::dst_slice_align |
Definition at line 700 of file swscale_internal.h.
Referenced by sws_receive_slice_alignment().
atomic_int SwsInternal::stride_unaligned_warned |
Definition at line 701 of file swscale_internal.h.
atomic_int SwsInternal::data_unaligned_warned |
Definition at line 702 of file swscale_internal.h.
Half2FloatTables* SwsInternal::h2f_tables |
Definition at line 704 of file swscale_internal.h.