Home
last modified time | relevance | path

Searched refs:dpitch (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_render.c458 int dpitch; in DirectFB_UpdateTexture() local
474 ((void **) &dpixels), &dpitch)); in DirectFB_UpdateTexture()
476 dst = (Uint8 *) dpixels + rect->y * dpitch + rect->x * bpp; in DirectFB_UpdateTexture()
481 dst += dpitch; in DirectFB_UpdateTexture()
487 dst = (Uint8 *) dpixels + texture->h * dpitch + rect->y * dpitch / 4 + rect->x * bpp / 2; in DirectFB_UpdateTexture()
491 dst += dpitch / 2; in DirectFB_UpdateTexture()
494 …dst = (Uint8 *) dpixels + texture->h * dpitch + texture->h * dpitch / 4 + rect->y * dpitch / 4 + r… in DirectFB_UpdateTexture()
498 dst += dpitch / 2; in DirectFB_UpdateTexture()
/AliOS-Things-master/components/SDL2/src/render/psp/
A DSDL_render_psp.c385 int row, length,dpitch; in PSP_UpdateTexture() local
388 PSP_LockTexture(renderer, texture,rect,(void **)&dst, &dpitch); in PSP_UpdateTexture()
390 if (length == pitch && length == dpitch) { in PSP_UpdateTexture()
396 dst += dpitch; in PSP_UpdateTexture()

Completed in 7 milliseconds