SDL
2.0
|
Go to the source code of this file.
Functions | |
SDL_bool | ConvertRGBtoYUV (Uint32 format, Uint8 *src, int pitch, Uint8 *out, int w, int h, SDL_YUV_CONVERSION_MODE mode, int monochrome, int luminance) |
int | CalculateYUVPitch (Uint32 format, int width) |
int CalculateYUVPitch | ( | Uint32 | format, |
int | width | ||
) |
Definition at line 282 of file testyuv_cvt.c.
References SDL_PIXELFORMAT_IYUV, SDL_PIXELFORMAT_NV12, SDL_PIXELFORMAT_NV21, SDL_PIXELFORMAT_UYVY, SDL_PIXELFORMAT_YUY2, SDL_PIXELFORMAT_YV12, and SDL_PIXELFORMAT_YVYU.
Referenced by main(), and run_automated_tests().
SDL_bool ConvertRGBtoYUV | ( | Uint32 | format, |
Uint8 * | src, | ||
int | pitch, | ||
Uint8 * | out, | ||
int | w, | ||
int | h, | ||
SDL_YUV_CONVERSION_MODE | mode, | ||
int | monochrome, | ||
int | luminance | ||
) |
Definition at line 262 of file testyuv_cvt.c.
References ConvertRGBtoPacked4(), ConvertRGBtoPlanar2x2(), SDL_FALSE, SDL_PIXELFORMAT_IYUV, SDL_PIXELFORMAT_NV12, SDL_PIXELFORMAT_NV21, SDL_PIXELFORMAT_UYVY, SDL_PIXELFORMAT_YUY2, SDL_PIXELFORMAT_YV12, SDL_PIXELFORMAT_YVYU, and SDL_TRUE.
Referenced by main(), and run_automated_tests().