| /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
| BaseRenderScriptComparer.java | 17 int height); 24 Allocation given, int offset, int stride, int width, int height, 28 Allocation given, int offset, int stride, int width, int height, 31 mHeight = height; 35 return verifySameRowsRS(resources, ideal, given, offset, stride, width, height,
|
| /external/autotest/client/deps/glbench/src/ |
| png_helper.cc | 27 void write_png_file(const char* file_name, char* pixels, int width, int height) 36 row_pointers = (png_bytep*) malloc(sizeof(png_bytep) * height); 38 for (y=height-1; y>=0; y--) { 68 png_set_IHDR(png_ptr, info_ptr, width, height, 84 for (y=0; y<height; y++)
|
| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
| FrameBufferCubemap.java | 72 * @param height 74 public FrameBufferCubemap (Pixmap.Format format, int width, int height, boolean hasDepth) { 75 this(format, width, height, hasDepth, false); 83 * @param height the height of the cubemap in pixels 87 public FrameBufferCubemap (Pixmap.Format format, int width, int height, boolean hasDepth, boolean hasStencil) { 88 super(format, width, height, hasDepth, hasStencil); 95 GLOnlyTextureData data = new GLOnlyTextureData(width, height, 0, glFormat, glFormat, glType);
|
| /external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
| TJ.java | 102 * Returns the MCU block height for the given level of chrominance 108 * @return the MCU block height for the given level of chrominance 398 * image with the given width, height, and level of chrominance subsampling. 402 * @param height the height (in pixels) of the JPEG image 408 * image with the given width, height, and level of chrominance subsampling. 410 public static native int bufSize(int width, int height, int jpegSubsamp) 415 * image with the given width, height, and level of chrominance subsampling. 422 * @param height the height (in pixels) of the YUV imag [all...] |
| /external/libvpx/libvpx/third_party/libyuv/source/ |
| compare.cc | 113 uint32 ARGBDetect(const uint8* argb, int stride_argb, int width, int height) { 119 width *= height; 120 height = 1; 123 for (h = 0; h < height && fourcc == 0; ++h) { 200 int width, int height) { 206 width *= height; 207 height = 1; 210 for (h = 0; h < height; ++h) { 237 int width, int height) { 238 const uint64 samples = width * height; [all...] |
| /external/libyuv/files/source/ |
| compare.cc | 97 uint32 ARGBDetect(const uint8* argb, int stride_argb, int width, int height) { 103 width *= height; 104 height = 1; 107 for (h = 0; h < height && fourcc == 0; ++h) { 167 int width, int height) { 173 width *= height; 174 height = 1; 177 for (h = 0; h < height; ++h) { 204 int width, int height) { 205 const uint64 samples = width * height; [all...] |
| /external/mesa3d/src/gallium/state_trackers/va/ |
| va_image.c | 74 vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image) 82 if (!(width && height)) 90 VA_INFO("Creating BGRA image of size %dx%d\n",width,height); 93 VA_INFO("Creating RGBA image of size %dx%d\n",width,height); 134 unsigned int width, unsigned int height, VAImageID image)
|
| /external/replicaisland/src/com/replica/replicaisland/ |
| TiledWorld.java | 70 // Third byte: height of the world in tiles. 83 final int height = Utils.byteArrayToInt(mWorkspaceBytes); local 85 final int totalTiles = width * height; 89 mTilesArray = new int[width][height]; 90 mRowCount = height; 92 for (int y = 0; y < height; y++) {
|
| /external/skia/gm/ |
| extractbitmap.cpp | 47 int y = bitmap.height() / 2; 63 // Draw a subset which has the same height and pixelref offset but a 65 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, bitmap.height())); 67 canvas->translate(0, SkIntToScalar(bitmap.height() + 20)); 70 // a different height 71 bitmap.extractSubset(&subset, SkIRect::MakeWH(bitmap.height(), y)); 72 canvas->translate(0, SkIntToScalar(bitmap.height() + 20));
|
| /external/skia/src/core/ |
| SkSpriteBlitterTemplate.h | 14 virtual void blitRect(int x, int y, int width, int height) { 15 SkASSERT(width > 0 && height > 0); 23 SkDEBUGCODE((void)fDst.SkSPRITE_DST_GETADDR(x + width - 1, y + height - 1);) 24 SkDEBUGCODE((void)fSource.SkSPRITE_SRC_GETADDR(srcX + width - 1, srcY + height - 1);) 51 } while (--height != 0);
|
| /external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
| simulcast_encoder_adapter.h | 70 height(0), 76 uint16_t height, 81 height(height), 88 uint16_t height; member in struct:webrtc::SimulcastEncoderAdapter::StreamInfo
|
| /external/webrtc/webrtc/test/ |
| vcm_capturer.cc | 23 bool VcmCapturer::Init(size_t width, size_t height, size_t target_fps) { 43 capability_.height = static_cast<int32_t>(height); 59 size_t height, 62 if (!vcm_capturer->Init(width, height, target_fps)) {
|
| /frameworks/av/media/libstagefright/include/ |
| SoftVideoEncoderOMXComponent.h | 38 int32_t height, 55 struct android_ycbcr *ycbcr, int32_t width, int32_t height); 58 const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height); 62 const uint8_t *src, size_t width, size_t height, size_t srcStride, 67 size_t width, size_t height) const; 78 int32_t mHeight; // height of the input frames
|
| /frameworks/base/libs/hwui/tests/common/scenes/ |
| OpPropAnimation.cpp | 44 void createContent(int width, int height, TestCanvas& canvas) override { 45 content = TestUtils::createNode(0, 0, width, height, 46 [this, width, height](RenderProperties& props, TestCanvas& canvas) { 51 mRoundRectBottom->value = height / 2; 54 mCircleY->value = height * 0.75;
|
| /frameworks/base/media/java/android/media/ |
| FaceDetector.java | 108 * @param height the height of the image 112 public FaceDetector(int width, int height, int maxFaces) 117 fft_initialize(width, height, maxFaces); 119 mHeight = height; 121 mBWBuffer = new byte[width * height]; 189 native private int fft_initialize(int width, int height, int maxFaces);
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/ |
| ResizingSpace.java | 53 int height = getContext().getResources().getDimensionPixelOffset(mHeight); local 54 if (height != params.height) { 55 params.height = height;
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
| FixedSizeFrameLayout.java | 81 protected void measureContents(int width, int height) { 83 MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST)); 93 int height = getMeasuredHeight(); local 94 onSizeChanged(width, height, width, height);
|
| /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
| DrawableTileSource.java | 73 float height = getImageHeight(); local 74 while (width > MAX_PREVIEW_SIZE || height > MAX_PREVIEW_SIZE) { 76 height /= 2; 78 Bitmap b = Bitmap.createBitmap((int) width, (int) height, Bitmap.Config.ARGB_8888); 80 mDrawable.setBounds(new Rect(0, 0, (int) width, (int) height));
|
| /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
| CaptureRenderer.java | 40 d.height += node.marginTop + node.marginBottom; 55 int height = icon.getIconHeight(); local 58 int y = (getHeight() - height) / 2; 70 height - node.paddingBottom - node.paddingTop); 81 node.marginTop + height + node.marginBottom);
|
| /frameworks/base/graphics/java/android/graphics/ |
| Bitmap.java | 111 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, 119 mHeight = height; 149 * width/height values 152 void reinit(int width, int height, boolean requestPremultiplied) { 154 mHeight = height; 203 * <p>Modifies the bitmap to have a specified width, height, and {@link 251 public void reconfigure(int width, int height, Config config) { 253 if (width <= 0 || height <= 0) { 254 throw new IllegalArgumentException("width and height must be > 0"); 263 nativeReconfigure(mNativePtr, width, height, config.nativeInt 298 reconfigure(getWidth(), height, getConfig()); local 659 final int height = src.getHeight(); local [all...] |
| /external/libvpx/libvpx/vpx_dsp/mips/ |
| vpx_convolve_copy_msa.c | 15 uint8_t *dst, int32_t dst_stride, int32_t height) { 20 if (0 == height % 12) { 21 for (cnt = (height / 12); cnt--;) { 49 } else if (0 == height % 8) { 50 for (cnt = height >> 3; cnt--;) { 68 } else if (0 == height % 4) { 69 for (cnt = (height / 4); cnt--;) { 80 } else if (0 == height % 2) { 81 for (cnt = (height / 2); cnt--;) { 97 int32_t height, int32_t width) [all...] |
| /hardware/intel/img/hwcomposer/merrifield/ips/common/ |
| RotationBufferProvider.cpp | 139 buffer_handle_t RotationBufferProvider::createWsbmBuffer(int width, int height, void **buf) 141 int size = width * height * 3 / 2; // YUV420 NV12 format 161 int width = 0, height = 0, bufferHeight = 0; local 166 height = payload->height; 168 width = payload->height; 169 height = payload->width; 172 mRotatedHeight = height; 173 bufferHeight = (height + 0x1f) & ~0x1f; 177 height = payload->height [all...] |
| /hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
| RotationBufferProvider.cpp | 139 uint32_t RotationBufferProvider::createWsbmBuffer(int width, int height, void **buf) 141 int size = width * height * 3 / 2; // YUV420 NV12 format 161 int width = 0, height = 0, bufferHeight = 0; local 166 height = payload->height; 168 width = payload->height; 169 height = payload->width; 172 mRotatedHeight = height; 173 bufferHeight = (height + 0x1f) & ~0x1f; 177 height = payload->height [all...] |
| /external/mesa3d/src/gallium/auxiliary/util/ |
| u_format_yuv.c | 43 unsigned width, unsigned height) 47 for (y = 0; y < height; y += 1) { 105 unsigned width, unsigned height) 109 for (y = 0; y < height; y += 1) { 167 unsigned width, unsigned height) 171 for (y = 0; y < height; y += 1) { 224 unsigned width, unsigned height) 228 for (y = 0; y < height; y += 1) { 295 unsigned width, unsigned height) 299 for (y = 0; y < height; y += 1) [all...] |
| /external/opencv3/modules/cudalegacy/src/ |
| bm.cpp | 66 (prev.rows - blockSize.height + shiftSize.height) / shiftSize.height); 72 std::vector<short2> ss((2 * maxRange.width + 1) * (2 * maxRange.height + 1)); 76 const int minCount = std::min(maxRange.width, maxRange.height); 122 if (maxRange.width < maxRange.height) 127 for (int i = minCount; i < maxRange.height; ++i) 151 else if (maxRange.width > maxRange.height) 163 for (int j = -maxRange.height; j <= maxRange.height; ++j, ++ssCount, ++y [all...] |