/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/powerpc/ |
A D | filter_vsx_intrinsics.c | 204 rp -= bpp; in png_read_filter_row_sub4_vsx() 261 rp -= bpp; in png_read_filter_row_sub3_vsx() 307 rp -= bpp; in png_read_filter_row_avg4_vsx() 341 rp -= bpp; in png_read_filter_row_avg4_vsx() 394 rp -= bpp; in png_read_filter_row_avg3_vsx() 428 rp -= bpp; in png_read_filter_row_avg3_vsx() 429 pp -= bpp; in png_read_filter_row_avg3_vsx() 512 rp -= bpp; in png_read_filter_row_paeth4_vsx() 632 rp -= bpp; in png_read_filter_row_paeth3_vsx() 658 rp -= bpp; in png_read_filter_row_paeth3_vsx() [all …]
|
A D | powerpc_init.c | 55 png_init_filter_functions_vsx(png_structp pp, unsigned int bpp) in png_init_filter_functions_vsx() argument 111 if (bpp == 3) in png_init_filter_functions_vsx() 118 else if (bpp == 4) in png_init_filter_functions_vsx()
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_stretch.c | 70 generate_rowbytes(int src_w, int dst_w, int bpp) in generate_rowbytes() argument 74 int bpp; in generate_rowbytes() member 86 if ((src_w == last.src_w) && (dst_w == last.dst_w) && (bpp == last.bpp)) { in generate_rowbytes() 89 last.bpp = bpp; in generate_rowbytes() 94 switch (bpp) { in generate_rowbytes() 122 if (bpp == 2) { in generate_rowbytes() 131 if (bpp == 2) { in generate_rowbytes() 283 if ((bpp == 3) || (generate_rowbytes(srcrect->w, dstrect->w, bpp) < 0)) { in SDL_SoftStretch() 291 + (dstrect->x * bpp); in SDL_SoftStretch() 294 + (srcrect->x * bpp); in SDL_SoftStretch() [all …]
|
A D | SDL_RLEaccel.c | 424 do_blit(dstbuf + startcol * bpp, srcbuf + start * bpp, \ in RLEClipBlit() 535 do_blit(dstbuf + ofs * bpp, srcbuf, run, bpp, alpha); \ in SDL_RLEBlit() 1289 switch (bpp) { in RLEColorkeySurface() 1323 getpix = getpixes[bpp - 1]; in RLEColorkeySurface() 1364 SDL_memcpy(dst, srcbuf + runstart * bpp, len * bpp); in RLEColorkeySurface() 1365 dst += len * bpp; in RLEColorkeySurface() 1371 SDL_memcpy(dst, srcbuf + runstart * bpp, len * bpp); in RLEColorkeySurface() 1482 int bpp = df->BytesPerPixel; in UnRLEAlpha() local 1484 if (bpp == 2) { in UnRLEAlpha() 1506 if (bpp == 2) { in UnRLEAlpha() [all …]
|
A D | SDL_blit.h | 147 #define RETRIEVE_RGB_PIXEL(buf, bpp, Pixel) \ argument 149 switch (bpp) { \ 178 #define DISEMBLE_RGB(buf, bpp, fmt, Pixel, r, g, b) \ argument 180 switch (bpp) { \ 262 #define ASSEMBLE_RGB(buf, bpp, fmt, r, g, b) \ argument 264 switch (bpp) { \ 354 #define DISEMBLE_RGBA(buf, bpp, fmt, Pixel, r, g, b, a) \ argument 356 switch (bpp) { \ 403 #define ASSEMBLE_RGBA(buf, bpp, fmt, r, g, b, a) \ argument 405 switch (bpp) { \
|
A D | SDL_fillrect.c | 60 #define DEFINE_SSE_FILLRECT(bpp, type) \ argument 62 SDL_FillRect##bpp##SSE(Uint8 *pixels, int pitch, Uint32 color, int w, int h) \ 70 n = w * bpp; \ 77 adjust /= bpp; \ 80 p += bpp; \ 87 remainder /= bpp; \ 90 p += bpp; \
|
A D | SDL_pixels.c | 148 *bpp = SDL_BITSPERPIXEL(format); in SDL_PixelFormatEnumToMasks() 150 *bpp = SDL_BYTESPERPIXEL(format) * 8; in SDL_PixelFormatEnumToMasks() 297 switch (bpp) { in SDL_MasksToPixelFormatEnum() 546 int bpp; in SDL_InitFormat() local 550 if (!SDL_PixelFormatEnumToMasks(pixel_format, &bpp, in SDL_InitFormat() 558 format->BitsPerPixel = bpp; in SDL_InitFormat() 559 format->BytesPerPixel = (bpp + 7) / 8; in SDL_InitFormat() 749 SDL_DitherColors(SDL_Color * colors, int bpp) in SDL_DitherColors() argument 752 if (bpp != 8) in SDL_DitherColors() 970 int bpp; in Map1toN() local [all …]
|
/AliOS-Things-master/components/SDL2/src/video/arm/ |
A D | pixman-arm-neon-asm.S | 136 .if bpp <= 16 137 .if bpp == 8 165 .if bpp <= 16 168 .if bpp == 8 179 .if bpp == 8 187 .elseif bpp == 16 194 vst1.\bpp {q0-q1}, [a3]! 199 vst1.\bpp {q0-q1}, [a3]! 201 vst1.\bpp {q0}, [a3]! 205 .if bpp <= 16 [all …]
|
A D | pixman-arm-neon-asm.h | 147 .if bpp > 0 164 pixldst %(numpix * bpp / 8), vld1, %(bpp), basereg, mem_operand, abits 170 .if bpp > 0 187 pixldst %(numpix * bpp / 8), vst1, %(bpp), basereg, mem_operand, abits 193 .if (bpp * numpix) <= 128 194 pixld numpix, bpp, basereg, mem_operand, %(bpp * numpix) 201 .if (bpp * numpix) <= 128 202 pixst numpix, bpp, basereg, mem_operand, %(bpp * numpix) 334 .if bpp > 0 335 pixld_s_internal %(numpix * bpp / 8), %(bpp), basereg, mem_operand [all …]
|
A D | pixman-arm-simd-asm.h | 171 .macro preload_leading_step1 bpp, ptr, base 176 .if bpp > 0 198 .if bpp > 0 204 .if bpp/dst_w_bpp == 4 227 .if bpp > 0 229 .if IS_END_OF_GROUP(SUBBLOCK,256/128*dst_w_bpp/bpp) 240 .macro preload_trailing bpp, bpp_shift, base 241 .if bpp > 0 242 .if bpp*pix_per_block > 256 285 .if bpp > 0 [all …]
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_tga.c | 99 int bpp; in IMG_LoadTGA_RW() local 146 bpp = (hdr.pixel_bits + 7) >> 3; in IMG_LoadTGA_RW() 198 bpp * 8, in IMG_LoadTGA_RW() 271 SDL_RWread(src, dst + x * bpp, n * bpp, 1); in IMG_LoadTGA_RW() 282 SDL_memcpy(dst + x * bpp, &pixel, bpp); in IMG_LoadTGA_RW() 291 SDL_RWread(src, &pixel, bpp, 1); in IMG_LoadTGA_RW() 298 SDL_RWread(src, dst, w * bpp, 1); in IMG_LoadTGA_RW() 301 if (bpp == 2) { in IMG_LoadTGA_RW()
|
A D | IMG_xcf.c | 188 Uint32 bpp; member 473 h->bpp = SDL_ReadBE32 (src); in read_xcf_hierarchy() 522 static unsigned char * load_xcf_tile_rle (SDL_RWops * src, Uint32 len, int bpp, int x, int y) { in load_xcf_tile_rle() argument 537 data = (unsigned char *) SDL_calloc (1, x*y*bpp); in load_xcf_tile_rle() 538 for (i = 0; i < bpp; i++) { in load_xcf_tile_rle() 565 d += bpp; in load_xcf_tile_rle() 587 d += bpp; in load_xcf_tile_rle() 643 if (hierarchy->bpp > 4) { /* unsupported. */ in do_layer_surface() 644 SDL_Log("Unknown Gimp image bpp (%u)\n", (unsigned int) hierarchy->bpp); in do_layer_surface() 673 tile = load_tile(src, length, hierarchy->bpp, ox, oy); in do_layer_surface() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/intel/ |
A D | intel_init.c | 20 png_init_filter_functions_sse2(png_structp pp, unsigned int bpp) in png_init_filter_functions_sse2() argument 31 if (bpp == 3) in png_init_filter_functions_sse2() 38 else if (bpp == 4) in png_init_filter_functions_sse2()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/arm/ |
A D | arm_init.c | 58 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) in png_init_filter_functions_neon() argument 119 if (bpp == 3) in png_init_filter_functions_neon() 127 else if (bpp == 4) in png_init_filter_functions_neon()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/mips/ |
A D | mips_init.c | 59 png_init_filter_functions_msa(png_structp pp, unsigned int bpp) in png_init_filter_functions_msa() argument 115 if (bpp == 3) in png_init_filter_functions_msa() 122 else if (bpp == 4) in png_init_filter_functions_msa()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/ |
A D | ppm2tiff.c | 96 uint16 bpp = 8; in main() local 157 bpp = 1; in main() 162 bpp = 8; in main() 167 bpp = 8; in main() 198 switch (bpp) { in main() 219 TIFFSetField(out, TIFFTAG_BITSPERSAMPLE, bpp); in main() 237 switch (bpp) { in main()
|
/AliOS-Things-master/components/SDL2/src/video/alios/ |
A D | SDL_AliOS_framebuffer.c | 40 int bpp; in SDL_AliOS_CreateWindowFramebuffer() local 48 SDL_PixelFormatEnumToMasks(surface_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask); in SDL_AliOS_CreateWindowFramebuffer() 50 surface = SDL_CreateRGBSurface(0, w, h, bpp, Rmask, Gmask, Bmask, Amask); in SDL_AliOS_CreateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/video/dummy/ |
A D | SDL_nullframebuffer.c | 36 int bpp; in SDL_DUMMY_CreateWindowFramebuffer() local 44 SDL_PixelFormatEnumToMasks(surface_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask); in SDL_DUMMY_CreateWindowFramebuffer() 46 surface = SDL_CreateRGBSurface(0, w, h, bpp, Rmask, Gmask, Bmask, Amask); in SDL_DUMMY_CreateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/video/offscreen/ |
A D | SDL_offscreenframebuffer.c | 37 int bpp; in SDL_OFFSCREEN_CreateWindowFramebuffer() local 45 SDL_PixelFormatEnumToMasks(surface_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask); in SDL_OFFSCREEN_CreateWindowFramebuffer() 47 surface = SDL_CreateRGBSurface(0, w, h, bpp, Rmask, Gmask, Bmask, Amask); in SDL_OFFSCREEN_CreateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_compare.c | 43 int bpp, bpp_reference; in SDLTest_CompareSurfaces() local 71 bpp = surface->format->BytesPerPixel; in SDLTest_CompareSurfaces() 76 p = (Uint8 *)surface->pixels + j * surface->pitch + i * bpp; in SDLTest_CompareSurfaces()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/ |
A D | pngimage.c | 1112 bpp = bit_depth; in compare_read() 1118 bpp = 2 * bit_depth; in compare_read() 1125 bpp = 3 * bit_depth; in compare_read() 1133 bpp = 4 * bit_depth; in compare_read() 1140 bpp = 0; in compare_read() 1147 for (b=0; 8*b<bpp; ++b) in compare_read() 1160 if (bpp < 8 && bpp != bit_depth) in compare_read() 1166 bpp, bit_depth); in compare_read() 1216 bpp = (bpp+7) >> 3; in compare_read() 1225 bpp, mask); in compare_read() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsframebuffer.c | 61 int bpp; in WIN_CreateWindowFramebuffer() local 64 bpp = info->bmiHeader.biPlanes * info->bmiHeader.biBitCount; in WIN_CreateWindowFramebuffer() 66 *format = SDL_MasksToPixelFormatEnum(bpp, masks[0], masks[1], masks[2], 0); in WIN_CreateWindowFramebuffer()
|
/AliOS-Things-master/components/SDL2/src/video/haiku/ |
A D | SDL_bmodes.cc | 166 int32 HAIKU_BPPToSDLPxFormat(int32 bpp) { in HAIKU_BPPToSDLPxFormat() argument 168 switch (bpp) { in HAIKU_BPPToSDLPxFormat() 213 int32 bpp = HAIKU_ColorSpaceToBitsPerPixel(bmode->space); in _BDisplayModeToSdlDisplayMode() local 214 mode->format = HAIKU_BPPToSDLPxFormat(bpp); in _BDisplayModeToSdlDisplayMode()
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftbitmap.c | 108 FT_UInt bpp; in ft_bitmap_assure_buffer() local 122 bpp = 1; in ft_bitmap_assure_buffer() 126 bpp = 2; in ft_bitmap_assure_buffer() 130 bpp = 4; in ft_bitmap_assure_buffer() 136 bpp = 8; in ft_bitmap_assure_buffer() 148 FT_Int bit_last = ( width + xpixels ) * bpp; in ft_bitmap_assure_buffer() 183 FT_Int len = ( width * bpp + 7 ) >> 3; in ft_bitmap_assure_buffer() 192 FT_Int len = ( width * bpp + 7 ) >> 3; in ft_bitmap_assure_buffer()
|
/AliOS-Things-master/components/littlevgl/src/lv_draw/ |
A D | lv_draw_basic.c | 262 switch(g.bpp) { in lv_draw_letter() 298 uint16_t width_bit = g.box_w * g.bpp; /*Letter width in bits*/ in lv_draw_letter() 313 uint32_t bit_ofs = (row_start * width_bit) + (col_start * g.bpp); in lv_draw_letter() 329 letter_px = (*map_p & bitmask) >> (8 - col_bit - g.bpp); in lv_draw_letter() 332 px_opa = g.bpp == 8 ? letter_px : bpp_opa_table[letter_px]; in lv_draw_letter() 334 px_opa = g.bpp == 8 ? (uint16_t)((uint16_t)letter_px * opa) >> 8 in lv_draw_letter() 358 if(col_bit < 8 - g.bpp) { in lv_draw_letter() 359 col_bit += g.bpp; in lv_draw_letter() 360 bitmask = bitmask >> g.bpp; in lv_draw_letter() 367 col_bit += ((g.box_w - col_end) + col_start) * g.bpp; in lv_draw_letter()
|