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(l, i) |
#define | PUTRGB(l, i, abase) |
#define | PUTRGB24(l, i, abase) |
#define | PUTBGR24(l, i, abase) |
#define | PUTRGBA(l, i, abase) |
#define | PUTRGB48(l, i, abase) |
#define | PUTBGR48(l, i, abase) |
#define | PUTGBRP(l, i, abase) |
#define | YUV2RGBFUNC(func_name, dst_type, alpha, yuv422, nb_dst_planes) |
#define | ENDYUV2RGBLINE(dst_delta, ss, alpha, yuv422, nb_dst_planes) |
#define | ENDYUV2RGBFUNC() |
#define | YUV420FUNC(func_name, dst_type, alpha, abase, PUTFUNC, dst_delta, nb_dst_planes) |
#define | YUV422FUNC(func_name, dst_type, alpha, abase, PUTFUNC, dst_delta, nb_dst_planes) |
#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(l, i, o) |
#define | LOADDITHER15 |
#define | PUTRGB15(l, i, o) |
#define | LOADDITHER12 const uint8_t *d16 = ff_dither_4x4_16[y & 3]; |
#define | PUTRGB12(l, i, o) |
#define | LOADDITHER8 |
#define | PUTRGB8(l, i, o) |
#define | LOADDITHER4D |
#define | PUTRGB4D(l, i, o) |
#define | LOADDITHER4DB |
#define | PUTRGB4DB(l, 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 PUTRGB | ( | l, | |
i, | |||
abase | |||
) |
#define PUTRGB24 | ( | l, | |
i, | |||
abase | |||
) |
#define PUTBGR24 | ( | l, | |
i, | |||
abase | |||
) |
#define PUTRGBA | ( | l, | |
i, | |||
abase | |||
) |
#define PUTGBRP | ( | l, | |
i, | |||
abase | |||
) |
#define YUV2RGBFUNC | ( | func_name, | |
dst_type, | |||
alpha, | |||
yuv422, | |||
nb_dst_planes | |||
) |
#define ENDYUV2RGBFUNC | ( | ) |
#define YUV420FUNC | ( | func_name, | |
dst_type, | |||
alpha, | |||
abase, | |||
PUTFUNC, | |||
dst_delta, | |||
nb_dst_planes | |||
) |
#define YUV422FUNC | ( | func_name, | |
dst_type, | |||
alpha, | |||
abase, | |||
PUTFUNC, | |||
dst_delta, | |||
nb_dst_planes | |||
) |
#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 | ( | l, | |
i, | |||
o | |||
) |
#define LOADDITHER15 |
#define PUTRGB15 | ( | l, | |
i, | |||
o | |||
) |
#define LOADDITHER12 const uint8_t *d16 = ff_dither_4x4_16[y & 3]; |
#define PUTRGB12 | ( | l, | |
i, | |||
o | |||
) |
#define LOADDITHER8 |
#define PUTRGB8 | ( | l, | |
i, | |||
o | |||
) |
#define LOADDITHER4D |
#define PUTRGB4D | ( | l, | |
i, | |||
o | |||
) |
#define LOADDITHER4DB |
#define PUTRGB4DB | ( | l, | |
i, | |||
o | |||
) |
#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 458 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] |