/external/libjpeg-turbo/ |
wrgif.c | 225 int BitsPerPixel, ColorMapSize, InitCodeSize, FlagByte; 232 BitsPerPixel = 1; 233 while (num_colors > (1 << BitsPerPixel)) 234 BitsPerPixel++; 235 ColorMapSize = 1 << BitsPerPixel; 236 if (BitsPerPixel <= 1) 239 InitCodeSize = BitsPerPixel; 254 FlagByte |= (BitsPerPixel-1) << 4; /* color resolution */ 255 FlagByte |= (BitsPerPixel-1); /* size of global color table */
|
/external/skia/src/codec/ |
SkSwizzler.h | 46 static int BitsPerPixel(SrcConfig sc) { 84 SkASSERT(SkIsAlign8(BitsPerPixel(sc))); 85 return BitsPerPixel(sc) >> 3; 149 * @param bpp if bitsPerPixel % 8 == 0, deltaSrc is bytesPerPixel 150 * else, deltaSrc is bitsPerPixel 259 // if bitsPerPixel % 8 == 0 262 // fBPP is bitsPerPixel
|
SkGifCodec.cpp | 413 SkASSERT(colorCount == (unsigned) (1 << (colorMap->BitsPerPixel)));
|
/external/giflib/ |
gif_lib_private.h | 34 BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */
|
egif_lib.c | 28 /* Masks given codes to BitsPerPixel, to make sure all codes are in range: */ 320 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0x07 ); /* Actual size of the 405 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0); 463 Mask = CodeMask[Private->BitsPerPixel]; 492 Pixel &= CodeMask[Private->BitsPerPixel]; 832 int BitsPerPixel; 838 BitsPerPixel = GifFile->Image.ColorMap->BitsPerPixel; 840 BitsPerPixel = GifFile->SColorMap->BitsPerPixel; [all...] |
dgif_lib.c | 234 int BitsPerPixel; 258 BitsPerPixel = (Buf[0] & 0x07) + 1; 264 GifFile->SColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); 338 unsigned int BitsPerPixel; 360 BitsPerPixel = (Buf[0] & 0x07) + 1; 372 GifFile->Image.ColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); 708 *CodeSize = Private->BitsPerPixel; 755 int i, BitsPerPixel; 764 BitsPerPixel = CodeSize; 767 Private->BitsPerPixel = BitsPerPixel [all...] |
gifalloc.c | 62 Object->BitsPerPixel = GifBitSize(ColorCount); 202 ColorUnion->BitsPerPixel = NewGifBitSize;
|
gif_lib.h | 42 int BitsPerPixel;
|
/prebuilts/misc/windows/sdl2/test/ |
testautomation_pixels.c | 142 SDLTest_AssertCheck(result->BitsPerPixel == 0, "Verify value of result.BitsPerPixel; expected: 0, got %u", result->BitsPerPixel); 163 SDLTest_AssertCheck(result->BitsPerPixel > 0, "Verify value of result.BitsPerPixel; expected: >0, got %u", result->BitsPerPixel);
|
testscale.c | 60 switch (temp->format->BitsPerPixel) {
|
testspriteminimal.c | 55 switch (temp->format->BitsPerPixel) {
|
testgamecontroller.c | 89 SDL_assert(temp->format->BitsPerPixel == 24);
|
testrendercopyex.c | 58 switch (temp->format->BitsPerPixel) {
|
controllermap.c | 67 switch (temp->format->BitsPerPixel) {
|
testrendertarget.c | 58 switch (temp->format->BitsPerPixel) {
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
xm_api.c | 219 int bitsPerPixel; 230 bitsPerPixel = img->bits_per_pixel; 235 return bitsPerPixel; 328 && v->BitsPerPixel == 32) { 340 && v->BitsPerPixel == 32) { 352 && v->BitsPerPixel == 32) { 365 && v->BitsPerPixel == 16) { 563 v->BitsPerPixel = bits_per_pixel(v); 564 assert(v->BitsPerPixel > 0); 582 if (v->BitsPerPixel == 32) [all...] |
xm_api.h | 291 GLint BitsPerPixel; /* True bits per pixel for XImages */
|
/external/mesa3d/src/mesa/drivers/x11/ |
xm_api.c | 170 int bitsPerPixel; 181 bitsPerPixel = img->bits_per_pixel; 186 return bitsPerPixel; 513 && v->BitsPerPixel==32 523 if (v->BitsPerPixel==32) { 530 else if (v->BitsPerPixel == 24) { 538 && v->BitsPerPixel==16 568 v->BitsPerPixel = bits_per_pixel(v); 569 assert(v->BitsPerPixel > 0); 599 printf("X/Mesa bits per pixel = %d\n", v->BitsPerPixel); [all...] |
xmesaP.h | 81 GLint BitsPerPixel; /* True bits per pixel for XImages */
|
/external/skia/src/images/ |
SkImageDecoder_libgif.cpp | 130 cmap->ColorCount != (1 << cmap->BitsPerPixel))) { 341 SkASSERT(cmap->ColorCount == (1 << (cmap->BitsPerPixel)));
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_pixels.h | 278 Uint8 BitsPerPixel;
|
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_pixels.h | 278 Uint8 BitsPerPixel;
|
/prebuilts/misc/windows/sdl2/include/ |
SDL_pixels.h | 278 Uint8 BitsPerPixel;
|
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_pixels.h | 278 Uint8 BitsPerPixel;
|
/frameworks/ex/framesequence/jni/ |
FrameSequence_gif.cpp | 310 if (cmap == NULL || cmap->ColorCount != (1 << cmap->BitsPerPixel)) {
|