Searched refs:SDL_BYTESPERPIXEL (Results 1 – 17 of 17) sorted by relevance
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsframebuffer.c | 82 *pitch = (((window->w * SDL_BYTESPERPIXEL(*format)) + 3) & ~3); in WIN_CreateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/render/opengl/ |
A D | SDL_render_gl.c | 473 data->pitch = texture->w * SDL_BYTESPERPIXEL(texture->format); in GL_CreateTexture() 565 (data->pitch / SDL_BYTESPERPIXEL(texture->format))); in GL_CreateTexture() 641 const int texturebpp = SDL_BYTESPERPIXEL(texture->format); in GL_UpdateTexture() 741 rect->x * SDL_BYTESPERPIXEL(texture->format)); in GL_LockTexture() 756 rect->x * SDL_BYTESPERPIXEL(texture->format)); in GL_UnlockTexture() 1372 temp_pitch = rect->w * SDL_BYTESPERPIXEL(temp_format); in GL_RenderReadPixels() 1382 (temp_pitch / SDL_BYTESPERPIXEL(temp_format))); in GL_RenderReadPixels() 1395 length = rect->w * SDL_BYTESPERPIXEL(temp_format); in GL_RenderReadPixels()
|
/AliOS-Things-master/components/SDL2/src/render/opengles/ |
A D | SDL_render_gles.c | 347 data->pitch = texture->w * SDL_BYTESPERPIXEL(texture->format); in GLES_CreateTexture() 427 srcPitch = rect->w * SDL_BYTESPERPIXEL(texture->format); in GLES_UpdateTexture() 477 rect->x * SDL_BYTESPERPIXEL(texture->format)); in GLES_LockTexture() 980 temp_pitch = rect->w * SDL_BYTESPERPIXEL(temp_format); in GLES_RenderReadPixels() 996 length = rect->w * SDL_BYTESPERPIXEL(temp_format); in GLES_RenderReadPixels()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11framebuffer.c | 81 *pitch = (((window->w * SDL_BYTESPERPIXEL(*format)) + 3) & ~3); in X11_CreateWindowFramebuffer()
|
A D | SDL_x11modes.c | 384 scanline_pad = SDL_BYTESPERPIXEL(pixelformat) * 8; in X11_InitModes_XRandR() 761 displaydata->scanline_pad = SDL_BYTESPERPIXEL(mode.format) * 8; in X11_InitModes()
|
/AliOS-Things-master/components/SDL2/src/render/direct3d11/ |
A D | SDL_render_d3d11.c | 1344 …if (D3D11_UpdateTextureInternal(rendererData, textureData->mainTexture, SDL_BYTESPERPIXEL(texture-… in D3D11_UpdateTexture() 1352 …ORMAT_YV12 ? textureData->mainTextureV : textureData->mainTextureU, SDL_BYTESPERPIXEL(texture->for… in D3D11_UpdateTexture() 1358 …ORMAT_YV12 ? textureData->mainTextureU : textureData->mainTextureV, SDL_BYTESPERPIXEL(texture->for… in D3D11_UpdateTexture() 1389 …if (D3D11_UpdateTextureInternal(rendererData, textureData->mainTexture, SDL_BYTESPERPIXEL(texture-… in D3D11_UpdateTextureYUV() 1392 …if (D3D11_UpdateTextureInternal(rendererData, textureData->mainTextureU, SDL_BYTESPERPIXEL(texture… in D3D11_UpdateTextureYUV() 1395 …if (D3D11_UpdateTextureInternal(rendererData, textureData->mainTextureV, SDL_BYTESPERPIXEL(texture… in D3D11_UpdateTextureYUV() 1428 rect->x * SDL_BYTESPERPIXEL(texture->format)); in D3D11_LockTexture() 1503 rect->x * SDL_BYTESPERPIXEL(texture->format)); in D3D11_UnlockTexture()
|
/AliOS-Things-master/components/SDL2/src/render/psp/ |
A D | SDL_render_psp.c | 336 psp_texture->pitch = psp_texture->textureWidth * SDL_BYTESPERPIXEL(texture->format); in PSP_CreateTexture() 389 length = rect->w * SDL_BYTESPERPIXEL(texture->format); in PSP_UpdateTexture() 412 rect->x * SDL_BYTESPERPIXEL(texture->format)); in PSP_LockTexture()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_pixels.h | 128 #define SDL_BYTESPERPIXEL(X) \ macro
|
/AliOS-Things-master/components/SDL2/src/render/ |
A D | SDL_render.c | 1056 if (SDL_BYTESPERPIXEL(format) == 0) { in SDL_CreateTexture() 1134 texture->pitch = (((w * SDL_BYTESPERPIXEL(format)) + 3) & ~3); in SDL_CreateTexture() 1462 const int temp_pitch = (((rect->w * SDL_BYTESPERPIXEL(native->format)) + 3) & ~3); in SDL_UpdateTextureYUV() 1503 const int temp_pitch = (((rect->w * SDL_BYTESPERPIXEL(native->format)) + 3) & ~3); in SDL_UpdateTextureNative() 1597 const int temp_pitch = (((rect->w * SDL_BYTESPERPIXEL(native->format)) + 3) & ~3); in SDL_UpdateTextureYUVPlanar() 1697 rect->x * SDL_BYTESPERPIXEL(texture->format)); in SDL_LockTextureNative() 1811 rect->x * SDL_BYTESPERPIXEL(texture->format)); in SDL_UnlockTextureNative() 3140 int bpp = SDL_BYTESPERPIXEL(format); in SDL_RenderReadPixels()
|
/AliOS-Things-master/components/SDL2/src/render/opengles2/ |
A D | SDL_render_gles2.c | 1461 data->pitch = texture->w * SDL_BYTESPERPIXEL(texture->format); in GLES2_CreateTexture() 1613 pixels, pitch, SDL_BYTESPERPIXEL(texture->format)); in GLES2_UpdateTexture() 1726 (rect->x * SDL_BYTESPERPIXEL(texture->format)); in GLES2_LockTexture() 1844 temp_pitch = rect->w * SDL_BYTESPERPIXEL(temp_format); in GLES2_RenderReadPixels() 1866 length = rect->w * SDL_BYTESPERPIXEL(temp_format); in GLES2_RenderReadPixels()
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_pixels.c | 147 if (SDL_BYTESPERPIXEL(format) <= 2) { in SDL_PixelFormatEnumToMasks() 150 *bpp = SDL_BYTESPERPIXEL(format) * 8; in SDL_PixelFormatEnumToMasks()
|
A D | SDL_surface.c | 46 pitch = ((Sint64)width * SDL_BYTESPERPIXEL(format)); in SDL_CalculatePitch() 1289 const int bpp = SDL_BYTESPERPIXEL(src_format); in SDL_ConvertPixels()
|
A D | SDL_video.c | 350 data->bytes_per_pixel = SDL_BYTESPERPIXEL(*format); in SDL_CreateWindowTexture()
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_render.c | 922 laypixels += (rect->y * laypitch + rect->x * SDL_BYTESPERPIXEL(sdl_format) ); in DirectFB_RenderReadPixels() 949 laypixels += (rect->y * laypitch + rect->x * SDL_BYTESPERPIXEL(sdl_format) );
|
/AliOS-Things-master/components/SDL2/src/render/direct3d/ |
A D | SDL_render_d3d.c | 477 length = w * SDL_BYTESPERPIXEL(texture->format); in D3D_UpdateTextureRep() 667 rect->x * SDL_BYTESPERPIXEL(texture->format)); in D3D_LockTexture() 707 rect->x * SDL_BYTESPERPIXEL(texture->format)); in D3D_UnlockTexture()
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoaopengl.m | 234 attr[i++] = SDL_BYTESPERPIXEL(display->current_mode.format)*8;
|
/AliOS-Things-master/components/SDL2/src/render/metal/ |
A D | SDL_render_metal.m | 844 *pitch = SDL_BYTESPERPIXEL(texture->format) * rect->w; 875 int pitch = SDL_BYTESPERPIXEL(texture->format) * rect.w;
|
Completed in 48 milliseconds