/AliOS-Things-master/components/SDL2/src/gfx/ |
A D | SDL_gfxBlitFunc.c | 316 Uint8 srcbpp = srcfmt->BytesPerPixel; in _SDL_gfxBlitBlitterRGBA() 317 Uint8 dstbpp = dstfmt->BytesPerPixel; in _SDL_gfxBlitBlitterRGBA() 368 … + (Uint16) srcrect->y * src->pitch + (Uint16) srcrect->x * src->format->BytesPerPixel; in _SDL_gfxBlitRGBACall() 370 … src->offset + (Uint16) srcrect->y * src->pitch + (Uint16) srcrect->x * src->format->BytesPerPixel; in _SDL_gfxBlitRGBACall() 374 info.s_skip = (int)(src->pitch - info.s_width * src->format->BytesPerPixel); in _SDL_gfxBlitRGBACall() 376 … + (Uint16) dstrect->y * dst->pitch + (Uint16) dstrect->x * dst->format->BytesPerPixel; in _SDL_gfxBlitRGBACall() 378 … dst->offset + (Uint16) dstrect->y * dst->pitch + (Uint16) dstrect->x * dst->format->BytesPerPixel; in _SDL_gfxBlitRGBACall() 382 info.d_skip = (int)(dst->pitch - info.d_width * dst->format->BytesPerPixel); in _SDL_gfxBlitRGBACall() 537 (src->format->BytesPerPixel!=4) ) { in SDL_gfxSetAlpha() 600 (src->format->BytesPerPixel!=4) ) { in SDL_gfxMultiplyAlpha()
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_blit.c | 71 (Uint16) srcrect->x * info->src_fmt->BytesPerPixel; in SDL_SoftBlit() 76 info->src_pitch - info->src_w * info->src_fmt->BytesPerPixel; in SDL_SoftBlit() 79 (Uint16) dstrect->x * info->dst_fmt->BytesPerPixel; in SDL_SoftBlit() 84 info->dst_pitch - info->dst_w * info->dst_fmt->BytesPerPixel; in SDL_SoftBlit() 245 else if (surface->format->BytesPerPixel == 1 && in SDL_CalculateBlit()
|
A D | SDL_blit_N.c | 615 int srcbpp = srcfmt->BytesPerPixel; in Blit32to32KeyAltivec() 617 int dstbpp = dstfmt->BytesPerPixel; in Blit32to32KeyAltivec() 2102 srcbpp = srcfmt->BytesPerPixel; in BlitNto1() 2258 int srcbpp = srcfmt->BytesPerPixel; in get_permutation() 2259 int dstbpp = dstfmt->BytesPerPixel; in get_permutation() 2339 int srcbpp = srcfmt->BytesPerPixel; in BlitNtoN() 2341 int dstbpp = dstfmt->BytesPerPixel; in BlitNtoN() 2524 srcbpp = srcfmt->BytesPerPixel; in BlitNto1Key() 2898 srcbpp = srcfmt->BytesPerPixel; in BlitNtoNKeyCopyAlpha() 2899 dstbpp = dstfmt->BytesPerPixel; in BlitNtoNKeyCopyAlpha() [all …]
|
A D | SDL_fillrect.c | 327 if (SDL_HasNEON() && dst->format->BytesPerPixel != 3 && fill_function == NULL) { in SDL_FillRects() 328 switch (dst->format->BytesPerPixel) { in SDL_FillRects() 342 if (SDL_HasARMSIMD() && dst->format->BytesPerPixel != 3 && fill_function == NULL) { in SDL_FillRects() 343 switch (dst->format->BytesPerPixel) { in SDL_FillRects() 358 switch (dst->format->BytesPerPixel) { in SDL_FillRects() 419 rect->x * dst->format->BytesPerPixel; in SDL_FillRects()
|
A D | SDL_RLEaccel.c | 308 switch (fmt->BytesPerPixel) { \ 498 switch (surf_src->format->BytesPerPixel) { in SDL_RLEBlit() 619 Uint8 BytesPerPixel; member 714 switch (df->BytesPerPixel) { in RLEAlphaClipBlit() 754 if (df->BytesPerPixel == 2) { in SDL_RLEAlphaBlit() 860 switch (df->BytesPerPixel) { in SDL_RLEAlphaBlit() 1052 switch (df->BytesPerPixel) { in RLEAlphaSurface() 1103 r->BytesPerPixel = df->BytesPerPixel; in RLEAlphaSurface() 1129 if(df->BytesPerPixel == 4) { \ in RLEAlphaSurface() 1283 const int bpp = surface->format->BytesPerPixel; in RLEColorkeySurface() [all …]
|
A D | SDL_blit_A.c | 43 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1SurfaceAlpha() 90 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1PixelAlpha() 136 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1SurfaceAlphaKey() 1223 int srcbpp = srcfmt->BytesPerPixel; in BlitNtoNSurfaceAlpha() 1224 int dstbpp = dstfmt->BytesPerPixel; in BlitNtoNSurfaceAlpha() 1263 int srcbpp = srcfmt->BytesPerPixel; in BlitNtoNSurfaceAlphaKey() 1264 int dstbpp = dstfmt->BytesPerPixel; in BlitNtoNSurfaceAlphaKey() 1310 srcbpp = srcfmt->BytesPerPixel; in BlitNtoNPixelAlpha() 1311 dstbpp = dstfmt->BytesPerPixel; in BlitNtoNPixelAlpha() 1343 switch (df->BytesPerPixel) { in SDL_CalculateBlitA() [all …]
|
A D | SDL_shape.c | 88 pixel = (Uint8 *)(shape->pixels) + (y*shape->pitch) + (x*shape->format->BytesPerPixel); in SDL_CalculateShapeBitmap() 89 switch(shape->format->BytesPerPixel) { in SDL_CalculateShapeBitmap() 141 pixel = (Uint8 *)(mask->pixels) + (y*mask->pitch) + (x*mask->format->BytesPerPixel); in RecursivelyCalculateShapeTree() 142 switch(mask->format->BytesPerPixel) { in RecursivelyCalculateShapeTree()
|
A D | SDL_blit_slow.c | 47 int srcbpp = src_fmt->BytesPerPixel; in SDL_Blit_Slow() 48 int dstbpp = dst_fmt->BytesPerPixel; in SDL_Blit_Slow()
|
A D | SDL_blit_0.c | 374 dstbpp = dstfmt->BytesPerPixel; in BlitBtoNAlpha() 421 dstbpp = dstfmt->BytesPerPixel; in BlitBtoNAlphaKey() 467 which = surface->map->dst->format->BytesPerPixel; in SDL_CalculateBlit0()
|
A D | SDL_blit_1.c | 450 dstbpp = dstfmt->BytesPerPixel; in Blit1toNAlpha() 491 dstbpp = dstfmt->BytesPerPixel; in Blit1toNAlphaKey() 533 which = dstfmt->BytesPerPixel; in SDL_CalculateBlit1()
|
A D | SDL_blit_copy.c | 98 w = info->dst_w * info->dst_fmt->BytesPerPixel; in SDL_BlitCopy()
|
A D | SDL_pixels.c | 559 format->BytesPerPixel = (bpp + 7) / 8; in SDL_InitFormat() 973 bpp = ((dst->BytesPerPixel == 3) ? 4 : dst->BytesPerPixel); in Map1toN() 986 ASSEMBLE_RGBA(&map[i * bpp], dst->BytesPerPixel, dst, R, G, B, A); in Map1toN()
|
/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_drawpoint.c | 48 switch (dst->format->BytesPerPixel) { in SDL_DrawPoint() 95 switch (dst->format->BytesPerPixel) { in SDL_DrawPoints()
|
A D | SDL_drawline.c | 36 int pitch = (dst->pitch / dst->format->BytesPerPixel); in SDL_DrawLine1() 127 switch (fmt->BytesPerPixel) { in SDL_CalculateDrawLineFunc()
|
A D | SDL_blendfillrect.c | 140 switch (fmt->BytesPerPixel) { in SDL_BlendFillRect_RGB() 191 switch (fmt->BytesPerPixel) { in SDL_BlendFillRect_RGBA()
|
A D | SDL_blendpoint.c | 140 switch (fmt->BytesPerPixel) { in SDL_BlendPoint_RGB() 191 switch (fmt->BytesPerPixel) { in SDL_BlendPoint_RGBA()
|
A D | SDL_draw.h | 355 int pitch = (dst->pitch / dst->format->BytesPerPixel); \ 377 int pitch = (dst->pitch / dst->format->BytesPerPixel); \ 399 int pitch = (dst->pitch / dst->format->BytesPerPixel); \ 615 int pitch = (dst->pitch / dst->format->BytesPerPixel); \
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_compare.c | 71 bpp = surface->format->BytesPerPixel; in SDLTest_CompareSurfaces() 72 bpp_reference = referenceSurface->format->BytesPerPixel; in SDLTest_CompareSurfaces()
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_pixels.c | 149 …Test_AssertCheck(result->BytesPerPixel == 0, "Verify value of result.BytesPerPixel; expected: 0, g… in pixels_allocFreeFormat() 170 …Test_AssertCheck(result->BytesPerPixel > 0, "Verify value of result.BytesPerPixel; expected: >0, g… in pixels_allocFreeFormat()
|
A D | testautomation_surface.c | 367 if ( fmt1->BytesPerPixel == face->format->BytesPerPixel && in surface_testCompleteSurfaceConversion() 368 fmt2->BytesPerPixel == face->format->BytesPerPixel && in surface_testCompleteSurfaceConversion()
|
/AliOS-Things-master/components/SDL2/src/gfx/Test/ |
A D | LaplaceRelaxation.c | 66 screen->w*screen->format->BytesPerPixel); in ClearScreen() 101 int bpp = surface->format->BytesPerPixel; in getPixel() 193 rowskip = (picture->pitch - picture->w * picture->format->BytesPerPixel); in Draw() 211 pixel += picture->format->BytesPerPixel; in Draw()
|
A D | TestGfxBlit.c | 59 memset(pixels, gray1, screen->w*screen->format->BytesPerPixel); in ClearScreen() 61 memset(pixels, gray2, screen->w*screen->format->BytesPerPixel); in ClearScreen()
|
A D | TestFramerate.c | 55 screen->w*screen->format->BytesPerPixel); in ClearScreen()
|
A D | TestGfxTexture.c | 52 screen->w*screen->format->BytesPerPixel); in ClearScreen()
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_pnm.c | 168 bpl = width * surface->format->BytesPerPixel; in IMG_LoadPNM_RW()
|