/external/libmojo/ui/gfx/geometry/ |
size_f.h | 26 constexpr SizeF(float width, float height) 27 : width_(clamp(width)), height_(clamp(height)) {} 31 static_cast<float>(size.height())) {} 34 constexpr float height() const { return height_; } function in class:gfx::SizeF 37 void set_height(float height) { height_ = clamp(height); } 41 void SetSize(float width, float height) { 43 set_height(height); 51 bool IsEmpty() const { return !width() || !height(); } 58 SetSize(width() * x_scale, height() * y_scale) [all...] |
/external/libpng/contrib/gregbook/ |
readpng.c | 72 png_uint_32 width, height; variable 139 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 142 *pHeight = height; 268 if (height > ((size_t)(-1))/rowbytes) { 273 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { 277 if ((row_pointers = (png_bytepp)malloc(height*sizeof(png_bytep))) == NULL) { 284 Trace((stderr, "readpng_get_image: channels = %d, rowbytes = %ld, height = %ld\n", 285 *pChannels, rowbytes, height)); 290 for (i = 0; i < height; ++i)
|
readpng2.c | 221 png_uint_32 width, height; local 261 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 264 mainprog_ptr->height = (ulg)height;
|
/external/libvncserver/examples/ |
pnmshow.c | 19 int i,j,k,l,width,height,paddedWidth; local 53 /* get width & height */ 54 sscanf(buffer,"%d %d",&width,&height); 55 rfbLog("Got width %d and height %d.\n",width,height); 67 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,(bitsPerPixelInFile+7)/8,bytesPerPixel); 81 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*bytesPerPixel*height); 82 fread(rfbScreen->frameBuffer,width*bitsPerPixelInFile/8,height,in); 97 for(j=height-1;j>=0;j--) { 110 for(j=height-1;j>=0;j-- [all...] |
/external/libvpx/libvpx/test/ |
add_noise_test.cc | 23 // TODO(jimbankoski): make width and height integers not unsigned. 26 int height, int pitch); 44 const int height = 64; local 45 const int image_size = width * height; 54 GetParam()(s, noise, clamp, clamp, width, height, width)); 73 GetParam()(s, noise, clamp, clamp, width, height, width)); 84 GetParam()(s, noise, clamp, clamp, width, height, width)); 96 const int height = 64; local 97 const int image_size = width * height; 111 GetParam()(s, noise, clamp, clamp, width, height, width)) [all...] |
comp_avg_pred_test.cc | 31 int width, int height, Buffer<uint8_t> *avg) { 32 for (int y = 0; y < height; ++y) { 67 const int height = 1 << height_pow; local 70 Buffer<uint8_t>(width, height, ref_padding ? 8 : 0); 72 Buffer<uint8_t> pred = Buffer<uint8_t>(width, height, 0, 16); 74 Buffer<uint8_t> avg_ref = Buffer<uint8_t>(width, height, 0, 16); 76 Buffer<uint8_t> avg_chk = Buffer<uint8_t>(width, height, 0, 16); 82 reference_pred(pred, ref, width, height, &avg_ref); 85 height, ref.TopLeftPixel(), ref.stride())); 89 printf("Width: %d Height: %d\n", width, height) 100 const int height = 32; local 136 const int height = 1 << height_pow; local [all...] |
/external/libxcam/modules/ocl/ |
cl_image_warp_handler.h | 43 int height; member in struct:XCam::CLWarpConfig 50 , height (-1)
|
cl_retinex_handler.h | 42 float height; member in struct:XCam::__anon26645
|
cl_wire_frame_handler.h | 34 uint32_t height; member in struct:XCam::_CLWireFrame
|
/external/libyuv/files/unit_test/ |
unit_test.cc | 29 DEFINE_int32(libyuv_height, 0, "height of test image."); 72 const char* height = getenv("LIBYUV_HEIGHT"); local 73 if (height) { 74 benchmark_height_ = atoi(height); // NOLINT 131 const char* height = getenv("LIBYUV_HEIGHT"); local 132 if (height) { 133 benchmark_height_ = atoi(height); // NOLINT 190 const char* height = getenv("LIBYUV_HEIGHT"); local 191 if (height) { 192 benchmark_height_ = atoi(height); // NOLIN 249 const char* height = getenv("LIBYUV_HEIGHT"); local 308 const char* height = getenv("LIBYUV_HEIGHT"); local 367 const char* height = getenv("LIBYUV_HEIGHT"); local [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
nv30_resource.h | 14 uint16_t height; member in struct:nv30_surface
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tex_tile_cache.c | 231 unsigned width, height, layer; local 241 height = tc->texture->array_size; 245 height = u_minify(tc->texture->height0, addr.bits.level); 254 0, 0, width, height, &tc->tex_trans);
|
/external/mesa3d/src/gallium/include/state_tracker/ |
vdpau_dmabuf.h | 59 /* Height in pixel */ 60 uint32_t height; member in struct:VdpSurfaceDMABufDesc
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
test_blocks.c | 37 const unsigned int width = 16, height = 16; local 57 height, 78 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success);
|
/external/mesa3d/src/glx/apple/ |
apple_glx_surface.c | 52 unsigned int width = 0, height = 0, bd, depth; local 54 XGetGeometry(dpy, drawable, &root, &x, &y, &width, &height, &bd, &depth); 56 apple_glapi_oglfw_viewport_scissor(0, 0, width, height);
|
/external/mesa3d/src/glx/ |
singlepix.c | 60 GLint width, height; local 64 height = reply.height; 67 heightsize = __glImageSize(height, 1, 1, format, type, 0); 95 __glEmptyImage(gc, 1, height, 1, 1, format, type, colBuf, column); 151 const GLint height = reply.height; local 155 __glImageSize(height, 1, 1, format, type, 0); 185 __glEmptyImage(gc, 1, height, 1, 1, format, type, buf, column);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv20_state_fb.c | 61 height = align(fb->Height, 2), local 62 size = pitch * height; 149 PUSH_DATA (push, (fb->Height - 1) << 16);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_pbo.h | 35 unsigned height; member in struct:st_pbo_addresses
|
/external/pdfium/core/fxcodec/jbig2/ |
JBig2_Define.h | 18 int32_t height; member in struct:JBig2RegionInfo
|
/external/pdfium/fxbarcode/datamatrix/ |
BC_DataMatrixWriter.cpp | 58 int32_t height = symbolInfo->getSymbolHeight(); local 59 ASSERT(height); 61 auto matrix = pdfium::MakeUnique<CBC_CommonByteMatrix>(width, height); 134 int32_t height = symbolInfo->getSymbolDataHeight(); local 135 ASSERT(height); 138 pdfium::MakeUnique<CBC_DefaultPlacement>(codewords, width, height);
|
/external/proguard/src/proguard/gui/splash/ |
ImageSprite.java | 72 int height = (int)(image.getHeight(null) * scale_y); local 74 graphics.drawImage(image, xt, yt, width, height, null);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowRect.java | 47 public int height() { method in class:ShadowRect
|
/external/skia/bench/ |
TileBench.cpp | 16 const int height = bm->height(); local 18 float deltaB = 255.0f / height; 21 for (int y = 0; y < height; y++) {
|
/external/skia/include/core/ |
SkSize.h | 27 /** Returns true if either widht or height are <= 0 */ 30 /** Set the width and height to 0 */ 34 int32_t height() const { return fHeight; } function in struct:SkISize 54 return {SkIntToScalar(src.width()), SkIntToScalar(src.height())}; 69 /** Returns true if either widht or height are <= 0 */ 72 /** Set the width and height to 0 */ 76 SkScalar height() const { return fHeight; } function in struct:SkSize
|
/external/skia/src/core/ |
SkBlitter_A8.cpp | 47 void SkA8_Coverage_Blitter::blitV(int x, int y, int height, SkAlpha alpha) { 54 while (--height >= 0) { 60 void SkA8_Coverage_Blitter::blitRect(int x, int y, int width, int height) { 63 while (--height >= 0) { 75 int height = clip.height(); local 82 while (--height >= 0) {
|