FFmpeg
|
#include <stddef.h>
#include <stdint.h>
#include "libavutil/bswap.h"
#include "libavutil/mem.h"
#include "config.h"
#include "swscale.h"
#include "swscale_internal.h"
#include "libavutil/pixdesc.h"
Go to the source code of this file.
Macros | |
#define | LOADCHROMA(pu, pv, i) |
#define | PUTRGB(dst, src, asrc, i, abase) |
#define | PUTRGB24(dst, src, asrc, i, abase) |
#define | PUTBGR24(dst, src, asrc, i, abase) |
#define | PUTRGBA(dst, ysrc, asrc, i, abase) |
#define | PUTRGB48(dst, src, asrc, i, abase) |
#define | PUTBGR48(dst, src, asrc, i, abase) |
#define | YUV2RGBFUNC(func_name, dst_type, alpha, yuv422) |
#define | ENDYUV2RGBLINE(dst_delta, ss, alpha, yuv422) |
#define | ENDYUV2RGBFUNC() |
#define | YUV420FUNC(func_name, dst_type, alpha, abase, PUTFUNC, dst_delta) |
#define | YUV422FUNC(func_name, dst_type, alpha, abase, PUTFUNC, dst_delta) |
#define | YUV420FUNC_DITHER(func_name, dst_type, LOADDITHER, PUTFUNC, dst_delta) |
#define | YUV422FUNC_DITHER(func_name, dst_type, LOADDITHER, PUTFUNC, dst_delta) |
#define | LOADDITHER16 |
#define | PUTRGB16(dst, src, i, o) |
#define | LOADDITHER15 |
#define | PUTRGB15(dst, src, i, o) |
#define | LOADDITHER12 const uint8_t *d16 = ff_dither_4x4_16[y & 3]; |
#define | PUTRGB12(dst, src, i, o) |
#define | LOADDITHER8 |
#define | PUTRGB8(dst, src, i, o) |
#define | LOADDITHER4D |
#define | PUTRGB4D(dst, src, i, o) |
#define | LOADDITHER4DB |
#define | PUTRGB4DB(dst, src, i, o) |
#define | PUTRGB1(out, src, i, o) |
#define | PUTRGB1_OR00(out, src, i, o) |
#define | ALLOC_YUV_TABLE(x) |
Functions | |
const int * | sws_getCoefficients (int colorspace) |
Return a pointer to yuv<->rgb coefficients for the given colorspace suitable for sws_setColorspaceDetails(). More... | |
PUTRGB1 (out_1, py_1, 0, 0) | |
PUTRGB1 (out_2, py_2, 0, 0+8) | |
PUTRGB1 (out_2, py_2, 1, 2+8) | |
PUTRGB1 (out_1, py_1, 1, 2) | |
PUTRGB1 (out_1, py_1, 2, 4) | |
PUTRGB1 (out_2, py_2, 2, 4+8) | |
PUTRGB1 (out_2, py_2, 3, 6+8) | |
PUTRGB1 (out_1, py_1, 3, 6) | |
if (c->dstW &7) | |
Variables | |
const int32_t | ff_yuv2rgb_coeffs [11][4] |
const uint8_t * | d128 = ff_dither_8x8_220[yd & 7] |
char | out_1 = 0 |
char | out_2 = 0 |
g = c->table_gU[128 + YUVRGB_TABLE_HEADROOM] + c->table_gV[128 + YUVRGB_TABLE_HEADROOM] | |
dst_1 [0] = out_1 | |
dst_2 [0] = out_2 | |
py_1 = 8 | |
py_2 = 8 | |
#define PUTRGBA | ( | dst, | |
ysrc, | |||
asrc, | |||
i, | |||
abase | |||
) |
#define YUV2RGBFUNC | ( | func_name, | |
dst_type, | |||
alpha, | |||
yuv422 | |||
) |
#define ENDYUV2RGBFUNC | ( | ) |
#define YUV420FUNC | ( | func_name, | |
dst_type, | |||
alpha, | |||
abase, | |||
PUTFUNC, | |||
dst_delta | |||
) |
#define YUV422FUNC | ( | func_name, | |
dst_type, | |||
alpha, | |||
abase, | |||
PUTFUNC, | |||
dst_delta | |||
) |
#define YUV420FUNC_DITHER | ( | func_name, | |
dst_type, | |||
LOADDITHER, | |||
PUTFUNC, | |||
dst_delta | |||
) |
#define YUV422FUNC_DITHER | ( | func_name, | |
dst_type, | |||
LOADDITHER, | |||
PUTFUNC, | |||
dst_delta | |||
) |
#define LOADDITHER16 |
#define LOADDITHER15 |
#define LOADDITHER12 const uint8_t *d16 = ff_dither_4x4_16[y & 3]; |
#define LOADDITHER8 |
#define LOADDITHER4D |
#define LOADDITHER4DB |
#define ALLOC_YUV_TABLE | ( | x | ) |
const int32_t ff_yuv2rgb_coeffs[11][4] |
Definition at line 47 of file yuv2rgb.c.
Referenced by sws_getCoefficients(), and sws_init_single_context().
const uint8_t* d128 = ff_dither_8x8_220[yd & 7] |
Definition at line 435 of file yuv2rgb.c.
Referenced by if(), yuv2mono_1_c_template(), yuv2mono_2_c_template(), yuv2p01x_wrapper(), and yuv2rgb_write().
g = c->table_gU[128 + YUVRGB_TABLE_HEADROOM] + c->table_gV[128 + YUVRGB_TABLE_HEADROOM] |