Home
last modified time | relevance | path

Searched refs:BytesPerPixel (Results 1 – 25 of 40) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxBlitFunc.c316 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 DSDL_blit.c71 (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 DSDL_blit_N.c615 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 DSDL_fillrect.c327 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 DSDL_RLEaccel.c308 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 DSDL_blit_A.c43 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 DSDL_shape.c88 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 DSDL_blit_slow.c47 int srcbpp = src_fmt->BytesPerPixel; in SDL_Blit_Slow()
48 int dstbpp = dst_fmt->BytesPerPixel; in SDL_Blit_Slow()
A DSDL_blit_0.c374 dstbpp = dstfmt->BytesPerPixel; in BlitBtoNAlpha()
421 dstbpp = dstfmt->BytesPerPixel; in BlitBtoNAlphaKey()
467 which = surface->map->dst->format->BytesPerPixel; in SDL_CalculateBlit0()
A DSDL_blit_1.c450 dstbpp = dstfmt->BytesPerPixel; in Blit1toNAlpha()
491 dstbpp = dstfmt->BytesPerPixel; in Blit1toNAlphaKey()
533 which = dstfmt->BytesPerPixel; in SDL_CalculateBlit1()
A DSDL_blit_copy.c98 w = info->dst_w * info->dst_fmt->BytesPerPixel; in SDL_BlitCopy()
A DSDL_pixels.c559 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 DSDL_drawpoint.c48 switch (dst->format->BytesPerPixel) { in SDL_DrawPoint()
95 switch (dst->format->BytesPerPixel) { in SDL_DrawPoints()
A DSDL_drawline.c36 int pitch = (dst->pitch / dst->format->BytesPerPixel); in SDL_DrawLine1()
127 switch (fmt->BytesPerPixel) { in SDL_CalculateDrawLineFunc()
A DSDL_blendfillrect.c140 switch (fmt->BytesPerPixel) { in SDL_BlendFillRect_RGB()
191 switch (fmt->BytesPerPixel) { in SDL_BlendFillRect_RGBA()
A DSDL_blendpoint.c140 switch (fmt->BytesPerPixel) { in SDL_BlendPoint_RGB()
191 switch (fmt->BytesPerPixel) { in SDL_BlendPoint_RGBA()
A DSDL_draw.h355 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 DSDL_test_compare.c71 bpp = surface->format->BytesPerPixel; in SDLTest_CompareSurfaces()
72 bpp_reference = referenceSurface->format->BytesPerPixel; in SDLTest_CompareSurfaces()
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_pixels.c149 …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 Dtestautomation_surface.c367 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 DLaplaceRelaxation.c66 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 DTestGfxBlit.c59 memset(pixels, gray1, screen->w*screen->format->BytesPerPixel); in ClearScreen()
61 memset(pixels, gray2, screen->w*screen->format->BytesPerPixel); in ClearScreen()
A DTestFramerate.c55 screen->w*screen->format->BytesPerPixel); in ClearScreen()
A DTestGfxTexture.c52 screen->w*screen->format->BytesPerPixel); in ClearScreen()
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_pnm.c168 bpl = width * surface->format->BytesPerPixel; in IMG_LoadPNM_RW()

Completed in 46 milliseconds

12