Home
last modified time | relevance | path

Searched refs:scaled_height (Results 1 – 13 of 13) sorted by relevance

/external/quake/quake/src/WinQuake/
Dgl_draw.cpp1525 int scaled_width, scaled_height; in GL_Upload32() local
1530 for (scaled_height = 1 ; scaled_height < height ; scaled_height<<=1) in GL_Upload32()
1534 scaled_height >>= (int)gl_picmip.value; in GL_Upload32()
1538 if (scaled_height > gl_max_size.value) in GL_Upload32()
1539 scaled_height = (int) gl_max_size.value; in GL_Upload32()
1541 if (scaled_width * scaled_height > (int) sizeof(scaled)/4) in GL_Upload32()
1546 texels += scaled_width * scaled_height; in GL_Upload32()
1548 if (scaled_width == width && scaled_height == height) in GL_Upload32()
1553 …glTexImage2DHelper (GL_TEXTURE_2D, 0, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNE… in GL_Upload32()
1560 GL_ResampleTexture (data, width, height, scaled, scaled_width, scaled_height); in GL_Upload32()
[all …]
Dgl_rmisc.cpp251 unsigned scaled_width, scaled_height; in R_TranslatePlayerSkin() local
321 scaled_height = (unsigned int) (gl_max_size.value < 256 ? gl_max_size.value : 256); in R_TranslatePlayerSkin()
325 scaled_height >>= (int)gl_playermip.value; in R_TranslatePlayerSkin()
342 for (i=0 ; i< (int) scaled_height ; i++, out2 += scaled_width) in R_TranslatePlayerSkin()
344 inrow = original + inwidth*(i*inheight/scaled_height); in R_TranslatePlayerSkin()
359 GL_Upload8_EXT ((byte *)pixels, scaled_width, scaled_height, false, false); in R_TranslatePlayerSkin()
369 for (i=0 ; i< (int) scaled_height ; i++, out += scaled_width) in R_TranslatePlayerSkin()
371 inrow = original + inwidth*(i*inheight/scaled_height); in R_TranslatePlayerSkin()
385 …glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_solid_format, scaled_width, scaled_height, 0, GL_RGBA, GL… in R_TranslatePlayerSkin()
/external/quake/quake/src/QW/client/
Dgl_draw.c1150 int scaled_width, scaled_height; in GL_Upload32() local
1154 for (scaled_height = 1 ; scaled_height < height ; scaled_height<<=1) in GL_Upload32()
1158 scaled_height >>= (int)gl_picmip.value; in GL_Upload32()
1162 if (scaled_height > (int) gl_max_size.value) in GL_Upload32()
1163 scaled_height = 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 …]
Dgl_rmisc.c242 unsigned scaled_width, scaled_height; in R_TranslatePlayerSkin() local
333 scaled_height = gl_max_size.value < 256 ? gl_max_size.value : 256; in R_TranslatePlayerSkin()
336 scaled_height >>= (int)gl_playermip.value; in R_TranslatePlayerSkin()
344 for (i=0 ; i< (int) scaled_height ; i++, out2 += scaled_width) in R_TranslatePlayerSkin()
346 inrow = original + inwidth*(i*tinheight/scaled_height); in R_TranslatePlayerSkin()
361 GL_Upload8_EXT ((byte *)pixels, scaled_width, scaled_height, false, false); in R_TranslatePlayerSkin()
371 for (i=0 ; i< (int) scaled_height ; i++, out += scaled_width) in R_TranslatePlayerSkin()
373 inrow = original + inwidth*(i*tinheight/scaled_height); in R_TranslatePlayerSkin()
389 scaled_width, scaled_height, 0, GL_RGBA, in R_TranslatePlayerSkin()
/external/chromium/webkit/glue/
Dwebmediaplayer_impl.cc652 int scaled_height = static_cast<int>(rect.height * fabs(scale_y)); in paint() local
658 if (scaled_height > static_cast<int>(media::Limits::kMaxCanvas)) in paint()
659 scaled_height = media::Limits::kMaxCanvas; in paint()
666 skia_canvas_->getDevice()->height() != scaled_height) { 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/
Dbuffer.c155 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in WebPAllocateDecBuffer()
159 h = options->scaled_height; in WebPAllocateDecBuffer()
Ddecode_vp8.h100 int scaled_width, scaled_height; member
Dwebp.c743 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in WebPIoInitFromOptions()
747 io->scaled_height = options->scaled_height; in WebPIoInitFromOptions()
761 (io->scaled_height < H * 3 / 4); in WebPIoInitFromOptions()
Dio.c314 const int out_height = io->scaled_height; in InitYUVRescaler()
486 const int out_height = io->scaled_height; in InitRGBRescaler()
Dvp8l.c380 const int out_height = io->scaled_height; in AllocateAndInitRescaler()
/external/webp/include/webp/
Ddecode.h406 int scaled_width, scaled_height; // final resolution member
/external/skia/src/images/
DSkImageDecoder_libwebp.cpp237 config.options.scaled_height = decodedBitmap->height(); in webp_get_config_resize()
/external/webp/
DREADME482 config.options.scaled_height = scaledHeight();