| /external/opencv3/modules/cudalegacy/test/ |
| TestResize.cpp | 53 height(height_), 85 Ncv32s smallHeight = this->height / this->scaleFactor; 91 NcvSize32u srcSize(this->width, this->height); 93 NCVMatrixAlloc<T> d_img(*this->allocatorGPU.get(), this->width, this->height); 95 NCVMatrixAlloc<T> h_img(*this->allocatorCPU.get(), this->width, this->height); 161 for (Ncv32u i=0; bLoopVirgin && i < h_small.height(); i++)
|
| /external/opencv3/modules/cudev/test/ |
| test_integral.cu | 64 dst_gold = dst_gold(Rect(1, 1, size.width, size.height)); 82 dst_gold = dst_gold(Rect(1, 1, size.width, size.height)); 100 dst_gold = dst_gold(Rect(1, 1, size.width, size.height));
|
| /external/opencv3/modules/highgui/src/files_Qt/ |
| stylesheet_trackbar.qss | 6 height: 10px; 16 height: 10px; 23 height: 10px;
|
| /external/opencv3/modules/imgcodecs/src/ |
| grfmt_webp.cpp | 142 m_height = features.height; 210 int width = img.cols, height = img.rows; local 258 size = WebPEncodeLosslessBGR(image->ptr(), width, height, (int)image->step, &out); 262 size = WebPEncodeLosslessBGRA(image->ptr(), width, height, (int)image->step, &out); 269 size = WebPEncodeBGR(image->ptr(), width, height, (int)image->step, quality, &out); 273 size = WebPEncodeBGRA(image->ptr(), width, height, (int)image->step, quality, &out);
|
| /external/opencv3/modules/videoio/src/ |
| cap_vfw.cpp | 58 static BITMAPINFOHEADER icvBitmapHeader( int width, int height, int bpp, int compression = BI_RGB ) 64 bmih.biHeight = height; 175 size.height = aviinfo.rcFrame.bottom - aviinfo.rcFrame.top; 176 BITMAPINFOHEADER bmihdr = icvBitmapHeader( size.width, size.height, 24 ); 187 bmihdr = icvBitmapHeader( size.width, size.height, 8); 228 if( !frame || frame->width != src.width || frame->height != src.height ) 255 return size.height; 335 int width, height; member in class:CvCaptureCAM_VFW 350 width = height = -1 [all...] |
| /external/replicaisland/src/com/replica/replicaisland/ |
| LevelBuilder.java | 94 int height = idealSize; local 97 new ScrollerComponent(0.0f, 0.0f, width, height, 105 final float scrollSpeedY = Math.min((float)(height - params.gameHeight) / (levelHeight - params.gameHeight), 1.0f); 120 int width, int height, int tileWidth, int tileHeight, TiledWorld world, 157 width, height, tileWidth, tileHeight); 173 width, height, bg);
|
| /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
| ShadowBitmapFactory.java | 92 public static void provideWidthAndHeightHints(Uri uri, int width, int height) { 93 widthAndHeightMap.put(uri.toString(), new Point(width, height)); 96 public static void provideWidthAndHeightHints(int resourceId, int width, int height) { 97 widthAndHeightMap.put("resource:" + getResourceName(resourceId), new Point(width, height)); 100 public static void provideWidthAndHeightHints(String file, int width, int height) { 101 widthAndHeightMap.put("file:" + file, new Point(width, height));
|
| /external/skia/gm/ |
| etc1bitmap.cpp | 27 bool slice_etc1_data(void *data, int* width, int* height) { 67 *height = newHeight; 194 int width, height; variable 195 if (!slice_etc1_data(am.get(), &width, &height)) { 201 SkASSERT(124 == height); 203 size_t dataSz = etc1_get_encoded_data_size(width, height) + ETC_PKM_HEADER_SIZE;
|
| textblobmixedsizes.cpp | 50 SkScalar yOffset = bounds.height(); 57 yOffset += bounds.height(); 64 yOffset += bounds.height(); 71 yOffset += bounds.height(); 114 static const int kPadY = SkScalarFloorToInt(bounds.height() / 3); 154 canvas->translate(0, bounds.height() + SK_Scalar1 * kPadY);
|
| tileimagefilter.cpp | 17 #define HEIGHT 100 34 return SkISize::Make(WIDTH, HEIGHT); 61 SkIntToScalar(image->height()/4), 63 SkIntToScalar(image->height()/(i+1))); 67 SkIntToScalar(image->height()) - i * 12); 82 y += image->height() + MARGIN; 92 SkIntToScalar(fBitmap->height())); 94 SkIntToScalar(fBitmap->height() * 2));
|
| /external/skia/src/core/ |
| SkSpriteBlitter4f.cpp | 44 void blitRect(int x, int y, int width, int height) override { 45 SkASSERT(width > 0 && height > 0); 49 for (int bottom = y + height; y < bottom; ++y) { 93 void blitRect(int x, int y, int width, int height) override { 94 SkASSERT(width > 0 && height > 0); 98 for (int bottom = y + height; y < bottom; ++y) {
|
| /external/skia/src/effects/ |
| SkImageSource.cpp | 31 , fSrcRect(SkRect::MakeIWH(image->width(), image->height())) 71 SkRect bounds = SkRect::MakeIWH(fImage->width(), fImage->height()); 79 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(dstIRect.width(), dstIRect.height())); 93 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? 115 fImage->width(), fImage->height());
|
| /external/skia/src/gpu/ |
| GrContext.cpp | 216 bool sw_convert_to_premul(GrPixelConfig srcConfig, int width, int height, size_t inRowBytes, 232 return srcPI.convertPixelsTo(&dstPI, width, height); 236 int left, int top, int width, int height, 249 if (!GrSurfacePriv::AdjustWritePixelParams(surface->width(), surface->height(), 251 &height, &buffer, &rowBytes)) { 271 if (!fGpu->getWritePixelsInfo(surface, width, height, srcConfig, &drawPreference, 294 textureMatrix.setIDiv(tempTexture->width(), tempTexture->height()); 322 tmpPixels.reset(width * height); 323 if (!sw_convert_to_premul(srcConfig, width, height, rowBytes, buffer, tmpRowBytes, 331 if (!fGpu->writePixels(tempTexture, 0, 0, width, height, [all...] |
| /external/skia/tools/skiaserve/ |
| Request.cpp | 20 static void write_png(const png_bytep rgba, png_uint_32 width, png_uint_32 height, SkWStream& out) { 28 png_set_IHDR(png, info_ptr, width, height, 8, PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE, 31 png_bytepp rows = (png_bytepp) sk_malloc_throw(height * sizeof(png_byte*)); 32 png_bytep pixels = (png_bytep) sk_malloc_throw(width * height * 3); 33 for (png_size_t y = 0; y < height; ++y) { 70 write_png((const png_bytep) bmp->getPixels(), bmp->width(), bmp->height(), buffer);
|
| /external/webp/src/utils/ |
| rescaler.c | 80 int height = *scaled_height; local 82 // if width is unspecified, scale original proportionally to height ratio. 84 width = (src_width * height + src_height / 2) / src_height; 86 // if height is unspecified, scale original proportionally to width ratio. 87 if (height == 0) { 88 height = (src_height * width + src_width / 2) / src_width; 91 if (width <= 0 || height <= 0) { 96 *scaled_height = height;
|
| /external/webrtc/webrtc/modules/video_coding/test/ |
| test_util.cc | 27 height(288), 55 int height, 61 ss << basename << "_" << count << "." << width << "_" << height << "." 112 video_frame.height() != height_) { 116 printf("New size: %dx%d\n", video_frame.width(), video_frame.height()); 118 height_ = video_frame.height();
|
| /frameworks/av/media/libstagefright/rtsp/ |
| APacketSource.cpp | 108 const char *params, int32_t *width, int32_t *height) { 110 *height = 0; 200 FindAVCDimensions(nal, width, height); 201 ALOGI("dimensions %dx%d", *width, *height); 336 const sp<ABuffer> &config, int32_t *width, int32_t *height) { 338 *height = 0; 359 &ptr[offset], config->size() - offset, width, height); 363 const char *params, int32_t *width, int32_t *height) { 365 *height = 0; 373 if (!ExtractDimensionsMPEG4Config(config, width, height)) { 428 int32_t width, height; local 460 int32_t width, height; local 513 int32_t width, height; local [all...] |
| /frameworks/av/services/camera/libcameraservice/device3/ |
| Camera3OutputStream.h | 43 uint32_t height; member in struct:android::camera3::StreamInfo 61 height(h), 82 uint32_t width, uint32_t height, int format, 93 uint32_t width, uint32_t height, size_t maxSize, int format, 102 Camera3OutputStream(int id, uint32_t width, uint32_t height, int format, 170 uint32_t width, uint32_t height, int format,
|
| /frameworks/base/libs/hwui/ |
| Snapshot.h | 187 void initializeViewport(int width, int height) { 188 mViewportData.initialize(width, height); 189 mClipAreaRoot.setViewportDimensions(width, height); 316 void initialize(int width, int height) { 318 mHeight = height; 319 mOrthoMatrix.loadOrtho(0, width, height, 0, -1, 1); 323 * Width and height of current viewport. 325 * The viewport is always defined to be (0, 0, width, height).
|
| TessellationCache.h | 71 float height; member in struct:android::uirenderer::TessellationCache::Description::Shape::RoundRect 158 float width, float height, float rx, float ry) { 159 getRoundRectBuffer(transform, paint, width, height, rx, ry); 162 float width, float height, float rx, float ry); 188 float width, float height); 190 float width, float height, float rx, float ry);
|
| /frameworks/base/telecomm/java/android/telecom/ |
| VideoProfile.java | 342 * The height of the camera video in pixels. 360 * @param height The height of the camera video (in pixels). 362 public CameraCapabilities(int width, int height) { 363 this(width, height, false, 1.0f); 371 * @param height The height of the camera video (in pixels). 376 public CameraCapabilities(int width, int height, boolean zoomSupported, float maxZoom) { 378 mHeight = height; 397 int height = source.readInt() [all...] |
| /frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
| CompareActivity.java | 66 int height = getResources().getDimensionPixelSize(R.dimen.layer_height); local 67 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 68 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 81 int height = mSoftwareBitmap.getHeight(); local 83 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 84 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
| /frameworks/support/compat/java/android/support/v4/widget/ |
| EdgeEffectCompat.java | 48 public void setSize(Object edgeEffect, int width, int height); 68 public void setSize(Object edgeEffect, int width, int height) { 113 public void setSize(Object edgeEffect, int width, int height) { 114 EdgeEffectCompatIcs.setSize(edgeEffect, width, height); 176 * @param height Effect height in pixels 178 public void setSize(int width, int height) { 179 IMPL.setSize(mEdgeEffect, width, height); 267 * 1.f of height.
|
| /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
| LocalPlayer.java | 364 int height = mMediaPlayer.getVideoHeight(); local 365 if (width > 0 && height > 0) { 367 mVideoHeight = height; 464 int width, int height) { 466 Log.d(TAG, "surfaceChanged: " + width + "x" + height); 491 int height = getVideoHeight(); local 492 if (width > 0 && height > 0) { 500 if (surfaceWidth * height < surfaceHeight * width) { 502 // while height is derived from video's aspect ratio 504 lp.height = surfaceWidth * height / width 619 int height = getVideoHeight(); local [all...] |
| /packages/apps/LegacyCamera/src/com/android/camera/ui/ |
| RotateImageView.java | 121 int height = getHeight() - top - bottom; local 127 ((width < w) || (height < h))) { 128 float ratio = Math.min((float) width / w, (float) height / h); 129 canvas.scale(ratio, ratio, width / 2.0f, height / 2.0f); 131 canvas.translate(left + width / 2, top + height / 2); 156 final int miniThumbHeight = param.height
|