#include "config.h"#include "avutil.h"Go to the source code of this file.
Data Structures | |
| struct | SwsContext |
Defines | |
| #define | MAX_FILTER_SIZE 256 |
| #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) |
Typedefs | |
| typedef int(* | SwsFunc )(struct SwsContext *context, uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[]) |
Functions | |
| SwsFunc | yuv2rgb_get_func_ptr (SwsContext *c) |
| int | yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation) |
| void | yuv2rgb_altivec_init_tables (SwsContext *c, const int inv_table[4], int brightness, int contrast, int saturation) |
| SwsFunc | 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) |
| char * | sws_format_name (int format) |
| static int | fmt_depth (int fmt) |
| #define BLUE_DITHER "2*8" |
Definition at line 111 of file swscale_internal.h.
| #define CHR_MMX_FILTER_OFFSET "11*8+4*4*256" |
| #define DSTW_OFFSET "11*8+4*4*256*2" |
Definition at line 122 of file swscale_internal.h.
| #define ESP_OFFSET "11*8+4*4*256*2+8" |
Definition at line 123 of file swscale_internal.h.
Referenced by yuv2packed1_TMPL(), and yuv2packed2_TMPL().
| #define GREEN_DITHER "1*8" |
Definition at line 110 of file swscale_internal.h.
| #define isBGR | ( | x | ) |
Value:
( \
(x)==PIX_FMT_RGB32 \
|| (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 \
)
Definition at line 230 of file swscale_internal.h.
Referenced by yuv2rgb_c_init_tables().
| #define isGray | ( | x | ) |
Value:
( \
(x)==PIX_FMT_GRAY8 \
|| (x)==PIX_FMT_GRAY16BE \
|| (x)==PIX_FMT_GRAY16LE \
)
Definition at line 211 of file swscale_internal.h.
Referenced by hcscale_TMPL(), and swScale_TMPL().
| #define isGray16 | ( | x | ) |
Value:
( \
(x)==PIX_FMT_GRAY16BE \
|| (x)==PIX_FMT_GRAY16LE \
)
Definition at line 216 of file swscale_internal.h.
| #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 196 of file swscale_internal.h.
Referenced by swScale_TMPL().
| #define isRGB | ( | x | ) |
Value:
( \
(x)==PIX_FMT_BGR32 \
|| (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 \
)
Definition at line 220 of file swscale_internal.h.
| #define isYUV | ( | x | ) |
Value:
( \
(x)==PIX_FMT_UYVY422 \
|| (x)==PIX_FMT_YUYV422 \
|| isPlanarYUV(x) \
)
Definition at line 206 of file swscale_internal.h.
| #define LUM_MMX_FILTER_OFFSET "11*8" |
| #define MAX_FILTER_SIZE 256 |
Definition at line 32 of file swscale_internal.h.
| #define RED_DITHER "0*8" |
Definition at line 109 of file swscale_internal.h.
| #define U_OFFSET "9*8" |
Definition at line 118 of file swscale_internal.h.
| #define U_TEMP "11*8+4*4*256*2+24" |
Definition at line 125 of file swscale_internal.h.
| #define UB_COEFF "5*8" |
Definition at line 114 of file swscale_internal.h.
| #define UG_COEFF "7*8" |
Definition at line 116 of file swscale_internal.h.
| #define V_OFFSET "10*8" |
Definition at line 119 of file swscale_internal.h.
| #define V_TEMP "11*8+4*4*256*2+32" |
Definition at line 126 of file swscale_internal.h.
| #define VG_COEFF "6*8" |
Definition at line 115 of file swscale_internal.h.
| #define VR_COEFF "4*8" |
Definition at line 113 of file swscale_internal.h.
| #define VROUNDER_OFFSET "11*8+4*4*256*2+16" |
Definition at line 124 of file swscale_internal.h.
| #define Y_COEFF "3*8" |
Definition at line 112 of file swscale_internal.h.
| #define Y_OFFSET "8*8" |
Definition at line 117 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 34 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] |
| char* sws_format_name | ( | int | format | ) |
| void yuv2rgb_altivec_init_tables | ( | SwsContext * | c, | |
| const int | inv_table[4], | |||
| int | brightness, | |||
| int | contrast, | |||
| int | saturation | |||
| ) |
Definition at line 758 of file yuv2rgb_altivec.c.
| int yuv2rgb_c_init_tables | ( | SwsContext * | c, | |
| const int | inv_table[4], | |||
| int | fullRange, | |||
| int | brightness, | |||
| int | contrast, | |||
| int | saturation | |||
| ) |
| SwsFunc yuv2rgb_get_func_ptr | ( | SwsContext * | c | ) |
| SwsFunc yuv2rgb_init_altivec | ( | SwsContext * | c | ) |
1.5.6