#include "config.h"#include "libavutil/avutil.h"Go to the source code of this file.
Data Structures | |
| struct | SwsContext |
Defines | |
| #define | STR(s) AV_TOSTRING(s) |
| #define | MAX_FILTER_SIZE 256 |
| #define | VOFW 2048 |
| #define | VOF (VOFW*2) |
| #define | ALT32_CORR 1 |
| #define | APCK_PTR2 4 |
| #define | APCK_COEF 8 |
| #define | APCK_SIZE 16 |
| #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*256" |
| #define | DSTW_OFFSET "11*8+4*4*256*2" |
| #define | ESP_OFFSET "11*8+4*4*256*2+8" |
| #define | VROUNDER_OFFSET "11*8+4*4*256*2+16" |
| #define | U_TEMP "11*8+4*4*256*2+24" |
| #define | V_TEMP "11*8+4*4*256*2+32" |
| #define | isPlanarYUV(x) |
| #define | isYUV(x) |
| #define | isGray(x) |
| #define | isGray16(x) |
| #define | isRGB(x) |
| #define | isBGR(x) |
| #define | isALPHA(x) |
Typedefs | |
| typedef int(* | SwsFunc )(struct SwsContext *context, uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
Functions | |
| SwsFunc | sws_yuv2rgb_get_func_ptr (SwsContext *c) |
| int | sws_yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation) |
| void | sws_yuv2rgb_altivec_init_tables (SwsContext *c, const int inv_table[4], int brightness, int contrast, int saturation) |
| SwsFunc | sws_yuv2rgb_init_altivec (SwsContext *c) |
| void | altivec_yuv2packedX (SwsContext *c, int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, uint8_t *dest, int dstW, int dstY) |
| const char * | sws_format_name (int format) |
| static int | fmt_depth (int fmt) |
Variables | |
| const uint64_t | ff_dither4 [2] |
| const uint64_t | ff_dither8 [2] |
| const AVClass | sws_context_class |
| #define ALT32_CORR 1 |
Definition at line 42 of file swscale_internal.h.
Referenced by hcscale_TMPL(), hyscale_TMPL(), and rgb2rgbWrapper().
| #define APCK_COEF 8 |
Definition at line 51 of file swscale_internal.h.
| #define APCK_PTR2 4 |
Definition at line 50 of file swscale_internal.h.
| #define APCK_SIZE 16 |
| #define BLUE_DITHER "2*8" |
Definition at line 143 of file swscale_internal.h.
Referenced by yuv2packed2_TMPL(), yuv2packedX_TMPL(), and yuv420_rgb16_TMPL().
| #define CHR_MMX_FILTER_OFFSET "11*8+4*4*256" |
| #define DSTW_OFFSET "11*8+4*4*256*2" |
Definition at line 154 of file swscale_internal.h.
| #define ESP_OFFSET "11*8+4*4*256*2+8" |
| #define GREEN_DITHER "1*8" |
Definition at line 142 of file swscale_internal.h.
Referenced by yuv2packed2_TMPL(), yuv2packedX_TMPL(), and yuv420_rgb16_TMPL().
| #define isALPHA | ( | x | ) |
Value:
( \
(x)==PIX_FMT_BGR32 \
|| (x)==PIX_FMT_BGR32_1 \
|| (x)==PIX_FMT_RGB32 \
|| (x)==PIX_FMT_RGB32_1 \
|| (x)==PIX_FMT_YUVA420P \
)
Definition at line 276 of file swscale_internal.h.
| #define isBGR | ( | x | ) |
Value:
( \
(x)==PIX_FMT_BGR32 \
|| (x)==PIX_FMT_BGR32_1 \
|| (x)==PIX_FMT_BGR24 \
|| (x)==PIX_FMT_BGR565 \
|| (x)==PIX_FMT_BGR555 \
|| (x)==PIX_FMT_BGR8 \
|| (x)==PIX_FMT_BGR4 \
|| (x)==PIX_FMT_BGR4_BYTE \
|| (x)==PIX_FMT_MONOBLACK \
|| (x)==PIX_FMT_MONOWHITE \
)
Definition at line 264 of file swscale_internal.h.
Referenced by hcscale_TMPL(), hyscale_TMPL(), rgb2rgbWrapper(), and sws_getContext().
| #define isGray | ( | x | ) |
Value:
( \
(x)==PIX_FMT_GRAY8 \
|| (x)==PIX_FMT_GRAY16BE \
|| (x)==PIX_FMT_GRAY16LE \
)
Definition at line 243 of file swscale_internal.h.
Referenced by gray16togray(), hcscale_TMPL(), planarCopy(), sws_getColorspaceDetails(), sws_getContext(), and sws_setColorspaceDetails().
| #define isGray16 | ( | x | ) |
Value:
( \
(x)==PIX_FMT_GRAY16BE \
|| (x)==PIX_FMT_GRAY16LE \
)
Definition at line 248 of file swscale_internal.h.
Referenced by sws_getContext().
| #define isPlanarYUV | ( | x | ) |
Value:
( \
(x)==PIX_FMT_YUV410P \
|| (x)==PIX_FMT_YUV420P \
|| (x)==PIX_FMT_YUV411P \
|| (x)==PIX_FMT_YUV422P \
|| (x)==PIX_FMT_YUV444P \
|| (x)==PIX_FMT_YUV440P \
|| (x)==PIX_FMT_NV12 \
|| (x)==PIX_FMT_NV21 \
)
Definition at line 228 of file swscale_internal.h.
Referenced by sws_getContext().
| #define isRGB | ( | x | ) |
Value:
( \
(x)==PIX_FMT_RGB32 \
|| (x)==PIX_FMT_RGB32_1 \
|| (x)==PIX_FMT_RGB24 \
|| (x)==PIX_FMT_RGB565 \
|| (x)==PIX_FMT_RGB555 \
|| (x)==PIX_FMT_RGB8 \
|| (x)==PIX_FMT_RGB4 \
|| (x)==PIX_FMT_RGB4_BYTE \
|| (x)==PIX_FMT_MONOBLACK \
|| (x)==PIX_FMT_MONOWHITE \
)
Definition at line 252 of file swscale_internal.h.
Referenced by hcscale_TMPL(), hyscale_TMPL(), rgb2rgbWrapper(), and sws_getContext().
| #define isYUV | ( | x | ) |
Value:
( \
(x)==PIX_FMT_UYVY422 \
|| (x)==PIX_FMT_YUYV422 \
|| isPlanarYUV(x) \
)
Definition at line 238 of file swscale_internal.h.
Referenced by sws_getColorspaceDetails(), and sws_setColorspaceDetails().
| #define LUM_MMX_FILTER_OFFSET "11*8" |
| #define MAX_FILTER_SIZE 256 |
| #define RED_DITHER "0*8" |
Definition at line 141 of file swscale_internal.h.
Referenced by yuv2packed2_TMPL(), yuv2packedX_TMPL(), and yuv420_rgb16_TMPL().
| #define STR | ( | s | ) | AV_TOSTRING(s) |
| #define U_OFFSET "9*8" |
Definition at line 150 of file swscale_internal.h.
| #define U_TEMP "11*8+4*4*256*2+24" |
Definition at line 157 of file swscale_internal.h.
| #define UB_COEFF "5*8" |
Definition at line 146 of file swscale_internal.h.
| #define UG_COEFF "7*8" |
Definition at line 148 of file swscale_internal.h.
| #define V_OFFSET "10*8" |
Definition at line 151 of file swscale_internal.h.
| #define V_TEMP "11*8+4*4*256*2+32" |
Definition at line 158 of file swscale_internal.h.
| #define VG_COEFF "6*8" |
Definition at line 147 of file swscale_internal.h.
| #define VOF (VOFW*2) |
Definition at line 37 of file swscale_internal.h.
Referenced by hcscale_TMPL(), sws_getContext(), and yuv2yuvX_TMPL().
| #define VOFW 2048 |
Definition at line 36 of file swscale_internal.h.
Referenced by hcscale_TMPL(), sws_getContext(), yuv2nv12XinC(), yuv2yuv1_TMPL(), and yuv2yuvXinC().
| #define VR_COEFF "4*8" |
Definition at line 145 of file swscale_internal.h.
| #define VROUNDER_OFFSET "11*8+4*4*256*2+16" |
Definition at line 156 of file swscale_internal.h.
| #define Y_COEFF "3*8" |
Definition at line 144 of file swscale_internal.h.
| #define Y_OFFSET "8*8" |
Definition at line 149 of file swscale_internal.h.
| typedef int(* SwsFunc)(struct SwsContext *context, uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
Definition at line 57 of file swscale_internal.h.
| void altivec_yuv2packedX | ( | SwsContext * | c, | |
| int16_t * | lumFilter, | |||
| int16_t ** | lumSrc, | |||
| int | lumFilterSize, | |||
| int16_t * | chrFilter, | |||
| int16_t ** | chrSrc, | |||
| int | chrFilterSize, | |||
| uint8_t * | dest, | |||
| int | dstW, | |||
| int | dstY | |||
| ) |
| static int fmt_depth | ( | int | fmt | ) | [inline, static] |
Definition at line 284 of file swscale_internal.h.
Referenced by rgb2rgbWrapper(), sws_getContext(), sws_yuv2rgb_c_init_tables(), and yuv2rgbXinC_full().
| const char* sws_format_name | ( | int | format | ) |
| void sws_yuv2rgb_altivec_init_tables | ( | SwsContext * | c, | |
| const int | inv_table[4], | |||
| int | brightness, | |||
| int | contrast, | |||
| int | saturation | |||
| ) |
| int sws_yuv2rgb_c_init_tables | ( | SwsContext * | c, | |
| const int | inv_table[4], | |||
| int | fullRange, | |||
| int | brightness, | |||
| int | contrast, | |||
| int | saturation | |||
| ) |
| SwsFunc sws_yuv2rgb_get_func_ptr | ( | SwsContext * | c | ) |
| SwsFunc sws_yuv2rgb_init_altivec | ( | SwsContext * | c | ) |
| const uint64_t ff_dither4[2] |
Referenced by yuv420_rgb16_TMPL().
| const uint64_t ff_dither8[2] |
Referenced by yuv420_rgb16_TMPL().
| const AVClass sws_context_class |
1.5.8