/external/quake/quake/src/WinQuake/ |
D | gl_draw.cpp | 1523 int scaled_width, scaled_height; in GL_Upload32() local 1526 for (scaled_width = 1 ; scaled_width < width ; scaled_width<<=1) in GL_Upload32() 1531 scaled_width >>= (int)gl_picmip.value; in GL_Upload32() 1534 if (scaled_width > gl_max_size.value) in GL_Upload32() 1535 scaled_width = (int) gl_max_size.value; in GL_Upload32() 1539 if (scaled_width * scaled_height > (int) sizeof(scaled)/4) in GL_Upload32() 1544 texels += scaled_width * scaled_height; in GL_Upload32() 1546 if (scaled_width == width && scaled_height == height) in GL_Upload32() 1551 …glTexImage2DHelper (GL_TEXTURE_2D, 0, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNE… in GL_Upload32() 1558 GL_ResampleTexture (data, width, height, scaled, scaled_width, scaled_height); in GL_Upload32() [all …]
|
D | gl_rmisc.cpp | 251 unsigned scaled_width, scaled_height; in R_TranslatePlayerSkin() local 320 scaled_width = (unsigned int) (gl_max_size.value < 512 ? gl_max_size.value : 512); in R_TranslatePlayerSkin() 324 scaled_width >>= (int)gl_playermip.value; in R_TranslatePlayerSkin() 341 fracstep = inwidth*0x10000/scaled_width; in R_TranslatePlayerSkin() 342 for (i=0 ; i< (int) scaled_height ; i++, out2 += scaled_width) in R_TranslatePlayerSkin() 346 for (j=0 ; j< (int) scaled_width ; j+=4) in R_TranslatePlayerSkin() 359 GL_Upload8_EXT ((byte *)pixels, scaled_width, scaled_height, false, false); in R_TranslatePlayerSkin() 368 fracstep = inwidth*0x10000/scaled_width; in R_TranslatePlayerSkin() 369 for (i=0 ; i< (int) scaled_height ; i++, out += scaled_width) in R_TranslatePlayerSkin() 373 for (j=0 ; j< (int) scaled_width ; j+=4) in R_TranslatePlayerSkin() [all …]
|
/external/quake/quake/src/QW/client/ |
D | gl_draw.c | 1150 int scaled_width, scaled_height; in GL_Upload32() local 1152 for (scaled_width = 1 ; scaled_width < width ; scaled_width<<=1) in GL_Upload32() 1157 scaled_width >>= (int)gl_picmip.value; in GL_Upload32() 1160 if (scaled_width > (int) gl_max_size.value) in GL_Upload32() 1161 scaled_width = gl_max_size.value; in GL_Upload32() 1165 if (scaled_width * scaled_height > (int) sizeof(scaled)/4) in GL_Upload32() 1173 else if (scaled_width == width && scaled_height == height) in GL_Upload32() 1178 scaled_width, scaled_height, GL_UNSIGNED_BYTE, scaled); in GL_Upload32() 1179 …glTexImage2D (GL_TEXTURE_2D, 0, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE… in GL_Upload32() 1182 texels += scaled_width * scaled_height; in GL_Upload32() [all …]
|
D | gl_rmisc.c | 242 unsigned scaled_width, scaled_height; in R_TranslatePlayerSkin() local 332 scaled_width = gl_max_size.value < 512 ? gl_max_size.value : 512; in R_TranslatePlayerSkin() 335 scaled_width >>= (int)gl_playermip.value; in R_TranslatePlayerSkin() 343 fracstep = tinwidth*0x10000/scaled_width; in R_TranslatePlayerSkin() 344 for (i=0 ; i< (int) scaled_height ; i++, out2 += scaled_width) in R_TranslatePlayerSkin() 348 for (j=0 ; j< (int) scaled_width ; j+=4) in R_TranslatePlayerSkin() 361 GL_Upload8_EXT ((byte *)pixels, scaled_width, scaled_height, false, false); in R_TranslatePlayerSkin() 370 fracstep = tinwidth*0x10000/scaled_width; in R_TranslatePlayerSkin() 371 for (i=0 ; i< (int) scaled_height ; i++, out += scaled_width) in R_TranslatePlayerSkin() 375 for (j=0 ; j< (int) scaled_width ; j+=4) in R_TranslatePlayerSkin() [all …]
|
/external/chromium/webkit/glue/ |
D | webmediaplayer_impl.cc | 651 int scaled_width = static_cast<int>(rect.width * fabs(scale_x)); in paint() local 656 if (scaled_width > static_cast<int>(media::Limits::kMaxCanvas)) in paint() 657 scaled_width = media::Limits::kMaxCanvas; in paint() 665 skia_canvas_->getDevice()->width() != scaled_width || in paint() 668 new skia::PlatformCanvas(scaled_width, scaled_height, true)); in paint() 672 gfx::Rect normalized_rect(scaled_width, scaled_height); in paint()
|
/external/webp/src/dec/ |
D | buffer.c | 140 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in WebPAllocateDecBuffer() 143 w = options->scaled_width; in WebPAllocateDecBuffer()
|
D | io.c | 548 const int out_width = io->scaled_width; in InitYUVRescaler() 682 const int out_width = io->scaled_width; in InitRGBRescaler() 760 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in InitFromOptions() 763 io->scaled_width = options->scaled_width; in InitFromOptions() 777 io->bypass_filtering = (io->scaled_width < W * 3 / 4) && in InitFromOptions()
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | status_bubble_mac.mm | 145 NSSize scaled_width = NSMakeSize(text_width, 0); 146 scaled_width = [[parent_ contentView] convertSize:scaled_width fromView:nil]; 147 text_width = static_cast<int>(scaled_width.width); 601 NSSize scaled_width = NSMakeSize(required_width_for_string, 0); 602 scaled_width = [[parent_ contentView] convertSize:scaled_width toView:nil]; 603 required_width_for_string = scaled_width.width;
|
/external/webp/include/webp/ |
D | decode_vp8.h | 97 int scaled_width, scaled_height; member
|
D | decode.h | 351 int scaled_width, scaled_height; // final resolution member
|
/external/skia/src/images/ |
D | SkImageDecoder_libwebp.cpp | 231 config.options.scaled_width = decodedBitmap->width(); in webp_get_config_resize_crop() 259 config.options.scaled_width = decodedBitmap->width(); in webp_get_config_resize()
|