/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_flate.cpp | 234 int BytesPerPixel = (Colors * BitsPerComponent + 7) / 8; in PNG_PredictorEncode() local 263 if (byte >= BytesPerPixel) { in PNG_PredictorEncode() 264 left = pSrcData[byte - BytesPerPixel]; in PNG_PredictorEncode() 281 if (byte >= BytesPerPixel) { in PNG_PredictorEncode() 282 left = pSrcData[byte - BytesPerPixel]; in PNG_PredictorEncode() 294 if (byte >= BytesPerPixel) { in PNG_PredictorEncode() 295 left = pSrcData[byte - BytesPerPixel]; in PNG_PredictorEncode() 302 if (byte >= BytesPerPixel && row) { in PNG_PredictorEncode() 303 upper_left = pSrcData[byte - row_size - BytesPerPixel]; in PNG_PredictorEncode() 326 int BytesPerPixel = (bpc * nColors + 7) / 8; in PNG_PredictLine() local [all …]
|
/external/chromium_org/content/common/gpu/client/ |
D | gpu_memory_buffer_impl_shm.cc | 28 BytesPerPixel(internalformat))) { in AllocateSharedMemoryForChildProcess() 42 buffer_size *= BytesPerPixel(internalformat); in IsLayoutSupported() 67 BytesPerPixel(internalformat_))) in Initialize() 86 if (!shared_memory_->Map(size_.GetArea() * BytesPerPixel(internalformat_))) in Map() 99 return size_.width() * BytesPerPixel(internalformat_); in GetStride()
|
D | gpu_memory_buffer_impl.cc | 42 size_t GpuMemoryBufferImpl::BytesPerPixel(unsigned internalformat) { in BytesPerPixel() function in content::GpuMemoryBufferImpl
|
D | gpu_memory_buffer_impl.h | 53 static size_t BytesPerPixel(unsigned internalformat);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
D | SDL_blit.c | 80 (Uint16)srcrect->x*src->format->BytesPerPixel; in SDL_SoftBlit() 83 info.s_skip=src->pitch-info.s_width*src->format->BytesPerPixel; in SDL_SoftBlit() 86 (Uint16)dstrect->x*dst->format->BytesPerPixel; in SDL_SoftBlit() 89 info.d_skip=dst->pitch-info.d_width*dst->format->BytesPerPixel; in SDL_SoftBlit() 161 w = info->d_width*info->dst->BytesPerPixel; in SDL_BlitCopy() 209 w = info->d_width*info->dst->BytesPerPixel; in SDL_BlitCopyOverlap() 316 switch ( surface->format->BytesPerPixel ) { in SDL_CalculateBlit()
|
D | SDL_blit_N.c | 309 assert(srcfmt->BytesPerPixel == 2); in Blit_RGB565_32Altivec() 310 assert(dstfmt->BytesPerPixel == 4); in Blit_RGB565_32Altivec() 454 assert(srcfmt->BytesPerPixel == 2); in Blit_RGB555_32Altivec() 455 assert(dstfmt->BytesPerPixel == 4); in Blit_RGB555_32Altivec() 550 int srcbpp = srcfmt->BytesPerPixel; in Blit32to32KeyAltivec() 552 int dstbpp = dstfmt->BytesPerPixel; in Blit32to32KeyAltivec() 675 assert(srcfmt->BytesPerPixel == 4); in ConvertAltivec32to32_noprefetch() 676 assert(dstfmt->BytesPerPixel == 4); in ConvertAltivec32to32_noprefetch() 753 assert(srcfmt->BytesPerPixel == 4); in ConvertAltivec32to32_prefetch() 754 assert(dstfmt->BytesPerPixel == 4); in ConvertAltivec32to32_prefetch() [all …]
|
D | SDL_pixels.c | 54 format->BytesPerPixel = (bpp+7)/8; in SDL_AllocFormat() 296 pitch = surface->w*surface->format->BytesPerPixel; in SDL_CalculatePitch() 472 bpp = ((dst->BytesPerPixel == 3) ? 4 : dst->BytesPerPixel); in Map1toN() 482 ASSEMBLE_RGBA(&map[i*bpp], dst->BytesPerPixel, dst, in Map1toN() 559 switch (srcfmt->BytesPerPixel) { in SDL_MapSurface() 561 switch (dstfmt->BytesPerPixel) { in SDL_MapSurface() 591 switch (dstfmt->BytesPerPixel) { in SDL_MapSurface()
|
D | SDL_yuv_sw.c | 942 if ( (display->format->BytesPerPixel != 2) && in SDL_CreateYUV_SW() 943 (display->format->BytesPerPixel != 3) && in SDL_CreateYUV_SW() 944 (display->format->BytesPerPixel != 4) ) { in SDL_CreateYUV_SW() 1038 if( display->format->BytesPerPixel == 2 ) { in SDL_CreateYUV_SW() 1063 if ( display->format->BytesPerPixel == 2 ) { in SDL_CreateYUV_SW() 1081 if ( display->format->BytesPerPixel == 3 ) { in SDL_CreateYUV_SW() 1085 if ( display->format->BytesPerPixel == 4 ) { in SDL_CreateYUV_SW() 1107 if ( display->format->BytesPerPixel == 2 ) { in SDL_CreateYUV_SW() 1111 if ( display->format->BytesPerPixel == 3 ) { in SDL_CreateYUV_SW() 1115 if ( display->format->BytesPerPixel == 4 ) { in SDL_CreateYUV_SW() [all …]
|
D | SDL_RLEaccel.c | 626 switch(fmt->BytesPerPixel) { \ 633 switch(fmt->BytesPerPixel) { \ 712 switch(fmt->BytesPerPixel) { \ 719 switch(fmt->BytesPerPixel) { \ 860 + y * dst->pitch + x * src->format->BytesPerPixel; in SDL_RLEBlit() 887 switch(src->format->BytesPerPixel) { in SDL_RLEBlit() 1000 Uint8 BytesPerPixel; member 1092 switch(df->BytesPerPixel) { in RLEAlphaClipBlit() 1125 + y * dst->pitch + x * df->BytesPerPixel; in SDL_RLEAlphaBlit() 1133 if(df->BytesPerPixel == 2) { in SDL_RLEAlphaBlit() [all …]
|
D | SDL_cursor.c | 305 x += this->screen->offset / this->screen->format->BytesPerPixel; in SDL_WarpMouse() 309 this->screen->format->BytesPerPixel; in SDL_WarpMouse() 380 switch (screen->format->BytesPerPixel) { in SDL_DrawCursorFast() 509 dstbpp = screen->format->BytesPerPixel; in SDL_DrawCursorSlow() 517 if ( screen->format->BytesPerPixel == 1 ) { in SDL_DrawCursorSlow() 610 screenbpp = screen->format->BytesPerPixel; in SDL_DrawCursorNoLock() 688 screenbpp = screen->format->BytesPerPixel; in SDL_EraseCursorNoLock()
|
D | SDL_yuv.c | 48 ((SDL_VideoSurface->format->BytesPerPixel == 2) || in SDL_CreateYUVOverlay() 49 (SDL_VideoSurface->format->BytesPerPixel == 4)) ) { in SDL_CreateYUVOverlay()
|
D | SDL_blit_A.c | 77 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1SurfaceAlpha() 130 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1PixelAlpha() 183 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1SurfaceAlphaKey() 2598 int srcbpp = srcfmt->BytesPerPixel; in BlitNtoNSurfaceAlpha() 2599 int dstbpp = dstfmt->BytesPerPixel; in BlitNtoNSurfaceAlpha() 2640 int srcbpp = srcfmt->BytesPerPixel; in BlitNtoNSurfaceAlphaKey() 2641 int dstbpp = dstfmt->BytesPerPixel; in BlitNtoNSurfaceAlphaKey() 2687 srcbpp = srcfmt->BytesPerPixel; in BlitNtoNPixelAlpha() 2688 dstbpp = dstfmt->BytesPerPixel; in BlitNtoNPixelAlpha() 2730 if(df->BytesPerPixel == 1) in SDL_CalculateAlphaBlit() [all …]
|
D | SDL_blit_0.c | 358 dstbpp = dstfmt->BytesPerPixel; in BlitBtoNAlpha() 405 dstbpp = dstfmt->BytesPerPixel; in BlitBtoNAlphaKey() 454 which = surface->map->dst->format->BytesPerPixel; in SDL_CalculateBlit0()
|
/external/qemu/distrib/sdl-1.2.15/test/ |
D | testoverlay.c | 113 p+=s->format->BytesPerPixel; in ConvertRGBtoYV12() 153 p+=s->format->BytesPerPixel; in ConvertRGBtoIYUV() 186 p+=s->format->BytesPerPixel; in ConvertRGBtoUYVY() 222 p+=s->format->BytesPerPixel; in ConvertRGBtoYVYU() 258 p+=s->format->BytesPerPixel; in ConvertRGBtoYUY2() 498 format.BytesPerPixel=4; in main()
|
D | testoverlay2.c | 118 p+=s->format->BytesPerPixel; in ConvertRGBtoYV12() 151 p+=s->format->BytesPerPixel; in ConvertRGBtoIYUV() 184 p+=s->format->BytesPerPixel; in ConvertRGBtoUYVY() 220 p+=s->format->BytesPerPixel; in ConvertRGBtoYVYU() 256 p+=s->format->BytesPerPixel; in ConvertRGBtoYUY2() 443 format.BytesPerPixel=4; in main()
|
D | graywin.c | 38 if (screen->format->BytesPerPixel==1) in DrawBox() 75 if (screen->format->BytesPerPixel!=2) { in DrawBackground() 77 memset(buffer,(i*(NUM_COLORS-1))/screen->h, screen->w * screen->format->BytesPerPixel); in DrawBackground()
|
D | testalpha.c | 38 if (screen->format->BytesPerPixel!=2) { in FillBackground() 40 memset(buffer,(i*255)/screen->h, screen->w*screen->format->BytesPerPixel); in FillBackground() 95 skip = light->pitch-(light->w*light->format->BytesPerPixel); in CreateLight()
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
D | SDL_riscosvideo.c | 199 vformat->BytesPerPixel = 2; in RISCOS_VideoInit() 207 vformat->BytesPerPixel = 4; in RISCOS_VideoInit() 214 vformat->BytesPerPixel = 1; in RISCOS_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
D | SDL_fbmatrox.c | 80 switch (dst->format->BytesPerPixel) { in FillHWRect() 156 pitch = dst->pitch/dst->format->BytesPerPixel; in HWAccelBlit() 191 switch (dst->format->BytesPerPixel) { in HWAccelBlit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/ |
D | SDL_pgvideo.c | 178 vformat->BytesPerPixel = this->hidden->mi.bpp >> 3; in PG_VideoInit() 180 vformat->BytesPerPixel++; in PG_VideoInit() 245 current->format->BytesPerPixel = this->hidden->shm.bpp >> 3; in PG_SetVideoMode() 247 current->format->BytesPerPixel++; in PG_SetVideoMode()
|
/external/chromium_org/ui/gl/ |
D | gl_image_shm.cc | 57 GLenum BytesPerPixel(unsigned internalformat) { in BytesPerPixel() function 130 size_t size = size_.GetArea() * BytesPerPixel(internalformat_); in BindTexImage()
|
/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
D | SDL_ndsvideo.c | 100 if (src->format->BytesPerPixel != dst->format->BytesPerPixel) return false; in CheckHWBlit() 171 vformat->BytesPerPixel = 2; in NDS_VideoInit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/ |
D | SDL_ps3yuv.c | 84 if ((display->format->BytesPerPixel != 2) && in PS3_CreateYUVOverlay() 85 (display->format->BytesPerPixel != 3) && in PS3_CreateYUVOverlay() 86 (display->format->BytesPerPixel != 4)) in PS3_CreateYUVOverlay()
|
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
D | SDL_nximage.c | 40 xinc = this -> screen -> format -> BytesPerPixel ; in NX_NormalUpdate() 202 xinc = this -> screen -> format -> BytesPerPixel ; in NX_RefreshDisplay()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
D | SDL_gsyuv.c | 182 bpp = this->screen->format->BytesPerPixel; in GS_CreateYUVOverlay() 415 this->screen->format->BytesPerPixel; in GS_DisplayYUVOverlay() 430 screen->format->BytesPerPixel; in GS_DisplayYUVOverlay()
|