21 #include "../SDL_internal.h" 49 const void *
pixels,
int pitch);
51 const Uint8 *Yplane,
int Ypitch,
52 const Uint8 *Uplane,
int Upitch,
53 const Uint8 *Vplane,
int Vpitch);
55 void **
pixels,
int *pitch);
64 #define USE_MMX_ASSEMBLY 1 int SDL_SW_UpdateYUVTexture(SDL_SW_YUVTexture *swdata, const SDL_Rect *rect, const void *pixels, int pitch)
GLfloat GLfloat GLfloat GLfloat h
A collection of pixels used in software blitting.
int SDL_SW_UpdateYUVTexturePlanar(SDL_SW_YUVTexture *swdata, const SDL_Rect *rect, const Uint8 *Yplane, int Ypitch, const Uint8 *Uplane, int Upitch, const Uint8 *Vplane, int Vpitch)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
SDL_SW_YUVTexture * SDL_SW_CreateYUVTexture(Uint32 format, int w, int h)
GLubyte GLubyte GLubyte GLubyte w
void SDL_SW_UnlockYUVTexture(SDL_SW_YUVTexture *swdata)
void SDL_SW_DestroyYUVTexture(SDL_SW_YUVTexture *swdata)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
int SDL_SW_CopyYUVToRGB(SDL_SW_YUVTexture *swdata, const SDL_Rect *srcrect, Uint32 target_format, int w, int h, void *pixels, int pitch)
int SDL_SW_LockYUVTexture(SDL_SW_YUVTexture *swdata, const SDL_Rect *rect, void **pixels, int *pitch)
int SDL_SW_QueryYUVTexturePixels(SDL_SW_YUVTexture *swdata, void **pixels, int *pitch)
A rectangle, with the origin at the upper left.