FFmpeg
|
Go to the source code of this file.
Macros | |
#define | S(y, x) BAYER_READ(src[(y)*src_stride + BAYER_SIZEOF*(x)]) |
#define | T(y, x) (unsigned int)S(y, x) |
#define | R(y, x) dst[(y)*dst_stride + (x)*3 + BAYER_R] |
#define | G(y, x) dst[(y)*dst_stride + (x)*3 + BAYER_G] |
#define | B(y, x) dst[(y)*dst_stride + (x)*3 + BAYER_B] |
#define | BAYER_TO_RGB24_COPY |
#define | BAYER_TO_RGB24_INTERPOLATE |
#define | rgb24toyv12_2x2(src, dstY, dstU, dstV, luma_stride, src_stride, rgb2yuv) ff_rgb24toyv12(src, dstY, dstV, dstU, 2, 2, luma_stride, 0, src_stride, rgb2yuv) |
invoke ff_rgb24toyv12 for 2x2 pixels | |
Functions | |
static void BAYER_RENAME() | rgb24_copy (const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int width) |
static void BAYER_RENAME() | rgb24_interpolate (const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int width) |
static void BAYER_RENAME() | yv12_copy (const uint8_t *src, int src_stride, uint8_t *dstY, uint8_t *dstU, uint8_t *dstV, int luma_stride, int width, int32_t *rgb2yuv) |
static void BAYER_RENAME() | yv12_interpolate (const uint8_t *src, int src_stride, uint8_t *dstY, uint8_t *dstU, uint8_t *dstV, int luma_stride, int width, int32_t *rgb2yuv) |
Definition at line 49 of file bayer_template.c.
Definition at line 50 of file bayer_template.c.
Definition at line 51 of file bayer_template.c.
Definition at line 52 of file bayer_template.c.
Definition at line 53 of file bayer_template.c.
#define BAYER_TO_RGB24_COPY |
Definition at line 88 of file bayer_template.c.
Referenced by rgb24_copy(), rgb24_interpolate(), yv12_copy(), and yv12_interpolate().
#define BAYER_TO_RGB24_INTERPOLATE |
Definition at line 103 of file bayer_template.c.
Referenced by rgb24_interpolate(), and yv12_interpolate().
#define rgb24toyv12_2x2 | ( | src, | |
dstY, | |||
dstU, | |||
dstV, | |||
luma_stride, | |||
src_stride, | |||
rgb2yuv | |||
) | ff_rgb24toyv12(src, dstY, dstV, dstU, 2, 2, luma_stride, 0, src_stride, rgb2yuv) |
invoke ff_rgb24toyv12 for 2x2 pixels
Definition at line 124 of file bayer_template.c.
Referenced by yv12_copy(), and yv12_interpolate().
|
static |
Definition at line 127 of file bayer_template.c.
|
static |
Definition at line 137 of file bayer_template.c.
|
static |
Definition at line 156 of file bayer_template.c.
|
static |
Definition at line 171 of file bayer_template.c.