| /external/mesa3d/src/gallium/winsys/sw/wayland/ |
| wayland_sw_winsys.c | 48 unsigned height; member in struct:wayland_sw_displaytarget 156 unsigned width, unsigned height, 175 wldt->height = height; 180 nblocksy = util_format_get_nblocksy(format, height); 222 wldt->height = templet->height0; 225 nblocksy = util_format_get_nblocksy(wldt->format, wldt->height);
|
| /external/mesa3d/src/gbm/main/ |
| gbm.c | 182 /** Get the height of the buffer object 185 * \return The height of the allocated buffer object 190 return bo->height; 240 * according to the width, height, stride and format of the buffer object. 313 * \param height The height for the buffer 326 uint32_t width, uint32_t height, 329 if (width == 0 || height == 0) 333 (width != 64 || height != 64)) 336 return gbm->bo_create(gbm, width, height, format, usage) [all...] |
| /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
| TrackHeaderBox.java | 48 private double height; field in class:TrackHeaderBox 93 return height; 134 height = IsoTypeReader.readFixedPoint1616(content); 162 IsoTypeWriter.writeFixedPont1616(byteBuffer, height); 188 result.append("height=").append(getHeight()); 229 public void setHeight(double height) { 230 this.height = height;
|
| /external/opencv/otherlibs/highgui/ |
| grfmt_png.cpp | 151 png_uint_32 width, height; local 157 png_get_IHDR( png_ptr, info_ptr, &width, &height, 165 m_height = (int)height; 267 int width, int height, int depth, int channels ) 295 png_set_IHDR( png_ptr, info_ptr, width, height, depth, 307 buffer = new uchar*[height]; 308 for( y = 0; y < height; y++ )
|
| /external/opencv3/apps/traincascade/ |
| imagestorage.cpp | 62 round = round % (winSize.width * winSize.height); 66 _offset.y = std::min( (int)round / winSize.width, src.rows - winSize.height ); 76 ((float)winSize.height + point.y) / ((float)src.rows) ); 88 CV_Assert( _img.rows == winSize.height ); 94 Mat mat( winSize.height, winSize.width, CV_8UC1, 103 if( (int)( point.y + (1.0F + stepFactor ) * winSize.height ) < img.rows ) 104 point.y += (int)(stepFactor * winSize.height);
|
| /external/opencv3/samples/cpp/ |
| drawing.cpp | 26 int i, width = 1000, height = 700; local 27 int x1 = -width/2, x2 = width*3/2, y1 = -height/2, y2 = height*3/2; 30 Mat image = Mat::zeros(height, width, CV_8UC3); 72 axes.height = rng.uniform(0, 200); 162 Point org((width - textsize.width)/2, (height - textsize.height)/2);
|
| smiledetect.cpp | 196 faces.push_back(Rect(smallImg.cols - r->x - r->width, r->y, r->width, r->height)); 208 double aspect_ratio = (double)r->width/r->height; 212 center.y = cvRound((r->y + r->height*0.5)*scale); 213 radius = cvRound((r->width + r->height)*0.25*scale); 218 cvPoint(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)), 221 const int half_height=cvRound((float)r->height/2); 223 r->height = half_height;
|
| /external/pdfium/third_party/freetype/src/raster/ |
| ftrend1.c | 108 FT_UInt width, height, pitch; local 151 /* If either `width' or `height' round to 0, try */ 165 height = (FT_UInt)( ( cbox.yMax - cbox.yMin ) >> 6 ); 166 if ( height == 0 ) 171 height = (FT_UInt)( ( cbox.yMax - cbox.yMin ) >> 6 ); 174 if ( width > FT_USHORT_MAX || height > FT_USHORT_MAX ) 194 bitmap->rows = height; 197 if ( FT_ALLOC_MULT( bitmap->buffer, pitch, height ) )
|
| /external/pdfium/third_party/freetype/src/sfnt/ |
| ttsbit.c | 259 metrics->height = metrics->ascender - metrics->descender; 314 metrics->height = ppem_ * ( hori->Ascender - 425 FT_UInt width, height; local 437 height = decoder->metrics->height; 440 map->rows = height; 509 metrics->height = p[0]; 568 FT_Int pitch, width, height, line_bits, h; local 581 height = decoder->metrics->height; 707 FT_Int pitch, width, height, line_bits, h, nbits; local 1014 FT_UInt height = decoder->metrics->height; local [all...] |
| /external/replicaisland/src/com/replica/replicaisland/ |
| CameraSystem.java | 174 final float height = sSystemRegistry.contextParameters.gameHeight / 2.0f; local 176 if (Math.abs(mFocalPosition.y - point.y) < (height + radius)) { 214 final float height = sSystemRegistry.contextParameters.gameHeight; local 218 final float topEdge = focalPositionY + (height / 2.0f); 219 final float bottomEdge = focalPositionY - (height / 2.0f); 222 focalPositionY = worldPixelHeight - (height / 2.0f); 224 focalPositionY = height / 2.0f;
|
| TiledVertexGrid.java | 40 public TiledVertexGrid(Texture texture, int width, int height, int tileWidth, int tileHeight) { 45 mHeight = height; 59 private Grid generateGrid(int width, int height, int startTileX, int startTileY) { 63 final int tilesDown = height / tileHeight; 66 final float texelHeight = 1.0f / texture.height; 68 final int textureTilesDown = texture.height / tileHeight; 101 textureOffsetY > texture.height - tileHeight) {
|
| /external/skia/gm/ |
| SkLinearBitmapPipelineGM.cpp | 20 bm.allocN32Pixels(ir.width(), ir.height()); 32 for (int y = 0; y < ir.height(); y++) { 53 bmdst.allocN32Pixels(ir.width(), ir.height()); 58 SkImageInfo info = SkImageInfo::MakeN32Premul(ir.width(), ir.height(), kLinear_SkColorProfileType); 77 for (int y = 0; y < ir.height(); y++) { 96 bmdst.allocN32Pixels(ir.width(), ir.height()); 124 for (int y = 0; y < ir.height(); y++) {
|
| /external/skia/samplecode/ |
| SampleDither.cpp | 24 static void draw_sweep(SkCanvas* c, int width, int height, SkScalar angle) { 33 r.set(0, 0, SkIntToScalar(width), SkIntToScalar(height)); 77 draw_sweep(&c, bm->width(), bm->height(), 0); 83 for (int y = 0; y < bm.height(); y++) { 161 draw_sweep(canvas, fBM.width(), fBM.height(), fAngle); 163 draw_sweep(canvas, fBM.width()>>1, fBM.height()>>1, fAngle); 165 draw_sweep(canvas, fBM.width()>>2, fBM.height()>>2, fAngle);
|
| /external/skia/src/codec/ |
| SkWbmpCodec.cpp | 81 uint64_t width, height; local 85 if (!read_mbf(stream, &height) || height > 0xFFFF || !height) { 89 *size = SkISize::Make(SkToS32(width), SkToS32(height)); 146 for (int y = 0; y < size.height(); ++y) { 169 SkImageInfo info = SkImageInfo::Make(size.width(), size.height(),
|
| SkWebpCodec.cpp | 54 const int64_t size = sk_64_mul(features.width, features.height); 69 *info = SkImageInfo::Make(features.width, features.height, kN32_SkColorType, 120 && dim.height() >= 1 && dim.height() <= info.height(); 210 config.options.crop_height = bounds.height(); 218 config.options.scaled_height = dstDimensions.height();
|
| /external/skia/src/core/ |
| SkBitmapScaler.cpp | 94 destSubset.width() == destSubset.height()&& 98 this->computeFilters(srcFullHeight, destSubset.fTop, destSubset.height(), 211 source.width() >= 1 && source.height() >= 1 && dstW >= 1 && dstH >= 1; 215 if (!valid_for_resize(source, result.width(), result.height())) { 225 SkRect destSubset = SkRect::MakeIWH(result.width(), result.height()); 227 SkResizeFilter filter(method, source.width(), source.height(), 228 result.width(), result.height(), destSubset, convolveProcs);
|
| /external/skia/src/effects/ |
| SkTileImageFilter.cpp | 25 if (srcRect.width() == dstRect.width() && srcRect.height() == dstRect.height()) { 55 int h = dstIRect.height(); 56 if (!fSrcRect.width() || !fSrcRect.height() || !w || !h) { 79 srcIRect.height(), 90 SkASSERT(subset.height() == srcIRect.height());
|
| /external/skia/src/views/ |
| SkWindow.cpp | 62 this->setSize(SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())); 65 void SkWindow::resize(int width, int height) { 66 this->resize(fBitmap.info().makeWH(width, height)); 71 this->resize(SkImageInfo::Make(info.width(), info.height(), ct, kPremul_SkAlphaType, pt)); 88 SkScalarRoundToInt(this->height())); 99 SkScalarCeilToInt(this->height())); 328 desc.fHeight = SkScalarRoundToInt(this->height());
|
| /external/webrtc/webrtc/modules/video_capture/ |
| video_capture_impl.cc | 162 _requestedCapability.height = kDefaultHeight; 243 const int32_t height = frameInfo.height; local 255 abs(height)) != videoFrameLength) 264 int target_height = height; 273 target_width = abs(height); 280 // Setting absolute height (in case it was negative). 282 // Setting a negative source height, inverts the image (within LibYuv). 295 width, height, videoFrameLength,
|
| /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
| AccessibilityNodeInfoDumper.java | 50 * @param height The pixel height of current display 53 int width, int height) { 63 rotation, width, height); 73 * @param height The pixel height of current display 76 int width, int height) { 89 dumpNodeRec(root, serializer, 0, width, height); 102 int width, int height) throws IOException { 123 node, width, height).toShortString()) [all...] |
| /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
| BitmapUtils.java | 42 * minSideLength is used to specify that minimal width or height of a 58 public static int computeSampleSize(int width, int height, 61 width, height, minSideLength, maxNumOfPixels); 118 int height = Math.round(bitmap.getHeight() * scale); local 120 && height == bitmap.getHeight()) return bitmap; 121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap)); 159 int height = Math.round(scale * bitmap.getHeight()); local 161 canvas.translate((size - width) / 2f, (size - height) / 2f);
|
| /frameworks/native/opengl/libagl/ |
| TextureObjectManager.cpp | 78 int h = surface.height; 151 sur.height= native_buffer->height; 181 surface.height = h; 213 mipmap.height = h; 229 uint32_t h = (prev->height >> 1) ? : 1; 230 if (w != curr->width || h != curr->height) {
|
| /frameworks/native/opengl/tools/glgen/specs/gles11/ |
| GLES30.spec | 4 void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) 5 void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset ) 6 void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels ) 7 void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei offset ) 8 void glCopyTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) 9 void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ) 10 void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset ) 11 void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data ) 12 void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei offset ) 30 void glRenderbufferStorageMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height ) [all...] |
| /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
| ExploreByTouchHelperActivity.java | 136 * @param top Top coordinate as a fraction of the parent height, range 140 * @param bottom Bottom coordinate as a fraction of the parent height, 159 final int height = getHeight(); local 165 scaleRectF(item.bounds, bounds, width, height); 219 protected static void scaleRectF(RectF in, Rect out, int width, int height) { 220 out.top = (int) (in.top * height); 221 out.bottom = (int) (in.bottom * height); 290 final int height = getHeight(); local 292 scaleRectF(item.bounds, bounds, width, height);
|
| /hardware/ti/omap4-aah/ion/ |
| ion_test.c | 24 size_t width = 1024*1024, height = 1024*1024; variable 38 ret = ion_alloc_tiler(*fd, width, height, fmt, alloc_flags, 69 for (row = 0; row < height; row++) 74 for (row = 0; row < height; row++) 95 len = height * stride; 247 {"height", required_argument, 0, 'h'}, 299 height = atol(optarg); 306 printf("test %d, len %u, width %u, height %u fmt %u align %u, " 308 height, fmt, align, map_flags, prot, alloc_flags);
|