Searched refs:pixelType (Results 1 – 1 of 1) sorted by relevance
/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_rotate.c | 178 #define TRANSFORM_SURFACE_90(pixelType) \ argument 179 …int dy, dincy = dst->pitch - dst->w*sizeof(pixelType), sincx, sincy, signx, signy; … 182 …computeSourceIncrements90(src, sizeof(pixelType), angle, flipx, flipy, &sincx, &sincy, &signx, &si… 183 …if (signx < 0) sp += (src->w-1)*sizeof(pixelType); … 187 …if (sincx == sizeof(pixelType)) { /* if advancing src and dest equally, use memcpy */ … 188 … SDL_memcpy(dp, sp, dst->w*sizeof(pixelType)); \ 189 … sp += dst->w*sizeof(pixelType); \ 190 … dp += dst->w*sizeof(pixelType); \ 192 … for (de = dp + dst->w*sizeof(pixelType); dp != de; sp += sincx, dp += sizeof(pixelType)) { \ 193 … *(pixelType*)dp = *(pixelType*)sp; \
|
Completed in 6 milliseconds