Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit_N.c316 SDL_assert(srcfmt->BytesPerPixel == 2); in Blit_RGB565_32Altivec()
317 SDL_assert(dstfmt->BytesPerPixel == 4); in Blit_RGB565_32Altivec()
463 SDL_assert(srcfmt->BytesPerPixel == 2); in Blit_RGB555_32Altivec()
464 SDL_assert(dstfmt->BytesPerPixel == 4); in Blit_RGB555_32Altivec()
564 int srcbpp = srcfmt->BytesPerPixel; in Blit32to32KeyAltivec()
566 int dstbpp = dstfmt->BytesPerPixel; in Blit32to32KeyAltivec()
693 SDL_assert(srcfmt->BytesPerPixel == 4); in ConvertAltivec32to32_noprefetch()
694 SDL_assert(dstfmt->BytesPerPixel == 4); in ConvertAltivec32to32_noprefetch()
776 SDL_assert(srcfmt->BytesPerPixel == 4); in ConvertAltivec32to32_prefetch()
777 SDL_assert(dstfmt->BytesPerPixel == 4); in ConvertAltivec32to32_prefetch()
[all …]
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()
DSDL_RLEaccel.c309 switch (fmt->BytesPerPixel) { \
316 switch (fmt->BytesPerPixel) { \
472 + y * surf_dst->pitch + x * surf_src->format->BytesPerPixel; in SDL_RLEBlit()
499 switch (surf_src->format->BytesPerPixel) { in SDL_RLEBlit()
620 Uint8 BytesPerPixel; member
715 switch (df->BytesPerPixel) { in RLEAlphaClipBlit()
747 dstbuf = (Uint8 *) surf_dst->pixels + y * surf_dst->pitch + x * df->BytesPerPixel; in SDL_RLEAlphaBlit()
755 if (df->BytesPerPixel == 2) { in SDL_RLEAlphaBlit()
861 switch (df->BytesPerPixel) { in SDL_RLEAlphaBlit()
1053 switch (df->BytesPerPixel) { in RLEAlphaSurface()
[all …]
DSDL_blit_A.c41 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1SurfaceAlpha()
88 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1PixelAlpha()
134 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1SurfaceAlphaKey()
1157 int srcbpp = srcfmt->BytesPerPixel; in BlitNtoNSurfaceAlpha()
1158 int dstbpp = dstfmt->BytesPerPixel; in BlitNtoNSurfaceAlpha()
1197 int srcbpp = srcfmt->BytesPerPixel; in BlitNtoNSurfaceAlphaKey()
1198 int dstbpp = dstfmt->BytesPerPixel; in BlitNtoNSurfaceAlphaKey()
1244 srcbpp = srcfmt->BytesPerPixel; in BlitNtoNPixelAlpha()
1245 dstbpp = dstfmt->BytesPerPixel; in BlitNtoNPixelAlpha()
1277 switch (df->BytesPerPixel) { in SDL_CalculateBlitA()
[all …]
DSDL_shape.c81 pixel = (Uint8 *)(shape->pixels) + (y*shape->pitch) + (x*shape->format->BytesPerPixel); in SDL_CalculateShapeBitmap()
82 switch(shape->format->BytesPerPixel) { in SDL_CalculateShapeBitmap()
135 pixel = (Uint8 *)(mask->pixels) + (y*mask->pitch) + (x*mask->format->BytesPerPixel); in RecursivelyCalculateShapeTree()
136 switch(mask->format->BytesPerPixel) { in RecursivelyCalculateShapeTree()
DSDL_blit_slow.c47 int srcbpp = src_fmt->BytesPerPixel; in SDL_Blit_Slow()
48 int dstbpp = dst_fmt->BytesPerPixel; in SDL_Blit_Slow()
DSDL_pixels.c536 format->BytesPerPixel = (bpp + 7) / 8; in SDL_InitFormat()
753 pitch = surface->w * surface->format->BytesPerPixel; in SDL_CalculatePitch()
920 bpp = ((dst->BytesPerPixel == 3) ? 4 : dst->BytesPerPixel); in Map1toN()
933 ASSEMBLE_RGBA(&map[i * bpp], dst->BytesPerPixel, dst, R, G, B, A); in Map1toN()
DSDL_blit_1.c446 dstbpp = dstfmt->BytesPerPixel; in Blit1toNAlpha()
487 dstbpp = dstfmt->BytesPerPixel; in Blit1toNAlphaKey()
529 which = dstfmt->BytesPerPixel; in SDL_CalculateBlit1()
DSDL_blit_0.c372 dstbpp = dstfmt->BytesPerPixel; in BlitBtoNAlpha()
419 dstbpp = dstfmt->BytesPerPixel; in BlitBtoNAlphaKey()
465 which = surface->map->dst->format->BytesPerPixel; in SDL_CalculateBlit0()
DSDL_fillrect.c272 rect->x * dst->format->BytesPerPixel; in SDL_FillRect()
274 switch (dst->format->BytesPerPixel) { in SDL_FillRect()
DSDL_blit_copy.c98 w = info->dst_w * info->dst_fmt->BytesPerPixel; in SDL_BlitCopy()
DSDL_stretch.c221 const int bpp = dst->format->BytesPerPixel; in SDL_SoftStretch()
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/
DSDL_drawpoint.c48 switch (dst->format->BytesPerPixel) { in SDL_DrawPoint()
95 switch (dst->format->BytesPerPixel) { in SDL_DrawPoints()
DSDL_drawline.c36 int pitch = (dst->pitch / dst->format->BytesPerPixel); in SDL_DrawLine1()
127 switch (fmt->BytesPerPixel) { in SDL_CalculateDrawLineFunc()
DSDL_draw.h299 int pitch = (dst->pitch / dst->format->BytesPerPixel); \
321 int pitch = (dst->pitch / dst->format->BytesPerPixel); \
343 int pitch = (dst->pitch / dst->format->BytesPerPixel); \
559 int pitch = (dst->pitch / dst->format->BytesPerPixel); \
DSDL_blendfillrect.c128 switch (fmt->BytesPerPixel) { in SDL_BlendFillRect_RGB()
173 switch (fmt->BytesPerPixel) { in SDL_BlendFillRect_RGBA()
DSDL_blendpoint.c128 switch (fmt->BytesPerPixel) { in SDL_BlendPoint_RGB()
173 switch (fmt->BytesPerPixel) { in SDL_BlendPoint_RGBA()
DSDL_render_sw.c306 rect->x * surface->format->BytesPerPixel; in SW_UpdateTexture()
307 length = rect->w * surface->format->BytesPerPixel; in SW_UpdateTexture()
326 rect->x * surface->format->BytesPerPixel); in SW_LockTexture()
758 rect->x * surface->format->BytesPerPixel); in SW_RenderReadPixels()
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_compare.c71 bpp = surface->format->BytesPerPixel; in SDLTest_CompareSurfaces()
72 bpp_reference = referenceSurface->format->BytesPerPixel; in SDLTest_CompareSurfaces()
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_pixels.c147 …Test_AssertCheck(result->BytesPerPixel == 0, "Verify value of result.BytesPerPixel; expected: 0, g… in pixels_allocFreeFormat()
168 …Test_AssertCheck(result->BytesPerPixel > 0, "Verify value of result.BytesPerPixel; expected: >0, g… in pixels_allocFreeFormat()
Dtestautomation_surface.c366 if ( fmt1->BytesPerPixel == face->format->BytesPerPixel && in surface_testCompleteSurfaceConversion()
367 fmt2->BytesPerPixel == face->format->BytesPerPixel && in surface_testCompleteSurfaceConversion()
Dtestgamecontroller.c81 if (temp->format->BytesPerPixel == 1) { in LoadTexture()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedFormatsTests.cpp73 int BytesPerPixel; member
84 result.BytesPerPixel = getPixelSize(texFormat); in getFormatInfo()
177 baseFormat.BytesPerPixel == shaderFormat.BytesPerPixel && in matching()
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/
DSDL_mirframebuffer.c81 bytes_per_pixel = window->surface->format->BytesPerPixel; in MIR_UpdateWindowFramebuffer()
DSDL_mirmouse.c85 bytes_per_pixel = surface->format->BytesPerPixel; in CopySurfacePixelsToMirStream()

12