/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
convert_from.h | 33 int width, int height); 42 int width, int height); 51 int width, int height); 57 int width, int height); 67 int width, int height); 75 int width, int height); 82 int width, int height); 89 int width, int height); 96 int width, int height); 103 int width, int height) [all...] |
/external/libyuv/files/include/libyuv/ |
convert_from.h | 33 int width, int height); 42 int width, int height); 51 int width, int height); 57 int width, int height); 65 int width, int height); 73 int width, int height); 80 int width, int height); 87 int width, int height); 94 int width, int height); 101 int width, int height) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_yuv.c | 43 unsigned width, unsigned height) 53 for (x = 0; x + 1 < width; x += 2) { 78 if (x < width) { 105 unsigned width, unsigned height) 115 for (x = 0; x + 1 < width; x += 2) { 140 if (x < width) { 167 unsigned width, unsigned height) 177 for (x = 0; x + 1 < width; x += 2) { 197 if (x < width) { 224 unsigned width, unsigned height [all...] |
u_surface.h | 48 uint width, uint height, uint bind, 73 unsigned width, unsigned height); 82 unsigned width, unsigned height);
|
/external/opencv/cv/src/ |
cvcornersubpix.cpp | 63 int win_w = win.width * 2 + 1, win_h = win.height * 2 + 1; 86 if( win.width <= 0 || win.height <= 0 ) 91 if( size.width < win_w + 4 || size.height < win_h + 4 ) 132 coeff = 1. / (win.width * win.width); 135 for( i = -win.width, k = 0; i <= win.width; i++, k++ ) 140 if( win.width == win.height ) 163 if( zeroZone.width >= 0 && zeroZone.height >= 0 && 164 zeroZone.width * 2 + 1 < win_w && zeroZone.height * 2 + 1 < win_h [all...] |
/external/webrtc/webrtc/modules/video_coding/codecs/i420/ |
i420.cc | 49 if (codecSettings->width < 1 || codecSettings->height < 1) { 60 CalcBufferSize(kI420, codecSettings->width, codecSettings->height) + 87 _encodedImage._encodedWidth = inputImage.width(); 89 int width = inputImage.width(); local 90 if (width > std::numeric_limits<uint16_t>::max()) { 99 CalcBufferSize(kI420, inputImage.width(), inputImage.height()) + 111 buffer = InsertHeader(buffer, width, height); 124 uint16_t width, 126 *buffer++ = static_cast<uint8_t>(width >> 8) 192 uint16_t width, height; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/ |
ImageCanvas.java | 120 imageWidth = mImage.getBounds().width; 123 imageWidth = client.width; 129 mHorizontalScrollBar.setThumb(Math.min(imageWidth, client.width)); 132 int hPage = imageWidth - client.width; 154 mHorizontalScrollBar.setPageIncrement(clientArea.width); 172 scroll(destX, 0, 0, 0, imageBounds.width, imageBounds.height, false); 184 scroll(0, destY, 0, 0, imageBounds.width, imageBounds.height, false); 197 if (mFitToCanvas && rect.width > 0 && rect.height > 0) { 198 double sx = (double) client.width / (double) rect.width; [all...] |
/bootable/recovery/minui/ |
mkfont.c | 12 n = gimp_image.width * gimp_image.height; 17 printf(" unsigned width;\n"); 23 printf(" .width = %d,\n .height = %d,\n .cwidth = %d,\n .cheight = %d,\n", gimp_image.width, gimp_image.height, 24 gimp_image.width / 96, gimp_image.height);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ShaderTest.java | 31 int width = 80; local 33 int[] color = new int[width * height]; 34 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
ShaderTests.java | 44 public void draw(Canvas canvas, int width, int height) { 51 canvas.drawRect(0, 0, width, height, mPaint); 64 public void draw(Canvas canvas, int width, int height) { 82 canvas.drawRect(0, 0, width, height, mPaint); 106 public void draw(Canvas canvas, int width, int height) { 108 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ALPHA_8); 111 final float radius = width / 2.0f; 112 bitmapCanvas.drawCircle(width / 2, height / 2, radius, mPaint); 116 width, height, Bitmap.Config.ALPHA_8); 118 bitmapCanvas.drawCircle(width / 2, 0, radius, mPaint) [all...] |
/development/perftests/panorama/feature_mos/src/mosaic/ |
Mosaic.h | 44 int width = 640; 53 mosaic.initialize(blendingType, stripType, width, height, -1, false, 5.0f); 91 * \param width Width of input images (note: all images must be same size) 98 int initialize(int blendingType, int stripType, int width, int height, int nframes = -1, bool quarter_res = false, float thresh_still = 0.0); 123 * \param width Width of the resulting mosaic (returned) 127 ImageType getMosaic(int &width, int &height); 157 int width, height; member in class:Mosaic
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/ |
MediaStoreStreamLoader.java | 30 public DataFetcher<InputStream> getResourceFetcher(Uri model, int width, int height) { 31 return new MediaStoreThumbFetcher(context, model, uriLoader.getResourceFetcher(model, width, height), width,
|
/external/libdrm/tests/planetest/ |
bo.h | 11 uint32_t width; member in struct:sp_bo 25 struct sp_bo *create_sp_bo(struct sp_dev *dev, uint32_t width, uint32_t height, 29 void draw_rect(struct sp_bo *bo, uint32_t x, uint32_t y, uint32_t width,
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/ |
NewSlider.java | 57 float width = getWidth() - KNOB_WIDTH - border * 2; 59 setValue(sliderMin + (sliderMax - sliderMin) * Math.max(0, Math.min(width, mouseX)) / width); 72 float width = getWidth() - KNOB_WIDTH - border * 2; 74 setValue(sliderMin + (sliderMax - sliderMin) * Math.max(0, Math.min(width, mouseX)) / width); 89 int width = getWidth(); local 93 g.fillRect(border, border, width - border * 2, height - border * 2); 95 int maxKnobX = width - border - KNOB_WIDTH; 96 int knobX = (int)((width - border * 2 - KNOB_WIDTH) * (value - sliderMin) / (sliderMax - sliderMin)) + border [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
rotate_any.cc | 23 uint8* dst, int dst_stride, int width) { \ 24 int r = width & MASK; \ 25 int n = width - r; \
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_pack.c | 34 * bit width. 260 if (type.length * type.width == 256) { 269 * Double the bit width. 288 assert(dst_type.width == src_type.width * 2); 293 msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type.width - 1), ""); 318 * Expand the bit width. 333 /* Register width must remain constant */ 334 assert(src_type.width * src_type.length == dst_type.width * dst_type.length) [all...] |
/external/mesa3d/src/glx/apple/ |
apple_glapi.c | 76 void apple_glapi_oglfw_viewport_scissor(GLint x, GLint y, GLsizei width, GLsizei height) { 78 __ogl_framework_api->Viewport(x, y, width, height); 79 __ogl_framework_api->Scissor(x, y, width, height);
|
/external/mesa3d/src/mesa/main/ |
image.h | 44 GLsizei width, GLsizei height, 52 GLsizei width, GLsizei height, 59 GLsizei width, 66 GLsizei width, GLsizei height, 73 GLsizei width, GLsizei height, 80 GLint width, GLenum format, GLenum type ); 85 GLint width, GLint height, 90 _mesa_expand_bitmap(GLsizei width, GLsizei height, 106 GLsizei *width, GLsizei *height, 113 GLsizei *width, GLsizei *height [all...] |
readpix.h | 38 GLint x, GLint y, GLsizei width, GLsizei height, 44 _mesa_ReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, 48 _mesa_ReadnPixelsARB( GLint x, GLint y, GLsizei width, GLsizei height,
|
/external/opencv3/modules/features2d/src/kaze/ |
utils.h | 45 * @param width Image width 48 inline void checkDescriptorLimits(int &x, int &y, int width, int height) { 58 if (x > width - 1) { 59 x = width - 1;
|
/external/skia/bench/ |
ReadPixBench.cpp | 32 int offX = (size.width() - kWindowSize) / kNumStepsX; 39 canvas->drawCircle(SkIntToScalar(size.width()/2), 41 SkIntToScalar(size.width()/2),
|
/external/skia/gm/ |
verylargebitmap.cpp | 15 static void draw(SkCanvas* canvas, int width, int height, SkColor colors[2]) { 16 const SkPoint center = { SkIntToScalar(width)/2, SkIntToScalar(height)/2 }; 26 static SkImage* make_raster_image(int width, int height, SkColor colors[2]) { 27 SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(width, height)); 28 draw(surface->getCanvas(), width, height, colors); 32 static SkImage* make_picture_image(int width, int height, SkColor colors[2]) { 34 draw(recorder.beginRecording(SkRect::MakeIWH(width, height)), width, height, colors); 36 return SkImage::NewFromPicture(picture, SkISize::Make(width, height), 40 typedef SkImage* (*ImageMakerProc)(int width, int height, SkColor colors[2]) [all...] |
/external/skia/src/core/ |
SkBlitMask.h | 26 * by color. The number of pixels to blit is specified by width and height, 31 SkColor color, int width, int height); 36 * by width. 39 SkColor color, int width, 48 const SkPMColor* src, int width);
|
/external/skia/src/gpu/ |
GrRectanizer_pow2.h | 36 return fAreaSoFar / ((float)this->width() * this->height()); 49 bool canAddWidth(int width, int containerWidth) const { 50 return fLoc.fX + width <= containerWidth;
|
/external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/ |
ImagePanel.java | 24 private int x, y, width, height; field in class:ImagePanel 53 public void setImage(File img, int x, int y, int width, int height) { 56 this.width = width; 68 public void setImage(URL imgUrl, int x, int y, int width, int height) { 71 this.width = width; 112 float imgRatio = (float)width / (float)height; 119 gg.drawImage(image, tx, ty, tx + tw, ty + th, x, y, x + width, y + width, null) [all...] |