/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
fpdf_edit_image.cpp | 109 FX_INT32 bpp = pBitmap->GetBPP();
local 118 if (bpp == 1) {
157 } else if (bpp == 8) {
340 src_offset += bpp == 24 ? 3 : 4;
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11video.h | 107 int bpp; /* pixel quantum in bits */ member in struct:SDL_PrivateVideoData::__anon33328 112 int depth; /* current visual depth (not bpp) */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/drm/ |
drm_mode.h | 225 __u32 bpp; member in struct:drm_mode_fb_cmd
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/drm/ |
drm_mode.h | 225 __u32 bpp; member in struct:drm_mode_fb_cmd
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrContext.cpp | 281 size_t bpp) { 287 size_t dstXLimit = dstW*bpp; 290 const uint8_t* srcRow = reinterpret_cast<const uint8_t *>(src) + (y>>16)*srcW*bpp; 291 uint8_t* dstRow = reinterpret_cast<uint8_t *>(dst) + j*dstW*bpp; 292 for (size_t i = 0; i < dstXLimit; i += bpp) { 293 memcpy(dstRow + i, srcRow + (x>>16)*bpp, bpp); 371 size_t bpp = GrBytesPerPixel(desc.fConfig); local 372 SkAutoSMalloc<128*128*4> stretchedPixels(bpp * rtDesc.fWidth * rtDesc.fHeight); 374 srcData, desc.fWidth, desc.fHeight, bpp); [all...] |
/external/skia/src/gpu/ |
GrContext.cpp | 281 size_t bpp) { 287 size_t dstXLimit = dstW*bpp; 290 const uint8_t* srcRow = reinterpret_cast<const uint8_t *>(src) + (y>>16)*srcW*bpp; 291 uint8_t* dstRow = reinterpret_cast<uint8_t *>(dst) + j*dstW*bpp; 292 for (size_t i = 0; i < dstXLimit; i += bpp) { 293 memcpy(dstRow + i, srcRow + (x>>16)*bpp, bpp); 371 size_t bpp = GrBytesPerPixel(desc.fConfig); local 372 SkAutoSMalloc<128*128*4> stretchedPixels(bpp * rtDesc.fWidth * rtDesc.fHeight); 374 srcData, desc.fWidth, desc.fHeight, bpp); [all...] |
/bionic/libc/dns/ |
gethnamaddr.c | 1177 map_v4v6_hostent(struct hostent *hp, char **bpp, char *ep) 1182 assert(bpp != NULL); 1190 int i = sizeof(align) - (size_t)((u_long)*bpp % sizeof(align)); 1192 if (ep - *bpp < (i + IN6ADDRSZ)) { 1197 *bpp += i; 1198 map_v4v6_address(*ap, *bpp); 1199 *ap = *bpp; 1200 *bpp += IN6ADDRSZ; [all...] |
/external/pixman/pixman/ |
pixman-arm-simd.c | 86 int bpp, 96 switch (bpp)
|
pixman-implementation.c | 267 int bpp, 277 ((*imp->fill) (imp, bits, stride, bpp, x, y, width, height, filler)))
|
/external/pixman/test/ |
scaling-test.c | 25 get_format (int bpp) 27 if (bpp == 4)
|
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/ |
SDL_aavideo.c | 46 static SDL_Surface *AA_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 246 int width, int height, int bpp, Uint32 flags)
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testsprite.c | 120 Uint32 FastestFlags(Uint32 flags, int width, int height, int bpp) 140 if ( info->video_mem*1024 > (height*width*bpp/8) ) { 185 if ( strcmp(argv[argc-1], "-bpp") == 0 ) { 209 "Usage: %s [-bpp N] [-hw] [-flip] [-fast] [-fullscreen] [numsprites]\n",
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_depth.c | 229 const GLint bpp = _mesa_get_format_bytes(rb->Format); local 233 const GLubyte *src = map + y[i] * rowStride+ x[i] * bpp; 266 const GLint bpp = _mesa_get_format_bytes(rb->Format); local 270 void *dst = map + y[i] * rowStride + x[i] * bpp; 287 const GLint bpp = _mesa_get_format_bytes(rb->Format); local 389 dst += bpp;
|
s_blit.c | 518 GLuint bpp = _mesa_get_format_bytes(readFormat); local 642 GLubyte *src = srcMap + srcY1 * srcRowStride + srcXpos * bpp; 658 GLubyte *src0 = srcMap + srcY0 * srcRowStride + srcXpos * bpp; 659 GLubyte *src1 = srcMap + srcY1 * srcRowStride + srcXpos * bpp; 686 GLubyte *dst = dstMap + dstY * dstRowStride + dstXpos * bpp;
|
/external/mesa3d/src/mesa/swrast/ |
s_depth.c | 229 const GLint bpp = _mesa_get_format_bytes(rb->Format); local 233 const GLubyte *src = map + y[i] * rowStride+ x[i] * bpp; 266 const GLint bpp = _mesa_get_format_bytes(rb->Format); local 270 void *dst = map + y[i] * rowStride + x[i] * bpp; 287 const GLint bpp = _mesa_get_format_bytes(rb->Format); local 389 dst += bpp;
|
s_blit.c | 518 GLuint bpp = _mesa_get_format_bytes(readFormat); local 642 GLubyte *src = srcMap + srcY1 * srcRowStride + srcXpos * bpp; 658 GLubyte *src0 = srcMap + srcY0 * srcRowStride + srcXpos * bpp; 659 GLubyte *src1 = srcMap + srcY1 * srcRowStride + srcXpos * bpp; 686 GLubyte *dst = dstMap + dstY * dstRowStride + dstXpos * bpp;
|
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
SDL_dgavideo.c | 49 static SDL_Surface *DGA_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 171 static int DGA_AddMode(_THIS, int bpp, int w, int h) 178 if ( bpp < 8 ) { /* Not supported */ 181 index = ((bpp+7)/8)-1; 247 printf("Mode: %s (%dx%d) at %d bpp (%f refresh, %d pitch) num: %d\n", 288 /* Prefer 32 bpp over 24 bpp, 16 bpp over 15 bpp */ 457 int width, int height, int bpp, Uint32 flags [all...] |
/frameworks/native/libs/gui/ |
Surface.cpp | 762 const size_t bpp = bytesPerPixel(src->format); local 763 const size_t dbpr = dst->stride * bpp; 764 const size_t sbpr = src->stride * bpp; 770 size_t size = r.width() * bpp; 771 uint8_t const * s = src_bits + (r.left + src->stride * r.top) * bpp; 772 uint8_t * d = dst_bits + (r.left + dst->stride * r.top) * bpp;
|
/hardware/libhardware/tests/camera2/ |
camera2.cpp | 488 size_t bpp = 2; local 491 (const char *)(buffer.data + y * buffer.stride * bpp), 492 buffer.width * bpp); 795 size_t bpp = 1; local 798 (const char *)(buffer.data + y * buffer.stride * bpp), 799 buffer.width * bpp);
|
/external/libpng/contrib/gregbook/ |
rpng2-x.c | 33 - 1.30: added -loop option for -bgpat (ifdef FEATURE_LOOP); fixed bpp = 1275 int bpp = ximage->bits_per_pixel; local 1400 int bpp = ximage->bits_per_pixel; local 1620 int bpp = ximage->bits_per_pixel; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBitmap.cpp | 102 int bpp; local 105 bpp = 0; // not applicable 109 bpp = 1; 113 bpp = 2; 116 bpp = 4; 120 bpp = 0; // error 123 return bpp; [all...] |
/external/skia/src/core/ |
SkBitmap.cpp | 102 int bpp; local 105 bpp = 0; // not applicable 109 bpp = 1; 113 bpp = 2; 116 bpp = 4; 120 bpp = 0; // error 123 return bpp; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/gem/ |
SDL_gemvideo.c | 81 static SDL_Surface *GEM_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 619 int width, int height, int bpp, Uint32 flags) 630 if (VDI_bpp != bpp) { 631 SDL_SetError("%d bpp mode not supported", bpp); 651 printf("sdl:video:gem: setvideomode(): %dx%dx%d = %d\n", width, height, bpp, screensize);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
rate_control.cpp | 172 double L1, L2, L3, bpp; local 247 bpp = 1.0 * rateCtrl->bitRate / (rateCtrl->frame_rate * (video->PicSizeInMbs << 8)); 269 if (bpp <= L1) 271 else if (bpp <= L2) 273 else if (bpp <= L3) [all...] |
/hardware/ti/omap4-aah/test/CameraHal/ |
camera_test_surfacetexture.cpp | 92 unsigned int bpp; local 96 bpp = 1; 100 bpp = 2; 104 bpp = 1; 108 return top * width + left * bpp;
|