| /frameworks/native/opengl/tests/gl_perfapp/jni/ |
| gl_code.cpp | 21 // Width and height of the screen 60 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height); 64 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height) 67 gHeight = height;
|
| /hardware/bsp/intel/peripheral/libupm/examples/python/ |
| make_oled_pic.py | 35 height = 64 variable 42 im = im.convert('L').resize((width, height)) 47 widthblock = [list(byteblock) for i in range(int(height/8))]
|
| /hardware/intel/common/libva/test/decode/ |
| loadjpeg.c | 65 unsigned int width, height; local 89 tinyjpeg_get_size(jdec, &width, &height); 91 printf("Decoding JPEG image %dx%d...\n", width, height);
|
| /hardware/intel/img/psb_video/src/android/ |
| psb_mds.cpp | 74 int32_t* width, int32_t* height, 78 width == NULL || height == NULL || 87 status_t ret = mListener->getDecoderOutputResolution(0, width, height, offX, offY, bufW, bufH);
|
| /packages/apps/Camera2/src/com/android/camera/ |
| PanoUtil.java | 45 public static void decodeYUV420SPQuarterRes(int[] rgb, byte[] yuv420sp, int width, int height) { 46 final int frameSize = width * height; 48 for (int j = 0, ypd = 0; j < height; j += 4) {
|
| /packages/apps/Camera2/src/com/android/camera/app/ |
| MediaSaver.java | 78 * @param height The height of the image data before the orientation is 86 void addImage(byte[] data, String title, long date, Location loc, int width, int height, 99 * @param height The height of the image data before the orientation is 108 void addImage(byte[] data, String title, long date, Location loc, int width, int height, 113 * saves the file to the storage in the background. The width and height 140 * @param height The height of the image data before the orientation is 146 void addImage(byte[] data, String title, Location loc, int width, int height, int orientation [all...] |
| /packages/apps/Camera2/src/com/android/camera/ui/ |
| ProgressOverlay.java | 58 if (area.width() > 0 && area.height() > 0) { 61 params.height= (int) area.height();
|
| /packages/apps/Gallery/src/com/android/camera/ |
| Wallpaper.java | 55 int height = getWallpaperDesiredMinimumHeight(); local 57 intent.putExtra("outputY", height); 59 intent.putExtra("aspectY", height);
|
| /packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
| FrameBuffer.cpp | 24 bool FrameBuffer::Init(int width, int height, GLenum format) { 37 height, 63 mHeight = height;
|
| /packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
| PanoUtil.java | 45 public static void decodeYUV420SPQuarterRes(int[] rgb, byte[] yuv420sp, int width, int height) { 46 final int frameSize = width * height; 48 for (int j = 0, ypd = 0; j < height; j += 4) {
|
| /packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
| DialpadTextView.java | 43 * Draw the text to fit within the height/width which have been specified during measurement. 60 * height and width. 69 int height = resolveSize(mTextBounds.height(), heightMeasureSpec); local 70 setMeasuredDimension(width, height);
|
| /system/core/libpixelflinger/ |
| raster.cpp | 30 GGLsizei width, GGLsizei height, GGLenum type); 54 GGLsizei width, GGLsizei height, GGLenum /*type*/) 64 if (uint32_t(ys) > cb->height) 68 if (uint32_t(ys + height) > cb->height) 86 height -= offset; 91 if ((yd + height) > GGLint(c->state.scissor.bottom)) { 92 height = GGLint(c->state.scissor.bottom) - yd; 95 if (width<=0 || height<=0) { 112 size_t yc = height; [all...] |
| /external/ImageMagick/MagickCore/ |
| layer.c | 112 for (y=0; y < (ssize_t) bounds->height; y++) 183 for (y=0; y < (ssize_t) bounds->height; y++) 200 return(y < (ssize_t) bounds->height ? MagickTrue : MagickFalse); 263 if (bounds.height == 0) 265 bounds.height=next->rows; 267 bounds.height+=bounds.y; 271 coalesce_image=CloneImage(next,bounds.width,bounds.height,MagickTrue, 295 bounds.height=previous->rows; 305 bounds.height+=bounds.y; 308 if ((ssize_t) (bounds.y+bounds.height) > (ssize_t) coalesce_image->rows 1920 height, local [all...] |
| /external/skia/samplecode/ |
| SampleFilterQuality.cpp | 81 SkImageInfo info = SkImageInfo::MakeN32(orig->width() * D, orig->height() * D, 88 -SkScalarHalf(orig->height()) * (S - D) / S); 94 for (int i = 1; i < orig->height(); ++i) { 100 canvas->drawLine(x, 0, x, SkIntToScalar(orig->height()), paint); 147 static void draw_box_frame(SkCanvas* canvas, int width, int height) { 151 SkRect r = SkRect::MakeIWH(width, height); 216 canvas->translate(SkScalarHalf(size.width()), SkScalarHalf(size.height())); 219 canvas->drawImage(fImage, -SkScalarHalf(fImage->width()), -SkScalarHalf(fImage->height()), 224 draw_box_frame(canvas, size.width(), size.height()); 232 SkISize size = SkISize::Make(fImage->width(), fImage->height()); [all...] |
| /external/webp/src/dsp/ |
| filters_sse2.c | 30 assert(height > 0); \ 32 assert(row >= 0 && num_rows > 0 && row + num_rows <= height); \ 33 (void)height; // Silence unused warning. 118 int width, int height, int stride, 155 int width, int height, int stride, 262 int width, int height, int stride, 299 static void HorizontalFilter(const uint8_t* data, int width, int height, 301 DoHorizontalFilter(data, width, height, stride, 0, height, 0, filtered_data); 304 static void VerticalFilter(const uint8_t* data, int width, int height, [all...] |
| /frameworks/av/camera/ |
| CameraParameters.cpp | 41 const char CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT[] = "jpeg-thumbnail-height"; 331 int width, height; local 332 int success = parse_pair(sizeStartPtr, &width, &height, 'x', 338 sizes.push(Size(width, height)); 347 void CameraParameters::setPreviewSize(int width, int height) 350 sprintf(str, "%dx%d", width, height); 354 void CameraParameters::getPreviewSize(int *width, int *height) const 356 *width = *height = -1; 360 parse_pair(p, width, height, 'x'); 363 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, int *height) cons [all...] |
| /cts/tests/tests/renderscript/src/android/renderscript/cts/ |
| rsAllocationCopyTest.java | 265 int height = random.nextInt(128); local 267 int yOff = random.nextInt(height); 269 int yCount = random.nextInt(height - yOff); 270 int arr_len = width * height; 277 typeBuilder.setX(width).setY(height); 295 for (int i = 0; i < height; i++) { 319 int height = random.nextInt(128); local 321 int yOff = random.nextInt(height); 323 int yCount = random.nextInt(height - yOff); 324 int arr_len = width * height; 375 int height = random.nextInt(128); local 431 int height = random.nextInt(128); local 487 int height = random.nextInt(128); local [all...] |
| /external/mesa3d/src/gallium/auxiliary/util/ |
| u_format.c | 169 desc->block.height != 1) { 262 assert(y % format_desc->block.height == 0); 284 assert(y % format_desc->block.height == 0); 303 assert(y % format_desc->block.height == 0); 322 assert(y % format_desc->block.height == 0); 343 assert(y % format_desc->block.height == 0); 364 assert(y % format_desc->block.height == 0); 385 assert(y % format_desc->block.height == 0); 406 assert(y % format_desc->block.height == 0); 538 unsigned width, unsigned height) [all...] |
| u_surface.c | 70 uint width, uint height, 105 templ.height0 = height; 160 unsigned h = src_box->height; 236 unsigned width, unsigned height) 251 dstx, dsty, width, height); 263 0, 0, width, height, &uc); 283 unsigned width, unsigned height) 303 dstx, dsty, width, height); 319 memset(dst_map, (ubyte) zstencil, height * width); 321 for (i = 0; i < height; i++) [all...] |
| /external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
| VideoRendererGui.java | 159 int x, int y, int width, int height, 167 layoutInPercentage = new Rect(x, y, Math.min(100, x + width), Math.min(100, y + height)); 212 + displayLayout.width() + " x " + displayLayout.height() + ". Video: " + videoWidth 219 videoAspectRatio, displayLayout.width(), displayLayout.height()); 221 (displayLayout.height() - displaySize.y) / 2); 223 + displayLayout.height()); 225 mirror, videoAspectRatio, (float) displayLayout.width() / displayLayout.height()); 250 yuvUploader.uploadYuvData(yuvTextures, pendingFrame.width, pendingFrame.height, 284 displayLayout.left, viewportY, displayLayout.width(), displayLayout.height()); 287 displayLayout.left, viewportY, displayLayout.width(), displayLayout.height()); [all...] |
| /external/libvncserver/webclients/novnc/include/ |
| display.js | 113 viewportChange: function (deltaX, deltaY, width, height) { 123 height = this._fb_height; 129 if (typeof(height) === "undefined") { height = vp.h; } 133 if (height > this._fb_height) { height = this._fb_height; } 135 if (vp.w !== width || vp.h !== height) { 142 // Change height 143 if (height < vp.h && cr.y2 > vp.y + height - 1) [all...] |
| /hardware/ti/omap4-aah/camera/V4LCameraAdapter/ |
| V4LCameraAdapter.cpp | 65 static void convertYUV422ToNV12Tiler(unsigned char *src, unsigned char *dest, int width, int height ); 66 static void convertYUV422ToNV12(unsigned char *src, unsigned char *dest, int width, int height ); 205 status_t V4LCameraAdapter::v4lSetFormat (int width, int height, uint32_t pix_format) { 215 mVideoInfo->height = height; 216 mVideoInfo->framesizeIn = (width * height << 1); 221 mVideoInfo->format.fmt.pix.height = height; 230 CAMHAL_LOGDB("VIDIOC_G_FMT : WxH = %dx%d", mVideoInfo->format.fmt.pix.width, mVideoInfo->format.fmt.pix.height); 238 int height = 0 local 384 int width, height; local 536 int height = 0; local 829 int height = 0; local 1132 int width, height; local [all...] |
| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
| FacedCubemapData.java | 66 public FacedCubemapData (int width, int height, int depth, Format format) {
67 this(new PixmapTextureData(new Pixmap(depth, height, format), null, false, true), new PixmapTextureData(new Pixmap(depth,
68 height, format), null, false, true), new PixmapTextureData(new Pixmap(width, depth, format), null, false, true),
70 height, format), null, false, true), new PixmapTextureData(new Pixmap(width, height, format), null, false, true));
133 int tmp, height = 0;
local 134 if (data[CubemapSide.PositiveZ.index] != null && (tmp = data[CubemapSide.PositiveZ.index].getHeight()) > height)
135 height = tmp;
136 if (data[CubemapSide.NegativeZ.index] != null && (tmp = data[CubemapSide.NegativeZ.index].getHeight()) > height)
137 height = tmp; [all...] |
| /external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
| glx_usefont.c | 76 dump_bitmap(unsigned int width, unsigned int height, GLubyte * bitmap) 84 for (y = 0; y < height; y++) { 87 putchar((bitmap[width * (height - y - 1) + x / 8] & (1 << (7 - (x % 92 printf("0x%02x, ", bitmap[width * (height - y - 1) + x]); 103 and HEIGHT is the height in bits. 127 unsigned int width, unsigned int height, 135 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1); 137 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height); 145 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap) 293 unsigned int width, height, bm_width, bm_height; local [all...] |
| /external/mesa3d/src/gallium/winsys/sw/xlib/ |
| xlib_sw_winsys.c | 61 unsigned height; member in struct:xlib_displaytarget 150 unsigned width, unsigned height) 166 width, height); 197 unsigned width, unsigned height) 201 alloc_shm_ximage(xlib_dt, xmb, width, height); 211 NULL, width, height, 325 xlib_dt->height); 341 ximage, 0, 0, 0, 0, xlib_dt->width, xlib_dt->height, False); 354 ximage->height = xlib_dt->height; [all...] |