| /external/mesa3d/src/gallium/state_trackers/dri/sw/ |
| drisw.c | 63 put_image(__DRIdrawable *dPriv, void *data, unsigned width, unsigned height) 69 0, 0, width, height, 74 get_image(__DRIdrawable *dPriv, int x, int y, int width, int height, void *data) 80 x, y, width, height, 95 void *data, unsigned width, unsigned height) 99 put_image(dPriv, data, width, height); 191 unsigned width, height; local 196 height = drawable->dPriv->h; 199 drawable->old_h != height); 210 templ.height0 = height; [all...] |
| /external/skia/bench/ |
| GameBench.cpp | 94 int width, height; variable 97 height = kAtlasCellHeight; 100 height = kCheckerboardHeight; 113 maxTransY = size.fHeight - (1.5f * height); 116 maxTransY = SkIntToScalar(size.fHeight - height); 120 maxTransX = size.fWidth - SK_ScalarSqrt2 * height; 121 maxTransY = size.fHeight - SK_ScalarSqrt2 * height; 125 SkRect dst = { 0, 0, SkIntToScalar(width), SkIntToScalar(height) }; 126 SkRect clearRect = { -1.0f, -1.0f, width+1.0f, height+1.0f }; 129 { 0, SkIntToScalar(height) }, [all...] |
| /external/skia/gm/ |
| xfermodeimagefilter.cpp | 17 #define HEIGHT 700 34 return SkISize::Make(WIDTH, HEIGHT); 97 y += fBitmap.height() + MARGIN; 108 y += fBitmap.height() + MARGIN; 117 y += fBitmap.height() + MARGIN; 120 SkIntToScalar(fBitmap.height() + 4)); 135 y += fBitmap.height() + MARGIN; 145 y += fBitmap.height() + MARGIN; 159 fBitmap.height() + offsets[i][3]); 169 y += fBitmap.height() + MARGIN [all...] |
| /external/skia/src/codec/ |
| SkBmpCodec.cpp | 182 // The image width and height 183 int width, height; local 233 height = get_int(iBuffer.get(), 4); 252 height = (int) get_short(iBuffer.get(), 2); 263 if (height < 0) { 264 height = -height; 267 // The height field for bmp in ico is double the actual height because they 270 height /= 2 [all...] |
| /external/skia/src/core/ |
| SkConfig8888.cpp | 77 bool SkSrcPixelInfo::convertPixelsTo(SkDstPixelInfo* dst, int width, int height) const { 78 if (width <= 0 || height <= 0) { 121 for (int y = 0; y < height; ++y) { 148 const int h = srcInfo.height(); 178 const int height = srcInfo.height(); local 183 for (int y = 0; y < height; ++y) { 205 return srcPI.convertPixelsTo(&dstPI, width, height); 225 SkRectMemcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height); 235 copy_g8_to_32(dstPixels, dstRB, srcPixels, srcRB, width, height); [all...] |
| SkBlitter_A8.cpp | 140 int height = clip.height(); local 145 while (--height >= 0) { 175 void SkA8_Blitter::blitV(int x, int y, int height, SkAlpha alpha) { 185 for (int i = 0; i < height; i++) { 192 for (int i = 0; i < height; i++) { 199 void SkA8_Blitter::blitRect(int x, int y, int width, int height) { 202 (unsigned)(y + height) <= (unsigned)fDevice.height()); 212 while (--height >= 0) 331 int height = clip.height(); local 418 int height = clip.height(); local [all...] |
| /external/skia/src/gpu/ |
| GrGpu.h | 88 * it contains width*height texels. If nullptr texture data 162 (in terms of width and height) for the intermediate texture instead of approximate. */ 199 * that would allow a successful readPixels call. The passed width, height, and rowBytes, 226 * height, and rowBytes, must be non-zero and already reflect clipping to the dst bounds. 228 bool getWritePixelsInfo(GrSurface* dstSurface, int width, int height, 238 * @param height height of rectangle to read in pixels. 251 int left, int top, int width, int height, 261 * @param height height of rectangle to write in pixels [all...] |
| /external/webrtc/talk/media/base/ |
| codec.cc | 219 os << "VideoCodec[" << id << ":" << name << ":" << width << ":" << height 227 int height, 232 height(height), 239 height(0), 243 VideoCodec::VideoCodec() : Codec(), width(0), height(0), framerate(0) { 252 height = c.height; 258 return width == c.width && height == c.height && framerate == c.framerate & [all...] |
| /external/webrtc/webrtc/modules/video_coding/codecs/test/ |
| videoprocessor.cc | 88 last_encoder_frame_height_ = config_.codec_settings->height; 138 printf(" Height : %d\n", config_.codec_settings->height); 195 config_.codec_settings->height, kVideoRotation_0); 318 static_cast<int>(image.height()) != last_encoder_frame_height_) { 321 last_encoder_frame_height_ = image.height(); 326 image.height() != config_.codec_settings->height) { 329 image.width(), image.height(), config_.codec_settings->width, 330 config_.codec_settings->height, kI420, kI420, kScaleBilinear) [all...] |
| /frameworks/base/media/java/android/media/ |
| ImageReader.java | 108 * @param height The default height in pixels of the Images that this reader 123 public static ImageReader newInstance(int width, int height, int format, int maxImages) { 124 return new ImageReader(width, height, format, maxImages); 130 protected ImageReader(int width, int height, int format, int maxImages) { 132 mHeight = height; 136 if (width < 1 || height < 1) { 152 nativeInit(new WeakReference<ImageReader>(this), width, height, format, maxImages); 164 width, height, format, /*buffer count*/ 1); 182 * The default height of {@link Image Images}, in pixels 731 int height; local [all...] |
| /frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
| ActionMenuItemView.java | 198 int height = icon.getIntrinsicHeight(); local 202 height *= scale; 204 if (height > mMaxIconSize) { 205 final float scale = (float) mMaxIconSize / height; 206 height = mMaxIconSize; 209 icon.setBounds(0, 0, width, height); 257 final int height = getHeight(); local 258 final int midy = screenPos[1] + height / 2; 265 if (midy < displayFrame.height()) { 268 screenPos[1] + height - displayFrame.top) [all...] |
| /hardware/intel/common/libmix/videodecoder/ |
| VideoDecoderMPEG2.cpp | 94 // some container has the incorrect width/height. 102 mVideoFormatInfo.height != (uint32_t)data->codec_data->frame_height) && 105 ITRACE("Video size is changed. from %dx%d to %dx%d\n",mVideoFormatInfo.width,mVideoFormatInfo.height, data->codec_data->frame_width,data->codec_data->frame_height); 110 mVideoFormatInfo.height = data->codec_data->frame_height; 120 || (mVideoFormatInfo.height > mVideoFormatInfo.surfaceHeight); 362 mVideoFormatInfo.width, mVideoFormatInfo.height, 366 mVideoFormatInfo.cropBottom = (data->codec_data->frame_height > mVideoFormatInfo.height) ? 367 (data->codec_data->frame_height - mVideoFormatInfo.height) : 0; 372 mVideoFormatInfo.height != (uint32_t)data->codec_data->frame_height) && 376 mVideoFormatInfo.height = data->codec_data->frame_height [all...] |
| /external/ImageMagick/MagickCore/ |
| transform.c | 225 ((chop_info->y+(ssize_t) chop_info->height) < 0) || 232 if ((extent.y+(ssize_t) extent.height) > (ssize_t) image->rows) 233 extent.height=(size_t) ((ssize_t) image->rows-extent.y); 241 extent.height-=(size_t) (-extent.y); 245 extent.height,MagickTrue,exception); 323 for (y=0; y < (ssize_t) (image->rows-(extent.y+extent.height)); y++) 336 p=GetCacheViewVirtualPixels(image_view,0,extent.y+extent.height+y, 532 % x, y, width, and height. 576 if ((bounding_box.width == 0) || (bounding_box.height == 0)) 579 bounding_box.height=image->rows 811 height, local 909 height, local [all...] |
| /device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
| mm_camera_stream.c | [all...] |
| /device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
| mm_camera_stream.c | [all...] |
| /external/mesa3d/src/mesa/drivers/x11/ |
| xm_dd.c | 106 GLint x, GLint y, GLint width, GLint height) 119 x, xrb->Base.Base.Height - y - height, 120 width, height ); 126 GLint x, GLint y, GLint width, GLint height) 136 for (j = 0; j < height; j++) { 148 GLint x, GLint y, GLint width, GLint height) 158 for (j = 0; j < height; j++) { 166 for (j = 0; j < height; j++) { 181 GLint x, GLint y, GLint width, GLint height) 253 const GLint height = ctx->DrawBuffer->_Ymax - y; local [all...] |
| xm_buffer.c | 64 alloc_back_shm_ximage(XMesaBuffer b, GLuint width, GLuint height) 75 if (width == 0 || height == 0) { 84 width, height); 92 * b->backxrb->ximage->height, IPC_CREAT|0777); 158 alloc_back_shm_ximage(XMesaBuffer b, GLuint width, GLuint height) 172 alloc_back_buffer(XMesaBuffer b, GLuint width, GLuint height) 189 if (width == 0 || height == 0) 193 if (b->shm == 0 || !alloc_back_shm_ximage(b, width, height)) { 200 width, height, 206 b->backxrb->ximage->data = (char *) MALLOC(b->backxrb->ximage->height [all...] |
| /external/opencv3/3rdparty/libwebp/dec/ |
| webp.c | 44 // 27..29 Height of the Canvas Image. 117 int width, height; local 130 height = 1 + get_le24(*data + 15); 131 if (width * (uint64_t)height >= MAX_IMAGE_AREA) { 137 if (height_ptr != NULL) *height_ptr = height; 271 // Fetch '*width', '*height', '*has_alpha' and fill out 'headers' based on 285 int* const height, 311 status = ParseVP8X(&data, &data_size, &found_vp8x, width, height, &flags); 355 (uint32_t)hdrs.compressed_size, width, height)) { 363 if (!VP8LGetInfo(data, data_size, width, height, has_alpha)) [all...] |
| /external/webp/src/dec/ |
| webp.c | 41 // 27..29 Height of the Canvas Image. 110 int width, height; local 123 height = 1 + GetLE24(*data + 15); 124 if (width * (uint64_t)height >= MAX_IMAGE_AREA) { 130 if (height_ptr != NULL) *height_ptr = height; 266 // Fetch '*width', '*height', '*has_alpha' and fill out 'headers' based on 280 int* const height, 410 if (height != NULL) *height = image_height; 422 // fill out headers, ignore width/height/has_alpha [all...] |
| /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
| GLES20Canvas.java | 346 public void setSize(int width, int height) { 348 mHeight = height; 352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 355 mScreenHeight = height; 356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 486 public void drawRect(float x, float y, float width, float height, GLPaint paint) { 487 draw(GLES20.GL_LINE_LOOP, OFFSET_DRAW_RECT, COUNT_RECT_VERTEX, x, y, width, height, paint); 491 private void draw(int type, int offset, int count, float x, float y, float width, float height, 493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth()); 496 private void draw(int type, int offset, int count, float x, float y, float width, float height, 645 int height = texture.getHeight(); local 920 int height = texture.getTextureHeight(); local [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
| GLES20Canvas.java | 346 public void setSize(int width, int height) { 348 mHeight = height; 352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 355 mScreenHeight = height; 356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 486 public void drawRect(float x, float y, float width, float height, GLPaint paint) { 487 draw(GLES20.GL_LINE_LOOP, OFFSET_DRAW_RECT, COUNT_RECT_VERTEX, x, y, width, height, paint); 491 private void draw(int type, int offset, int count, float x, float y, float width, float height, 493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth()); 496 private void draw(int type, int offset, int count, float x, float y, float width, float height, 645 int height = texture.getHeight(); local 920 int height = texture.getTextureHeight(); local [all...] |
| /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
| GLES20Canvas.java | 344 public void setSize(int width, int height) { 346 mHeight = height; 350 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 353 mScreenHeight = height; 354 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 484 public void drawRect(float x, float y, float width, float height, GLPaint paint) { 485 draw(GLES20.GL_LINE_LOOP, OFFSET_DRAW_RECT, COUNT_RECT_VERTEX, x, y, width, height, paint); 489 private void draw(int type, int offset, int count, float x, float y, float width, float height, 491 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth()); 494 private void draw(int type, int offset, int count, float x, float y, float width, float height, 643 int height = texture.getHeight(); local 919 int height = texture.getTextureHeight(); local [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
| ImageUtils.java | 63 for (int y = 0, height = image.getHeight(); y < height; y++) { 320 int height = y2 - y1; local 329 BufferedImage cropped = new BufferedImage(width, height, imageType); 331 g.drawImage(image, 0, 0, width, height, x1, y1, x2, y2, null); 465 int height = source.getHeight(); local 466 BufferedImage image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE, type); 468 g.drawImage(source, 0, 0, width, height, null); 469 ImageUtils.drawRectangleShadow(image, 0, 0, width, height); 485 * @param height the height of the rectangl 751 int height = y2 - y1; local [all...] |
| /external/opencv/cvaux/src/ |
| cvcalibfilter.cpp | 291 cameraParams[i].imgSize[1] = (float)imgSize.height; 386 if( size.width != imgSize.width || size.height != imgSize.height ) 392 grayImg->height != imgSize.height ) 396 grayImg = cvCreateMat( imgSize.height, imgSize.width, CV_8UC1 ); 397 tempImg = cvCreateMat( imgSize.height, imgSize.width, CV_8UC1 ); 789 undistImg->height != src->height || 793 undistImg = cvCreateMat( src->height, src->width [all...] |
| /external/opencv/otherlibs/highgui/ |
| utils.cpp | 89 for( ; size.height--; gray += gray_step ) 108 for( ; size.height--; gray += gray_step ) 127 for( ; size.height--; gray += gray_step ) 144 for( ; size.height--; gray += gray_step ) 161 for( ; size.height--; ) 179 for( ; size.height--; ) 198 for( ; size.height--; ) 215 for( ; size.height--; ) 234 for( ; size.height--; gray += gray_step, bgr555 += bgr555_step ) 251 for( ; size.height--; gray += gray_step, bgr565 += bgr565_step [all...] |