/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
PixelUtils.java | 39 * @param height The height of the input image. 47 int height, 57 } else if ((width * height * 4) != input.remaining()) { 60 } else if ((width * height * 4) != output.remaining()) { 64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride); 70 int height,
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
BurstController.java | 56 private final int height; field in class:BurstController.ImageStreamProperties 60 public ImageStreamProperties(int width, int height, 64 this.height = height; 74 return height;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ImageCanvas.java | 27 * Dimensions holds the desired width, height, and scale for a bitmap being 32 public int height; field in class:ImageCanvas.Dimensions 47 public Dimensions(int width, int height, float scale, float fontSize) { 49 this.height = height; 56 return String.format("Dimens [%d x %d]", width, height);
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/laf/ |
UnifiedContentBorder.java | 28 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { 32 g.drawLine(x, y + height - 2, x + width, y + height - 2); 34 g.drawLine(x, y + height - 1, x + width, y + height - 1);
|
/external/libyuv/files/include/libyuv/ |
planar_functions.h | 29 int width, int height); 34 int width, int height); 39 int width, int height, 46 int width, int height); 59 int width, int height); 70 int width, int height); 78 int width, int height); 86 int width, int height); 92 int width, int height); 98 int width, int height); [all...] |
/external/ImageMagick/PerlMagick/t/ |
ping.t | 27 my (@blob, $filename, $format, $height, $image, $size, $status, $width); 32 ($width, $height, $size, $format)=$image->Ping("$filename"); 33 if (($width == 70) && ($height == 46) && ($size == 9673) && ($format eq "PPM")) 51 ($width, $height, $size, $format)=$image->Ping(blob=>@blob); 54 if (($width == 70) && ($height == 46) && ($size == 9673) && ($format eq "PPM"))
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_framebuffer.c | 55 dst->height != src->height) 86 dst->height = src->height; 111 fb->width = fb->height = 0; 117 * minimum width and height of all bound surfaces. 122 unsigned *height) 130 h = MIN2(h, fb->cbufs[i]->height); 135 h = MIN2(h, fb->zsbuf->height); 140 *height = 0 [all...] |
/external/autotest/client/virt/ |
ppm_utils.py | 58 @return: A 3 element tuple containing the width, height and data of the 72 def image_write_to_ppm_file(filename, width, height, data): 74 Write a PPM image with the given width, height and data. 78 @param height: PPM file height (pixels) 82 fout.write("%d %d\n" % (width, height)) 88 def image_crop(width, height, data, x1, y1, dx, dy): 93 @param height: Original image height 98 @param dy: Desired height of the cropped regio [all...] |
/hardware/intel/common/libva/test/putsurface/ |
putsurface_x11.c | 35 static int create_window(void *win_display, int x, int y, int width, int height); 36 static int check_window_event(void *x11_display, void *drawable, int *width, int *height, int *quit); 52 static Pixmap create_pixmap(void *win_display, int width, int height) 64 printf("Create a pixmap from ROOT window %dx%d, pixmap size %dx%d\n\n", attr.width, attr.height, width, height); 65 pixmap = XCreatePixmap(x11_display, root, width, height, 71 static int create_window(void *win_display, int x, int y, int width, int height) 80 drawable_thread0 = (void *)XCreateSimpleWindow(x11_display, root, x, y, width, height, 87 sizehints.height = height; [all...] |
/external/deqp/framework/platform/raspi/ |
tcuRaspiPlatform.cpp | 70 Window (int width, int height); 110 const int height = params.height != eglu::WindowParams::SIZE_DONT_CARE ? params.height : DEFAULT_WINDOW_HEIGHT; local 112 return new Window(width, height); 117 Window::Window (int width, int height) 132 dstRect.height = height; 137 srcRect.height = height << 16 [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
ModelCache.java | 10 * model, width and height. For a loader that takes a model and returns a url, the cache could be used to safely memoize 11 * url creation based on the width and height of the view. 39 * @param height The height in pixels of the view the image is being loaded into. 43 public B get(A model, int width, int height) { 44 ModelKey<A> key = ModelKey.get(model, width, height); 55 * @param height The height in pixels of the view the image is being loaded into. 58 public void put(A model, int width, int height, B value) { 59 ModelKey<A> key = ModelKey.get(model, width, height); 67 private int height; field in class:ModelCache.ModelKey [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
api_images.c | 96 VGint width, VGint height, 105 if (width <= 0 || height <= 0) { 110 height > vegaGeti(VG_MAX_IMAGE_HEIGHT)) { 114 if (width * height > vegaGeti(VG_MAX_IMAGE_PIXELS)) { 126 return image_to_handle(image_create(format, width, height)); 147 VGint width, VGint height) 156 if (width <= 0 || height <= 0) { 163 if (x + width < 0 || y + height < 0) 166 image_clear(img, x, y, width, height); 175 VGint width, VGint height) 291 width, height, dither); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Alpha8BitmapActivity.java | 60 final float height = texture.getHeight() / 3.0f; local 64 0.0f, height, width, height, width * 2, height, width * 4, height, 65 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2, 66 0.0f, height * 4, width, height * 4, width * 2, height * 4, width * 4, height * 4 [all...] |
/device/generic/goldfish/camera/ |
Converters.cpp | 34 int height) 39 for (int y = 0; y < height; y++) { 64 int height) 69 for (int y = 0; y < height; y++) { 88 void YV12ToRGB565(const void* yv12, void* rgb, int width, int height) 90 const int pix_total = width * height; 94 _YUV420SToRGB565(Y, U, V, 1, reinterpret_cast<uint16_t*>(rgb), width, height); 97 void YV12ToRGB32(const void* yv12, void* rgb, int width, int height) 99 const int pix_total = width * height; 103 _YUV420SToRGB32(Y, U, V, 1, reinterpret_cast<uint32_t*>(rgb), width, height); [all...] |
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
planar_functions.h | 29 int width, int height); 34 int width, int height); 39 int width, int height, 46 int width, int height); 59 int width, int height); 70 int width, int height); 78 int width, int height); 86 int width, int height); 92 int width, int height); 98 int width, int height); [all...] |
/external/webrtc/webrtc/modules/video_processing/test/ |
readYUV420file.m | 1 function [Y,U,V] = readYUV420file(filename, width, height) 2 % [Y,U,V] = readYUVfile(filename, width, height) 10 nPx=width*height; 23 Y=uint8(zeros(height,width,numFrames)); 24 U=uint8(zeros(height/2,width/2,numFrames)); 25 V=uint8(zeros(height/2,width/2,numFrames)); 32 Y(:,:,k)=uint8(reshape(X(1:nPx), width, height).'); 35 U(:,:,k)=uint8(reshape(X(nPx + (1:nPx/4)), width/2, height/2).'); 38 V(:,:,k)=uint8(reshape(X(nPx + nPx/4 + (1:nPx/4)), width/2, height/2).');
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
MosaicTypes.h | 45 inline int Height() 72 int width, height; member in class:MosaicFrame 81 height = _height; 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 100 return (image + (width*height)); 108 return (image + (width*height*2)); 116 ImageType U = image + (width*height); 125 ImageType U = image + (width*height*2);
|
/external/libpng/contrib/gregbook/ |
readppm.c | 67 ulg width, height; variable 109 sscanf(ppmline, "%lu %lu", &width, &height); 122 *pHeight = height; 157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { 161 Trace((stderr, "readpng_get_image: rowbytes = %ld, height = %ld\n", rowbytes, height)); 166 if (fread(image_data, 1L, rowbytes*height, saved_infile) < 167 rowbytes*height) {
|
/external/proguard/src/proguard/gui/splash/ |
RectangleSprite.java | 37 private final VariableInt height; field in class:RectangleSprite 49 * @param height the variable height of the rectangle. 56 VariableInt height) 58 this(filled, color, x, y, width, height, new ConstantInt(0), new ConstantInt(0)); 69 * @param height the variable height of the rectangle. 71 * @param arcHeight the variable height of the corner arcs. 78 VariableInt height, 87 this.height = height [all...] |
/external/toybox/toys/example/ |
test_scankey.c | 24 unsigned width, height, tick; local 42 if (t[0] != t[1]) terminal_probesize(&width, &height); 44 key = scan_key_getsize(scratch, -1*!!t[0], &width, &height); 51 while (0<(key = scan_key_getsize(scratch, 0, &width, &height))) 55 printf("x=%d y=%d width=%d height=%d\033[K", x, y, width, height); 74 if (y>=height) y = height-1;
|
/external/webrtc/webrtc/modules/video_processing/ |
spatial_resampler.cc | 24 int32_t height) { 28 if (width < 1 || height < 1) 32 target_height_ = height; 55 (inFrame.height() == target_height_)) { 63 ret_val = scaler_.Set(inFrame.width(), inFrame.height(), target_width_, 89 bool VPMSimpleSpatialResampler::ApplyResample(int32_t width, int32_t height) { 90 if ((width == target_width_ && height == target_height_) ||
|
/hardware/qcom/display/msm8960/libtilerenderer/ |
tilerenderer.cpp | 39 int height = 0; local 43 renderer->getViewport(width, height); 50 bottom = height; 55 ALOGE("can't tile render; drity region, width, height not available"); 59 int l = left, t = (height - bottom), w = (right - left), h = (bottom - top), preserve = 0; 67 if (w > width || h > height) { 69 h = (h > height) ? height : h;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 45 inline int Height() 72 int width, height; member in class:MosaicFrame 81 height = _height; 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 100 return (image + (width*height)); 108 return (image + (width*height*2)); 116 ImageType U = image + (width*height); 125 ImageType U = image + (width*height*2);
|
/external/deqp/framework/opengl/simplereference/ |
sglrContext.cpp | 38 int height = src.getHeight(); local 39 texImage2D(target, level, internalFormat, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, src.getAccess().getDataPtr()); 42 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, int width, int height) 67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL); 73 int height = src.getHeight(); local 74 texSubImage2D(target, level, xoffset, yoffset, width, height, GL_RGBA, GL_UNSIGNED_BYTE, src.getAccess().getDataPtr()); 77 void Context::readPixels (tcu::Surface& dst, int x, int y, int width, int height) 79 dst.setSize(width, height); 80 readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr());
|
/external/opencv3/3rdparty/libwebp/dec/ |
alpha.c | 28 // dimension 'height'x'width', as that of the image. 36 int width, int height, uint8_t* output) { 45 assert(width > 0 && height > 0); 65 const size_t alpha_decoded_size = height * width; 69 ok = VP8LDecodeAlphaImageStream(width, height, alpha_data, alpha_data_size, 78 unfilter_func(width, height, width, output); 81 ok = DequantizeLevels(output, width, height); 93 const int height = dec->pic_hdr_.height_; local 95 if (row < 0 || num_rows < 0 || row + num_rows > height) { 103 width, height, dec->alpha_plane_)) [all...] |