|
FFmpeg
|
#include <stdatomic.h>#include <assert.h>#include "config.h"#include "swscale.h"#include "graph.h"#include "libavutil/avassert.h"#include "libavutil/common.h"#include "libavutil/frame.h"#include "libavutil/intreadwrite.h"#include "libavutil/log.h"#include "libavutil/mem_internal.h"#include "libavutil/pixfmt.h"#include "libavutil/pixdesc.h"#include "libavutil/slicethread.h"#include "libavutil/half2float.h"Go to the source code of this file.
Data Structures | |
| struct | Range |
| struct | RangeList |
| struct | SwsLuts |
| struct | SwsColorXform |
| struct | SwsInternal |
| struct | SwsPlane |
| Slice plane. More... | |
| struct | SwsSlice |
| Struct which defines a slice of an image to be scaled or an output for a scaled slice. More... | |
| struct | SwsFilterDescriptor |
| Struct which holds all necessary data for processing a slice. More... | |
Macros | |
| #define | SWSINTERNAL_ADDITIONAL_ASM_SIZE 0 |
| #define | STR(s) AV_TOSTRING(s) |
| #define | YUVRGB_TABLE_HEADROOM 512 |
| #define | YUVRGB_TABLE_LUMA_HEADROOM 512 |
| #define | MAX_FILTER_SIZE SWS_MAX_FILTER_SIZE |
| #define | SWS_MAX_THREADS 8192 /* sanity clamp */ |
| #define | ALT32_CORR 1 |
| #define | APCK_PTR2 4 |
| #define | APCK_COEF 8 |
| #define | APCK_SIZE 16 |
| #define | RETCODE_USE_CASCADE -12345 |
| #define | MAX_SLICE_PLANES 4 |
| #define | MAX_LINES_AHEAD 4 |
Horizontal and vertical filters. | |
To better understand the following fields, here is a pseudo-code of their usage in filtering a horizontal line: | |
| #define | RY_IDX 0 |
| #define | GY_IDX 1 |
| #define | BY_IDX 2 |
| #define | RU_IDX 3 |
| #define | GU_IDX 4 |
| #define | BU_IDX 5 |
| #define | RV_IDX 6 |
| #define | GV_IDX 7 |
| #define | BV_IDX 8 |
| #define | RGB2YUV_SHIFT 15 |
| #define | RED_DITHER "0*8" |
| #define | GREEN_DITHER "1*8" |
| #define | BLUE_DITHER "2*8" |
| #define | Y_COEFF "3*8" |
| #define | VR_COEFF "4*8" |
| #define | UB_COEFF "5*8" |
| #define | VG_COEFF "6*8" |
| #define | UG_COEFF "7*8" |
| #define | Y_OFFSET "8*8" |
| #define | U_OFFSET "9*8" |
| #define | V_OFFSET "10*8" |
| #define | LUM_MMX_FILTER_OFFSET "11*8" |
| #define | CHR_MMX_FILTER_OFFSET "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE) |
| #define | DSTW_OFFSET "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2" |
| #define | ESP_OFFSET "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+8" |
| #define | VROUNDER_OFFSET "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+16" |
| #define | U_TEMP "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+24" |
| #define | V_TEMP "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+32" |
| #define | Y_TEMP "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+40" |
| #define | ALP_MMX_FILTER_OFFSET "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+48" |
| #define | UV_OFF_PX "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*3+48" |
| #define | UV_OFF_BYTE "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*3+56" |
| #define | DITHER16 "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*3+64" |
| #define | DITHER32 "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*3+80" |
| #define | DITHER32_INT (11*8+4*4*MAX_FILTER_SIZE*3+80) |
| #define | XYZ_GAMMA (2.6) |
| #define | RGB_GAMMA (2.2) |
Typedefs | |
| typedef int(* | SwsFunc) (SwsInternal *c, const uint8_t *const src[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const dst[], const int dstStride[]) |
| typedef void(* | SwsColorFunc) (const SwsInternal *c, uint8_t *dst, int dst_stride, const uint8_t *src, int src_stride, int w, int h) |
| typedef void(* | yuv2planar1_fn) (const int16_t *src, uint8_t *dest, int dstW, const uint8_t *dither, int offset) |
| Write one line of horizontally scaled data to planar output without any additional vertical scaling (or point-scaling). More... | |
| typedef void(* | yuv2planarX_fn) (const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset) |
| Write one line of horizontally scaled data to planar output with multi-point vertical scaling between input pixels. More... | |
| typedef void(* | yuv2interleavedX_fn) (enum AVPixelFormat dstFormat, const uint8_t *chrDither, const int16_t *chrFilter, int chrFilterSize, const int16_t **chrUSrc, const int16_t **chrVSrc, uint8_t *dest, int dstW) |
| Write one line of horizontally scaled chroma to interleaved output with multi-point vertical scaling between input pixels. More... | |
| typedef void(* | yuv2packed1_fn) (SwsInternal *c, const int16_t *lumSrc, const int16_t *chrUSrc[2], const int16_t *chrVSrc[2], const int16_t *alpSrc, uint8_t *dest, int dstW, int uvalpha, int y) |
| Write one line of horizontally scaled Y/U/V/A to packed-pixel YUV/RGB output without any additional vertical scaling (or point-scaling). More... | |
| typedef void(* | yuv2packed2_fn) (SwsInternal *c, const int16_t *lumSrc[2], const int16_t *chrUSrc[2], const int16_t *chrVSrc[2], const int16_t *alpSrc[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) |
| Write one line of horizontally scaled Y/U/V/A to packed-pixel YUV/RGB output by doing bilinear scaling between two input lines. More... | |
| typedef void(* | yuv2packedX_fn) (SwsInternal *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int y) |
| Write one line of horizontally scaled Y/U/V/A to packed-pixel YUV/RGB output by doing multi-point vertical scaling between input pixels. More... | |
| typedef void(* | yuv2anyX_fn) (SwsInternal *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t **dest, int dstW, int y) |
| Write one line of horizontally scaled Y/U/V/A to YUV/RGB output by doing multi-point vertical scaling between input pixels. More... | |
| typedef void(* | planar1_YV12_fn) (uint8_t *dst, const uint8_t *src, const uint8_t *src2, const uint8_t *src3, int width, uint32_t *pal, void *opaque) |
| Unscaled conversion of luma/alpha plane to YV12 for horizontal scaler. More... | |
| typedef void(* | planar2_YV12_fn) (uint8_t *dst, uint8_t *dst2, const uint8_t *src, const uint8_t *src2, const uint8_t *src3, int width, uint32_t *pal, void *opaque) |
| Unscaled conversion of chroma plane to YV12 for horizontal scaler. More... | |
| typedef void(* | planarX_YV12_fn) (uint8_t *dst, const uint8_t *src[4], int width, int32_t *rgb2yuv, void *opaque) |
| Unscaled conversion of arbitrary planar data (e.g. More... | |
| typedef void(* | planarX2_YV12_fn) (uint8_t *dst, uint8_t *dst2, const uint8_t *src[4], int width, int32_t *rgb2yuv, void *opaque) |
Variables | |
| const uint64_t | ff_dither4 [2] |
| const uint64_t | ff_dither8 [2] |
| const uint8_t | ff_dither_2x2_4 [3][8] |
| const uint8_t | ff_dither_2x2_8 [3][8] |
| const uint8_t | ff_dither_4x4_16 [5][8] |
| const uint8_t | ff_dither_8x8_32 [9][8] |
| const uint8_t | ff_dither_8x8_73 [9][8] |
| const uint8_t | ff_dither_8x8_128 [9][8] |
| const uint8_t | ff_dither_8x8_220 [9][8] |
| const int32_t | ff_yuv2rgb_coeffs [11][4] |
| const AVClass | ff_sws_context_class |
| #define SWSINTERNAL_ADDITIONAL_ASM_SIZE 0 |
Definition at line 46 of file swscale_internal.h.
| #define STR | ( | s | ) | AV_TOSTRING(s) |
Definition at line 49 of file swscale_internal.h.
| #define YUVRGB_TABLE_HEADROOM 512 |
Definition at line 51 of file swscale_internal.h.
| #define YUVRGB_TABLE_LUMA_HEADROOM 512 |
Definition at line 52 of file swscale_internal.h.
| #define MAX_FILTER_SIZE SWS_MAX_FILTER_SIZE |
Definition at line 54 of file swscale_internal.h.
| #define SWS_MAX_THREADS 8192 /* sanity clamp */ |
Definition at line 56 of file swscale_internal.h.
| #define ALT32_CORR 1 |
Definition at line 61 of file swscale_internal.h.
| #define APCK_PTR2 4 |
Definition at line 69 of file swscale_internal.h.
| #define APCK_COEF 8 |
Definition at line 70 of file swscale_internal.h.
| #define APCK_SIZE 16 |
Definition at line 71 of file swscale_internal.h.
| #define RETCODE_USE_CASCADE -12345 |
Definition at line 74 of file swscale_internal.h.
| #define RY_IDX 0 |
Definition at line 466 of file swscale_internal.h.
| #define GY_IDX 1 |
Definition at line 467 of file swscale_internal.h.
| #define BY_IDX 2 |
Definition at line 468 of file swscale_internal.h.
| #define RU_IDX 3 |
Definition at line 469 of file swscale_internal.h.
| #define GU_IDX 4 |
Definition at line 470 of file swscale_internal.h.
| #define BU_IDX 5 |
Definition at line 471 of file swscale_internal.h.
| #define RV_IDX 6 |
Definition at line 472 of file swscale_internal.h.
| #define GV_IDX 7 |
Definition at line 473 of file swscale_internal.h.
| #define BV_IDX 8 |
Definition at line 474 of file swscale_internal.h.
| #define RGB2YUV_SHIFT 15 |
Definition at line 475 of file swscale_internal.h.
| #define RED_DITHER "0*8" |
Definition at line 494 of file swscale_internal.h.
| #define GREEN_DITHER "1*8" |
Definition at line 495 of file swscale_internal.h.
| #define BLUE_DITHER "2*8" |
Definition at line 496 of file swscale_internal.h.
| #define Y_COEFF "3*8" |
Definition at line 497 of file swscale_internal.h.
| #define VR_COEFF "4*8" |
Definition at line 498 of file swscale_internal.h.
| #define UB_COEFF "5*8" |
Definition at line 499 of file swscale_internal.h.
| #define VG_COEFF "6*8" |
Definition at line 500 of file swscale_internal.h.
| #define UG_COEFF "7*8" |
Definition at line 501 of file swscale_internal.h.
| #define Y_OFFSET "8*8" |
Definition at line 502 of file swscale_internal.h.
| #define U_OFFSET "9*8" |
Definition at line 503 of file swscale_internal.h.
| #define V_OFFSET "10*8" |
Definition at line 504 of file swscale_internal.h.
| #define LUM_MMX_FILTER_OFFSET "11*8" |
Definition at line 505 of file swscale_internal.h.
| #define CHR_MMX_FILTER_OFFSET "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE) |
Definition at line 506 of file swscale_internal.h.
| #define DSTW_OFFSET "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2" |
Definition at line 507 of file swscale_internal.h.
| #define ESP_OFFSET "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+8" |
Definition at line 508 of file swscale_internal.h.
| #define VROUNDER_OFFSET "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+16" |
Definition at line 509 of file swscale_internal.h.
| #define U_TEMP "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+24" |
Definition at line 510 of file swscale_internal.h.
| #define V_TEMP "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+32" |
Definition at line 511 of file swscale_internal.h.
| #define Y_TEMP "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+40" |
Definition at line 512 of file swscale_internal.h.
| #define ALP_MMX_FILTER_OFFSET "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*2+48" |
Definition at line 513 of file swscale_internal.h.
| #define UV_OFF_PX "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*3+48" |
Definition at line 514 of file swscale_internal.h.
| #define UV_OFF_BYTE "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*3+56" |
Definition at line 515 of file swscale_internal.h.
| #define DITHER16 "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*3+64" |
Definition at line 516 of file swscale_internal.h.
| #define DITHER32 "11*8+4*4*"AV_STRINGIFY(MAX_FILTER_SIZE)"*3+80" |
Definition at line 517 of file swscale_internal.h.
| #define DITHER32_INT (11*8+4*4*MAX_FILTER_SIZE*3+80) |
Definition at line 518 of file swscale_internal.h.
| #define XYZ_GAMMA (2.6) |
Definition at line 554 of file swscale_internal.h.
| #define RGB_GAMMA (2.2) |
Definition at line 555 of file swscale_internal.h.
| #define MAX_SLICE_PLANES 4 |
Definition at line 1097 of file swscale_internal.h.
| #define MAX_LINES_AHEAD 4 |
Definition at line 1194 of file swscale_internal.h.
| typedef int(* SwsFunc) (SwsInternal *c, const uint8_t *const src[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const dst[], const int dstStride[]) |
Definition at line 96 of file swscale_internal.h.
| typedef void(* SwsColorFunc) (const SwsInternal *c, uint8_t *dst, int dst_stride, const uint8_t *src, int src_stride, int w, int h) |
Definition at line 100 of file swscale_internal.h.
| typedef void(* yuv2planar1_fn) (const int16_t *src, uint8_t *dest, int dstW, const uint8_t *dither, int offset) |
Write one line of horizontally scaled data to planar output without any additional vertical scaling (or point-scaling).
| src | scaled source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| dest | pointer to the output plane. For >8-bit output, this is in uint16_t |
| dstW | width of destination in pixels |
| dither | ordered dither array of type int16_t and size 8 |
| offset | Dither offset |
Definition at line 125 of file swscale_internal.h.
| typedef void(* yuv2planarX_fn) (const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset) |
Write one line of horizontally scaled data to planar output with multi-point vertical scaling between input pixels.
| filter | vertical luma/alpha scaling coefficients, 12 bits [0,4096] |
| src | scaled luma (Y) or alpha (A) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| filterSize | number of vertical input lines to scale |
| dest | pointer to output plane. For >8-bit output, this is in uint16_t |
| dstW | width of destination pixels |
| offset | Dither offset |
Definition at line 141 of file swscale_internal.h.
| typedef void(* yuv2interleavedX_fn) (enum AVPixelFormat dstFormat, const uint8_t *chrDither, const int16_t *chrFilter, int chrFilterSize, const int16_t **chrUSrc, const int16_t **chrVSrc, uint8_t *dest, int dstW) |
Write one line of horizontally scaled chroma to interleaved output with multi-point vertical scaling between input pixels.
| dstFormat | destination pixel format |
| chrDither | ordered dither array of type uint8_t and size 8 |
| chrFilter | vertical chroma scaling coefficients, 12 bits [0,4096] |
| chrUSrc | scaled chroma (U) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| chrVSrc | scaled chroma (V) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| chrFilterSize | number of vertical chroma input lines to scale |
| dest | pointer to the output plane. For >8-bit output, this is in uint16_t |
| dstW | width of chroma planes |
Definition at line 161 of file swscale_internal.h.
| typedef void(* yuv2packed1_fn) (SwsInternal *c, const int16_t *lumSrc, const int16_t *chrUSrc[2], const int16_t *chrVSrc[2], const int16_t *alpSrc, uint8_t *dest, int dstW, int uvalpha, int y) |
Write one line of horizontally scaled Y/U/V/A to packed-pixel YUV/RGB output without any additional vertical scaling (or point-scaling).
Note that this function may do chroma scaling, see the "uvalpha" argument.
| c | SWS scaling context |
| lumSrc | scaled luma (Y) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| chrUSrc | scaled chroma (U) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| chrVSrc | scaled chroma (V) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| alpSrc | scaled alpha (A) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| dest | pointer to the output plane. For 16-bit output, this is uint16_t |
| dstW | width of lumSrc and alpSrc in pixels, number of pixels to write into dest[] |
| uvalpha | chroma scaling coefficient for the second line of chroma pixels, either 2048 or 0. If 0, one chroma input is used for 2 output pixels (or if the SWS_FLAG_FULL_CHR_INT flag is set, it generates 1 output pixel). If 2048, two chroma input pixels should be averaged for 2 output pixels (this only happens if SWS_FLAG_FULL_CHR_INT is not set) |
| y | vertical line number for this output. This does not need to be used to calculate the offset in the destination, but can be used to generate comfort noise using dithering for some output formats. |
Definition at line 198 of file swscale_internal.h.
| typedef void(* yuv2packed2_fn) (SwsInternal *c, const int16_t *lumSrc[2], const int16_t *chrUSrc[2], const int16_t *chrVSrc[2], const int16_t *alpSrc[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) |
Write one line of horizontally scaled Y/U/V/A to packed-pixel YUV/RGB output by doing bilinear scaling between two input lines.
| c | SWS scaling context |
| lumSrc | scaled luma (Y) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| chrUSrc | scaled chroma (U) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| chrVSrc | scaled chroma (V) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| alpSrc | scaled alpha (A) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| dest | pointer to the output plane. For 16-bit output, this is uint16_t |
| dstW | width of lumSrc and alpSrc in pixels, number of pixels to write into dest[] |
| yalpha | luma/alpha scaling coefficients for the second input line. The first line's coefficients can be calculated by using 4096 - yalpha |
| uvalpha | chroma scaling coefficient for the second input line. The first line's coefficients can be calculated by using 4096 - uvalpha |
| y | vertical line number for this output. This does not need to be used to calculate the offset in the destination, but can be used to generate comfort noise using dithering for some output formats. |
Definition at line 231 of file swscale_internal.h.
| typedef void(* yuv2packedX_fn) (SwsInternal *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t *dest, int dstW, int y) |
Write one line of horizontally scaled Y/U/V/A to packed-pixel YUV/RGB output by doing multi-point vertical scaling between input pixels.
| c | SWS scaling context |
| lumFilter | vertical luma/alpha scaling coefficients, 12 bits [0,4096] |
| lumSrc | scaled luma (Y) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| lumFilterSize | number of vertical luma/alpha input lines to scale |
| chrFilter | vertical chroma scaling coefficients, 12 bits [0,4096] |
| chrUSrc | scaled chroma (U) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| chrVSrc | scaled chroma (V) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| chrFilterSize | number of vertical chroma input lines to scale |
| alpSrc | scaled alpha (A) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| dest | pointer to the output plane. For 16-bit output, this is uint16_t |
| dstW | width of lumSrc and alpSrc in pixels, number of pixels to write into dest[] |
| y | vertical line number for this output. This does not need to be used to calculate the offset in the destination, but can be used to generate comfort noise using dithering or some output formats. |
Definition at line 263 of file swscale_internal.h.
| typedef void(* yuv2anyX_fn) (SwsInternal *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize, const int16_t *chrFilter, const int16_t **chrUSrc, const int16_t **chrVSrc, int chrFilterSize, const int16_t **alpSrc, uint8_t **dest, int dstW, int y) |
Write one line of horizontally scaled Y/U/V/A to YUV/RGB output by doing multi-point vertical scaling between input pixels.
| c | SWS scaling context |
| lumFilter | vertical luma/alpha scaling coefficients, 12 bits [0,4096] |
| lumSrc | scaled luma (Y) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| lumFilterSize | number of vertical luma/alpha input lines to scale |
| chrFilter | vertical chroma scaling coefficients, 12 bits [0,4096] |
| chrUSrc | scaled chroma (U) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| chrVSrc | scaled chroma (V) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| chrFilterSize | number of vertical chroma input lines to scale |
| alpSrc | scaled alpha (A) source data, 15 bits for 8-10-bit output, 19 bits for 16-bit output (in int32_t) |
| dest | pointer to the output planes. For 16-bit output, this is uint16_t |
| dstW | width of lumSrc and alpSrc in pixels, number of pixels to write into dest[] |
| y | vertical line number for this output. This does not need to be used to calculate the offset in the destination, but can be used to generate comfort noise using dithering or some output formats. |
Definition at line 297 of file swscale_internal.h.
| typedef void(* planar1_YV12_fn) (uint8_t *dst, const uint8_t *src, const uint8_t *src2, const uint8_t *src3, int width, uint32_t *pal, void *opaque) |
Unscaled conversion of luma/alpha plane to YV12 for horizontal scaler.
Definition at line 308 of file swscale_internal.h.
| typedef void(* planar2_YV12_fn) (uint8_t *dst, uint8_t *dst2, const uint8_t *src, const uint8_t *src2, const uint8_t *src3, int width, uint32_t *pal, void *opaque) |
Unscaled conversion of chroma plane to YV12 for horizontal scaler.
Definition at line 315 of file swscale_internal.h.
| typedef void(* planarX_YV12_fn) (uint8_t *dst, const uint8_t *src[4], int width, int32_t *rgb2yuv, void *opaque) |
Unscaled conversion of arbitrary planar data (e.g.
RGBA) to YV12, through conversion using the given color matrix.
Definition at line 323 of file swscale_internal.h.
| typedef void(* planarX2_YV12_fn) (uint8_t *dst, uint8_t *dst2, const uint8_t *src[4], int width, int32_t *rgb2yuv, void *opaque) |
Definition at line 326 of file swscale_internal.h.
|
inlinestatic |
Definition at line 78 of file swscale_internal.h.
Referenced by check_chrConvertRange(), check_hscale(), check_input_planar_rgb_to_a(), check_input_planar_rgb_to_uv(), check_input_planar_rgb_to_y(), check_lumConvertRange(), check_output_yuv2gbrp(), check_rgb24toyv12(), check_rgb_to_uv(), check_rgb_to_y(), check_rgba_to_a(), check_semiplanar(), check_yuv2nv12cX(), check_yuv2packed1(), check_yuv2packed2(), check_yuv2packedX(), check_yuv2rgb(), check_yuv2yuv1(), check_yuv2yuvX(), compile(), context_init_threaded(), ff_sws_init_single_context(), ff_sws_slice_worker(), ff_sws_vk_init(), ff_swscale(), handle_formats(), init_legacy_subpass(), run_legacy_swscale(), run_legacy_unscaled(), scale_gamma(), scale_internal(), setup_legacy_swscale(), slice_ctx(), sws_frame_end(), sws_frame_setup(), sws_frame_start(), sws_freeContext(), sws_getColorspaceDetails(), sws_init_context(), sws_receive_slice(), sws_receive_slice_alignment(), sws_scale(), sws_scale_frame(), sws_send_slice(), and sws_setColorspaceDetails().
| int ff_range_add | ( | RangeList * | r, |
| unsigned int | start, | ||
| unsigned int | len | ||
| ) |
Definition at line 2391 of file utils.c.
Referenced by sws_send_slice().
| SwsFunc ff_yuv2rgb_get_func_ptr | ( | SwsInternal * | c | ) |
Referenced by ff_get_unscaled_swscale(), and if().
| int ff_yuv2rgb_c_init_tables | ( | SwsInternal * | c, |
| const int | inv_table[4], | ||
| int | fullRange, | ||
| int | brightness, | ||
| int | contrast, | ||
| int | saturation | ||
| ) |
Referenced by if(), and sws_setColorspaceDetails().
| void ff_yuv2rgb_init_tables_ppc | ( | SwsInternal * | c, |
| const int | inv_table[4], | ||
| int | brightness, | ||
| int | contrast, | ||
| int | saturation | ||
| ) |
Definition at line 638 of file yuv2rgb_altivec.c.
Referenced by sws_setColorspaceDetails().
| void ff_updateMMXDitherTables | ( | SwsInternal * | c, |
| int | dstY | ||
| ) |
Referenced by ff_swscale().
| void ff_update_palette | ( | SwsInternal * | c, |
| const uint32_t * | pal | ||
| ) |
Definition at line 874 of file swscale.c.
Referenced by scale_internal(), and setup_legacy_swscale().
| av_cold void ff_sws_init_range_convert | ( | SwsInternal * | c | ) |
Definition at line 627 of file swscale.c.
Referenced by sws_init_swscale(), and sws_setColorspaceDetails().
| av_cold void ff_sws_init_range_convert_aarch64 | ( | SwsInternal * | c | ) |
Definition at line 314 of file swscale.c.
Referenced by ff_sws_init_range_convert().
| av_cold void ff_sws_init_range_convert_loongarch | ( | SwsInternal * | c | ) |
Definition at line 27 of file swscale_init_loongarch.c.
Referenced by ff_sws_init_range_convert().
| av_cold void ff_sws_init_range_convert_riscv | ( | SwsInternal * | c | ) |
Definition at line 29 of file swscale.c.
Referenced by ff_sws_init_range_convert().
| av_cold void ff_sws_init_range_convert_x86 | ( | SwsInternal * | c | ) |
Definition at line 474 of file swscale.c.
Referenced by ff_sws_init_range_convert().
| av_cold void ff_sws_init_xyzdsp | ( | SwsInternal * | c | ) |
Definition at line 864 of file swscale.c.
Referenced by check_xyz12Torgb48le(), ff_get_unscaled_swscale(), and sws_init_swscale().
| av_cold void ff_sws_init_xyzdsp_aarch64 | ( | SwsInternal * | c | ) |
Definition at line 339 of file swscale.c.
Referenced by ff_sws_init_xyzdsp().
| av_cold int ff_sws_fill_xyztables | ( | SwsInternal * | c | ) |
Definition at line 736 of file utils.c.
Referenced by check_xyz12Torgb48le(), and handle_formats().
| SwsFunc ff_yuv2rgb_init_x86 | ( | SwsInternal * | c | ) |
| SwsFunc ff_yuv2rgb_init_ppc | ( | SwsInternal * | c | ) |
Definition at line 567 of file yuv2rgb_altivec.c.
Referenced by if().
| SwsFunc ff_yuv2rgb_init_loongarch | ( | SwsInternal * | c | ) |
Definition at line 110 of file swscale_init_loongarch.c.
Referenced by if().
| SwsFunc ff_yuv2rgb_init_aarch64 | ( | SwsInternal * | c | ) |
Definition at line 271 of file swscale_unscaled.c.
Referenced by if().
|
static |
Definition at line 740 of file swscale_internal.h.
Referenced by ff_sws_init_output_funcs(), ff_sws_init_output_lasx(), ff_sws_init_output_lsx(), ff_sws_init_single_context(), ff_sws_init_swscale_ppc(), ff_sws_init_swscale_vsx(), ff_swscale(), planarCopyWrapper(), planarRgbToplanarRgbWrapper(), rgbaf16_funcs_endian(), sws_init_swscale_TMPL(), and sws_setColorspaceDetails().
|
static |
Definition at line 747 of file swscale_internal.h.
Referenced by ff_swscale().
|
static |
Definition at line 754 of file swscale_internal.h.
Referenced by ff_sws_init_output_funcs(), ff_sws_init_output_lasx(), ff_sws_init_output_lsx(), ff_sws_init_single_context(), ff_sws_init_swscale_aarch64(), ff_sws_init_swscale_ppc(), ff_sws_init_swscale_vsx(), ff_swscale(), planarCopyWrapper(), planarRgbToplanarRgbWrapper(), rgbaf16_funcs_endian(), sws_init_swscale_TMPL(), and sws_setColorspaceDetails().
|
static |
Definition at line 761 of file swscale_internal.h.
Referenced by check_yuv2yuvX(), ff_sws_alphablendaway(), ff_sws_init_output_funcs(), ff_sws_init_swscale_aarch64(), ff_sws_init_swscale_vsx(), ff_sws_init_swscale_x86(), ff_sws_init_xyzdsp_aarch64(), ff_swscale(), planarCopyWrapper(), planarRgbToplanarRgbWrapper(), rgbaf16_funcs_endian(), yuv2gbrp16_full_X_c(), yuv2gbrp_full_X_c(), yuv2gbrpf32_full_X_c(), and yuv2gbrpmsb_full_X_c().
|
static |
Definition at line 768 of file swscale_internal.h.
Referenced by isPlanarYUV(), isSwappedChroma(), range_override_needed(), and sws_setColorspaceDetails().
|
static |
Definition at line 775 of file swscale_internal.h.
Referenced by isSemiPlanarYUV(), and isSwappedChroma().
|
static |
Definition at line 786 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), ff_sws_init_output_funcs(), ff_sws_init_output_lasx(), ff_sws_init_output_lsx(), ff_sws_init_swscale_aarch64(), ff_sws_init_swscale_ppc(), ff_sws_init_swscale_vsx(), isSwappedChroma(), planarCopyWrapper(), and sws_init_swscale_TMPL().
|
static |
Definition at line 793 of file swscale_internal.h.
|
static |
Definition at line 800 of file swscale_internal.h.
Referenced by adapt_colors(), ff_init_filters(), ff_init_vscale(), ff_init_vscale_pfn(), ff_sws_alphablendaway(), range_override_needed(), sws_init_swscale(), and sws_setColorspaceDetails().
|
static |
Definition at line 811 of file swscale_internal.h.
Referenced by findRgbConvFn().
|
static |
Definition at line 833 of file swscale_internal.h.
Referenced by findRgbConvFn().
|
static |
Definition at line 855 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), ff_sws_init_single_context(), and scale_internal().
|
static |
Definition at line 862 of file swscale_internal.h.
Referenced by ff_sws_init_single_context().
|
static |
Definition at line 869 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), ff_hscale16to15_4_neon(), ff_hscale16to15_X4_neon(), ff_hscale16to15_X8_neon(), ff_hscale16to19_4_neon(), ff_hscale16to19_X4_neon(), ff_hscale16to19_X8_neon(), ff_hscale_16_to_15_lasx(), ff_hscale_16_to_15_lsx(), ff_hscale_16_to_19_lasx(), ff_hscale_16_to_19_lsx(), ff_sws_init_range_convert(), ff_sws_init_single_context(), hScale16To15_c(), and hScale16To19_c().
|
static |
Definition at line 877 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), ff_sws_init_single_context(), and planarCopyWrapper().
|
static |
Definition at line 884 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), and ff_init_filters().
|
static |
Definition at line 891 of file swscale_internal.h.
Referenced by ff_init_desc_chscale(), ff_init_desc_fmt_convert(), ff_init_desc_hscale(), ff_init_vscale(), ff_init_vscale_pfn(), ff_sws_init_single_context(), ff_swscale(), ff_yuv2rgb_init_loongarch(), if(), init_legacy_subpass(), palToGbrpWrapper(), reset_ptr(), scale_internal(), and sws_setColorspaceDetails().
|
static |
Definition at line 900 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), and ff_swscale().
|
static |
Definition at line 909 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), ff_swscale(), if(), and reset_ptr().
|
static |
Definition at line 916 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale().
|
static |
Definition at line 923 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), and ff_sws_init_single_context().
|
static |
Definition at line 931 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), ff_init_filters(), palToGbrpWrapper(), palToRgbWrapper(), reset_ptr(), scale_internal(), setup_legacy_swscale(), and slice_ctx().
|
static |
Definition at line 949 of file swscale_internal.h.
Referenced by ff_sws_init_output_funcs(), ff_sws_init_output_lasx(), ff_sws_init_output_lsx(), ff_sws_init_swscale_aarch64(), ff_sws_init_swscale_ppc(), and ff_sws_init_swscale_vsx().
|
static |
Definition at line 968 of file swscale_internal.h.
Referenced by ff_get_unscaled_swscale(), and yuv2nv12cX_c().
| int ff_sws_init_single_context | ( | SwsContext * | sws, |
| SwsFilter * | srcFilter, | ||
| SwsFilter * | dstFilter | ||
| ) |
Definition at line 1122 of file utils.c.
Referenced by context_init_threaded(), init_legacy_subpass(), and sws_init_context().
| void ff_get_unscaled_swscale | ( | SwsInternal * | c | ) |
Set c->convert_unscaled to an unscaled converter if one exists for the specific source and destination formats, bit depths, flags, etc.
Definition at line 2377 of file swscale_unscaled.c.
Referenced by ff_sws_init_single_context().
| void ff_get_unscaled_swscale_ppc | ( | SwsInternal * | c | ) |
Definition at line 188 of file yuv2yuv_altivec.c.
Referenced by ff_get_unscaled_swscale().
| void ff_get_unscaled_swscale_arm | ( | SwsInternal * | c | ) |
Definition at line 185 of file swscale_unscaled.c.
Referenced by ff_get_unscaled_swscale().
| void ff_get_unscaled_swscale_aarch64 | ( | SwsInternal * | c | ) |
Definition at line 264 of file swscale_unscaled.c.
Referenced by ff_get_unscaled_swscale().
| void ff_sws_init_scale | ( | SwsInternal * | c | ) |
Definition at line 698 of file swscale.c.
Referenced by check_chrConvertRange(), check_hscale(), 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_rgb_to_y(), check_rgba_to_a(), check_yuv2nv12cX(), check_yuv2yuv1(), check_yuv2yuvX(), and ff_sws_init_single_context().
| void ff_sws_init_input_funcs | ( | SwsInternal * | c, |
| planar1_YV12_fn * | lumToYV12, | ||
| planar1_YV12_fn * | alpToYV12, | ||
| planar2_YV12_fn * | chrToYV12, | ||
| planarX_YV12_fn * | readLumPlanar, | ||
| planarX_YV12_fn * | readAlpPlanar, | ||
| planarX2_YV12_fn * | readChrPlanar | ||
| ) |
Referenced by sws_init_swscale().
| void ff_sws_init_output_funcs | ( | SwsInternal * | c, |
| yuv2planar1_fn * | yuv2plane1, | ||
| yuv2planarX_fn * | yuv2planeX, | ||
| yuv2interleavedX_fn * | yuv2nv12cX, | ||
| yuv2packed1_fn * | yuv2packed1, | ||
| yuv2packed2_fn * | yuv2packed2, | ||
| yuv2packedX_fn * | yuv2packedX, | ||
| yuv2anyX_fn * | yuv2anyX | ||
| ) |
Definition at line 3289 of file output.c.
Referenced by ff_swscale(), and sws_init_swscale().
| void ff_sws_init_swscale_ppc | ( | SwsInternal * | c | ) |
Definition at line 233 of file swscale_altivec.c.
Referenced by ff_sws_init_scale().
| void ff_sws_init_swscale_vsx | ( | SwsInternal * | c | ) |
Definition at line 2019 of file swscale_vsx.c.
Referenced by ff_sws_init_swscale_ppc().
| void ff_sws_init_swscale_x86 | ( | SwsInternal * | c | ) |
Definition at line 490 of file swscale.c.
Referenced by ff_sws_init_scale().
| void ff_sws_init_swscale_aarch64 | ( | SwsInternal * | c | ) |
Definition at line 350 of file swscale.c.
Referenced by ff_sws_init_scale().
| void ff_sws_init_swscale_arm | ( | SwsInternal * | c | ) |
Definition at line 33 of file swscale.c.
Referenced by ff_sws_init_scale().
| void ff_sws_init_swscale_loongarch | ( | SwsInternal * | c | ) |
Definition at line 62 of file swscale_init_loongarch.c.
Referenced by ff_sws_init_scale().
| void ff_sws_init_swscale_riscv | ( | SwsInternal * | c | ) |
Definition at line 74 of file swscale.c.
Referenced by ff_sws_init_scale().
| int ff_sws_init_altivec_bufs | ( | SwsInternal * | c | ) |
Referenced by ff_sws_init_single_context().
| void ff_sws_free_altivec_bufs | ( | SwsInternal * | c | ) |
Referenced by sws_freeContext().
| void ff_hyscale_fast_c | ( | SwsInternal * | c, |
| int16_t * | dst, | ||
| int | dstWidth, | ||
| const uint8_t * | src, | ||
| int | srcW, | ||
| int | xInc | ||
| ) |
Definition at line 23 of file hscale_fast_bilinear.c.
Referenced by sws_init_swscale().
| void ff_hcscale_fast_c | ( | 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 38 of file hscale_fast_bilinear.c.
Referenced by sws_init_swscale().
| int ff_init_hscaler_mmxext | ( | int | dstW, |
| int | xInc, | ||
| uint8_t * | filterCode, | ||
| int16_t * | filter, | ||
| int32_t * | filterPos, | ||
| int | numSplits | ||
| ) |
Definition at line 30 of file hscale_fast_bilinear_simd.c.
Referenced by ff_sws_init_single_context().
| void ff_hyscale_fast_mmxext | ( | SwsInternal * | c, |
| int16_t * | dst, | ||
| int | dstWidth, | ||
| const uint8_t * | src, | ||
| int | srcW, | ||
| int | xInc | ||
| ) |
Definition at line 192 of file hscale_fast_bilinear_simd.c.
Referenced by sws_init_swscale_TMPL().
| void ff_hcscale_fast_mmxext | ( | 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 282 of file hscale_fast_bilinear_simd.c.
Referenced by sws_init_swscale_TMPL().
| int ff_sws_alphablendaway | ( | SwsInternal * | c, |
| const uint8_t *const | src[], | ||
| const int | srcStride[], | ||
| int | srcSliceY, | ||
| int | srcSliceH, | ||
| uint8_t *const | dst[], | ||
| const int | dstStride[] | ||
| ) |
Definition at line 23 of file alphablend.c.
Referenced by ff_sws_init_single_context().
| void ff_copyPlane | ( | const uint8_t * | src, |
| int | srcStride, | ||
| int | srcSliceY, | ||
| int | srcSliceH, | ||
| int | width, | ||
| uint8_t * | dst, | ||
| int | dstStride | ||
| ) |
Definition at line 125 of file swscale_unscaled.c.
Referenced by nv12ToPlanarWrapper(), nv24_to_yuv420p_neon_wrapper(), nv24ToPlanarWrapper(), nv24ToYuv420Wrapper(), planarRgbToplanarRgbWrapper(), planarToNv12Wrapper(), planarToNv24Wrapper(), and yvu9ToYv12Wrapper().
|
inlinestatic |
Definition at line 1062 of file swscale_internal.h.
Referenced by ff_swscale(), planarCopyWrapper(), and planarRgbToplanarRgbWrapper().
|
inlinestatic |
Definition at line 1076 of file swscale_internal.h.
Referenced by ff_swscale().
| int ff_init_slice_from_src | ( | SwsSlice * | s, |
| uint8_t *const | src[4], | ||
| const int | stride[4], | ||
| int | srcW, | ||
| int | lumY, | ||
| int | lumH, | ||
| int | chrY, | ||
| int | chrH, | ||
| int | relative | ||
| ) |
Definition at line 148 of file slice.c.
Referenced by ff_swscale().
| int ff_init_filters | ( | SwsInternal * | c | ) |
Definition at line 246 of file slice.c.
Referenced by ff_sws_init_single_context().
| int ff_free_filters | ( | SwsInternal * | c | ) |
Definition at line 386 of file slice.c.
Referenced by ff_init_filters(), ff_sws_init_single_context(), and sws_freeContext().
| int ff_rotate_slice | ( | SwsSlice * | s, |
| int | lum, | ||
| int | chr | ||
| ) |
Definition at line 120 of file slice.c.
Referenced by ff_swscale().
| int ff_init_gamma_convert | ( | SwsFilterDescriptor * | desc, |
| SwsSlice * | src, | ||
| uint16_t * | table | ||
| ) |
initializes gamma conversion descriptor
Definition at line 59 of file gamma.c.
Referenced by ff_init_filters().
| int ff_init_desc_fmt_convert | ( | SwsFilterDescriptor * | desc, |
| SwsSlice * | src, | ||
| SwsSlice * | dst, | ||
| uint32_t * | pal | ||
| ) |
initializes lum pixel format conversion descriptor
Definition at line 129 of file hscale.c.
Referenced by ff_init_filters().
| int ff_init_desc_hscale | ( | SwsFilterDescriptor * | desc, |
| SwsSlice * | src, | ||
| SwsSlice * | dst, | ||
| uint16_t * | filter, | ||
| int * | filter_pos, | ||
| int | filter_size, | ||
| int | xInc | ||
| ) |
initializes lum horizontal scaling descriptor
Definition at line 146 of file hscale.c.
Referenced by ff_init_filters().
| int ff_init_desc_cfmt_convert | ( | SwsFilterDescriptor * | desc, |
| SwsSlice * | src, | ||
| SwsSlice * | dst, | ||
| uint32_t * | pal | ||
| ) |
initializes chr pixel format conversion descriptor
Definition at line 238 of file hscale.c.
Referenced by ff_init_filters().
| int ff_init_desc_chscale | ( | SwsFilterDescriptor * | desc, |
| SwsSlice * | src, | ||
| SwsSlice * | dst, | ||
| uint16_t * | filter, | ||
| int * | filter_pos, | ||
| int | filter_size, | ||
| int | xInc | ||
| ) |
initializes chr horizontal scaling descriptor
Definition at line 253 of file hscale.c.
Referenced by ff_init_filters().
| int ff_init_desc_no_chr | ( | SwsFilterDescriptor * | desc, |
| SwsSlice * | src, | ||
| SwsSlice * | dst | ||
| ) |
Definition at line 284 of file hscale.c.
Referenced by ff_init_filters().
| int ff_init_vscale | ( | SwsInternal * | c, |
| SwsFilterDescriptor * | desc, | ||
| SwsSlice * | src, | ||
| SwsSlice * | dst | ||
| ) |
initializes vertical scaling descriptors
Definition at line 214 of file vscale.c.
Referenced by ff_init_filters().
| void ff_init_vscale_pfn | ( | SwsInternal * | c, |
| yuv2planar1_fn | yuv2plane1, | ||
| yuv2planarX_fn | yuv2planeX, | ||
| yuv2interleavedX_fn | yuv2nv12cX, | ||
| yuv2packed1_fn | yuv2packed1, | ||
| yuv2packed2_fn | yuv2packed2, | ||
| yuv2packedX_fn | yuv2packedX, | ||
| yuv2anyX_fn | yuv2anyX, | ||
| int | use_mmx | ||
| ) |
setup vertical scaler functions
Definition at line 258 of file vscale.c.
Referenced by ff_init_vscale(), and ff_swscale().
| void ff_sws_slice_worker | ( | void * | priv, |
| int | jobnr, | ||
| int | threadnr, | ||
| int | nb_jobs, | ||
| int | nb_threads | ||
| ) |
Definition at line 1528 of file swscale.c.
Referenced by context_init_threaded().
| int ff_swscale | ( | SwsInternal * | c, |
| const uint8_t *const | src[], | ||
| const int | srcStride[], | ||
| int | srcSliceY, | ||
| int | srcSliceH, | ||
| uint8_t *const | dst[], | ||
| const int | dstStride[], | ||
| int | dstSliceY, | ||
| int | dstSliceH | ||
| ) |
Definition at line 263 of file swscale.c.
Referenced by run_legacy_swscale(), and scale_internal().
| int ff_shuffle_filter_coefficients | ( | SwsInternal * | c, |
| int * | filterPos, | ||
| int | filterSize, | ||
| int16_t * | filter, | ||
| int | dstW | ||
| ) |
Definition at line 98 of file utils.c.
Referenced by check_hscale(), and ff_sws_init_single_context().
| const uint8_t ff_dither_2x2_4[3][8] |
Definition at line 40 of file output.c.
Referenced by yuv2rgb_write().
| const uint8_t ff_dither_2x2_8[3][8] |
Definition at line 46 of file output.c.
Referenced by yuv2rgb_write().
| const uint8_t ff_dither_4x4_16[5][8] |
Definition at line 52 of file output.c.
Referenced by yuv2rgb_write().
| const uint8_t ff_dither_8x8_32[9][8] |
Definition at line 60 of file output.c.
Referenced by yuv2rgb_write().
| const uint8_t ff_dither_8x8_73[9][8] |
Definition at line 72 of file output.c.
Referenced by yuv2rgb_write().
| const uint8_t ff_dither_8x8_128[9][8] |
Definition at line 42 of file swscale.c.
Referenced by ff_swscale().
| const uint8_t ff_dither_8x8_220[9][8] |
Definition at line 85 of file output.c.
Referenced by if(), yuv2mono_1_c_template(), yuv2mono_2_c_template(), yuv2p01x_wrapper(), and yuv2rgb_write().
| const int32_t ff_yuv2rgb_coeffs[11][4] |
Definition at line 47 of file yuv2rgb.c.
Referenced by ff_sws_init_single_context(), and sws_getCoefficients().
| const AVClass ff_sws_context_class |
Definition at line 98 of file options.c.
Referenced by sws_alloc_context(), and sws_get_class().
1.8.17