Home
last modified time | relevance | path

Searched refs:SDL_BYTESPERPIXEL (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsframebuffer.c82 *pitch = (((window->w * SDL_BYTESPERPIXEL(*format)) + 3) & ~3); in WIN_CreateWindowFramebuffer()
/AliOS-Things-master/components/SDL2/src/render/opengl/
A DSDL_render_gl.c473 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 DSDL_render_gles.c347 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 DSDL_x11framebuffer.c81 *pitch = (((window->w * SDL_BYTESPERPIXEL(*format)) + 3) & ~3); in X11_CreateWindowFramebuffer()
A DSDL_x11modes.c384 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 DSDL_render_d3d11.c1344 …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 DSDL_render_psp.c336 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 DSDL_pixels.h128 #define SDL_BYTESPERPIXEL(X) \ macro
/AliOS-Things-master/components/SDL2/src/render/
A DSDL_render.c1056 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 DSDL_render_gles2.c1461 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 DSDL_pixels.c147 if (SDL_BYTESPERPIXEL(format) <= 2) { in SDL_PixelFormatEnumToMasks()
150 *bpp = SDL_BYTESPERPIXEL(format) * 8; in SDL_PixelFormatEnumToMasks()
A DSDL_surface.c46 pitch = ((Sint64)width * SDL_BYTESPERPIXEL(format)); in SDL_CalculatePitch()
1289 const int bpp = SDL_BYTESPERPIXEL(src_format); in SDL_ConvertPixels()
A DSDL_video.c350 data->bytes_per_pixel = SDL_BYTESPERPIXEL(*format); in SDL_CreateWindowTexture()
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_render.c922 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 DSDL_render_d3d.c477 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 DSDL_cocoaopengl.m234 attr[i++] = SDL_BYTESPERPIXEL(display->current_mode.format)*8;
/AliOS-Things-master/components/SDL2/src/render/metal/
A DSDL_render_metal.m844 *pitch = SDL_BYTESPERPIXEL(texture->format) * rect->w;
875 int pitch = SDL_BYTESPERPIXEL(texture->format) * rect.w;

Completed in 48 milliseconds