/external/chromium_org/third_party/webrtc/modules/video_render/ios/ |
open_gles20.mm | 83 bool OpenGles20::Setup(int32_t width, int32_t height) { 117 glViewport(0, 0, width, height); 156 texture_height_ != (GLsizei)frame.height()) { 245 static void InitializeTexture(int name, int id, int width, int height) { 256 height, 265 const GLsizei height = frame.height(); 271 InitializeTexture(GL_TEXTURE0, texture_ids_[0], width, height); 272 InitializeTexture(GL_TEXTURE1, texture_ids_[1], width / 2, height / 2); 273 InitializeTexture(GL_TEXTURE2, texture_ids_[2], width / 2, height / 2) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
SizeAdaptiveLayoutTest.java | 83 int height = (int) lp.minHeight + 10; local 85 measureAndLayout(height); 100 int height = (int) lp.minHeight; local 102 measureAndLayout(height); 117 int height = (int) lp.minHeight - 10; local 119 measureAndLayout(height); 136 int height = (int) (lp.minHeight + 10); local 138 measureAndLayout(height); 153 int height = (int) lp.minHeight + 10; local 156 int measureSpec = View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.AT_MOST) 169 int height = (int) lp.minHeight - 10; local 185 int height = (int) lp.maxHeight + 10; local 201 int height = (int) lp.minHeight; local 217 int height = (int) lp.minHeight - 10; local 233 int height = (int) lp.maxHeight + 10; local 249 int height = (int) lp.minHeight; local 268 int height = (int) smallParams.maxHeight + 10; local 288 int height = (int) smallParams.maxHeight; local 306 int height = (int) lp.minHeight; local 328 int height = (int) lp.minHeight; local 350 int height = (int) lp.minHeight; local 446 int height = (int) lp.minHeight; local 462 int height = (int) lp.minHeight; local [all...] |
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_helper.c | 184 int height, 198 size = (uint32_t)(PAD_TO_2K(width*height)*3/2); 199 plane[0] = PAD_TO_WORD(width*height); 202 plane[0] = PAD_TO_2K(width * height); 203 plane[1] = PAD_TO_2K(width * height/2); 205 plane[0] = PAD_TO_WORD(width * height); 206 plane[1] = PAD_TO_WORD(width * height/2); 208 plane[0] = PAD_TO_WORD(width * CEILING16(height)); 209 plane[1] = PAD_TO_WORD(width * CEILING16(height)/2); 217 size = (uint32_t)(PAD_TO_2K(width*height)*3/2) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/ |
convert.h | 33 int width, int height); 43 int width, int height); 53 int width, int height); 64 int width, int height); 72 int width, int height); 81 int width, int height); 90 int width, int height); 98 int width, int height); 106 int width, int height); 114 int width, int height); [all...] |
/external/chromium_org/third_party/libyuv/include/libyuv/ |
convert.h | 33 int width, int height); 43 int width, int height); 53 int width, int height); 64 int width, int height); 72 int width, int height); 81 int width, int height); 90 int width, int height); 98 int width, int height); 106 int width, int height); 114 int width, int height); [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
ResourceModifier.java | 99 final float height = bitmap.getHeight() / 8.0f; local 103 0.0f, height, width, height, width * 2, height, width * 4, height, 104 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2, 105 0.0f, height * 4, width, height * 4, width * 2, height * 4, width * 4, height * 4 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
ImageData.cpp | 43 dataSize *= size.height(); 54 dataSize *= size.height(); 65 PassRefPtrWillBeRawPtr<ImageData> ImageData::create(unsigned width, unsigned height, ExceptionState& exceptionState) 71 if (!width || !height) { 72 exceptionState.throwDOMException(IndexSizeError, String::format("The source %s is zero or not a number.", width ? "height" : "width")); 78 dataSize *= height; 84 RefPtrWillBeRawPtr<ImageData> imageData = adoptRefWillBeNoop(new ImageData(IntSize(width, height))); 89 PassRefPtrWillBeRawPtr<ImageData> ImageData::create(Uint8ClampedArray* data, unsigned width, unsigned height, ExceptionState& exceptionState) 118 if (!height) { 119 height = length / width [all...] |
/external/chromium_org/third_party/skia/tools/skpdiff/ |
SkDifferentPixelsMetric_cpu.cpp | 23 if (baseline->width() != test->width() || baseline->height() != test->height() || 24 baseline->width() <= 0 || baseline->height() <= 0 || 27 SkASSERT(baseline->height() == test->height()); 29 SkASSERT(baseline->height() > 0); 35 int height = baseline->height(); local 42 result->poiAlphaMask.allocPixels(SkImageInfo::MakeA8(width, height)); 46 result->rgbDiffBitmap.allocPixels(SkImageInfo::Make(width, height, baseline->colorType() [all...] |
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
desktop_geometry.h | 54 DesktopSize(int32_t width, int32_t height) 55 : width_(width), height_(height) { 59 int32_t height() const { return height_; } function in class:webrtc::DesktopSize 67 void set(int32_t width, int32_t height) { 69 height_ = height; 81 return DesktopRect(0, 0, size.width(), size.height()); 83 static DesktopRect MakeWH(int32_t width, int32_t height) { 84 return DesktopRect(0, 0, width, height); 87 int32_t width, int32_t height) { 88 return DesktopRect(x, y, x + width, y + height); 106 int32_t height() const { return bottom_ - top_; } function in class:webrtc::DesktopRect [all...] |
/external/skia/samplecode/ |
SampleUnpremul.cpp | 96 SkScalar height = paint.getFontMetrics(NULL); variable 104 canvas->drawText(failure.c_str(), failure.size(), 0, height, paint); 110 header.appendf(" [%dx%d] %s", fBitmap.width(), fBitmap.height(), 112 canvas->drawText(header.c_str(), header.size(), 0, height, paint); 113 canvas->translate(0, height); 117 canvas->drawText(header.c_str(), header.size(), 0, height, paint); 118 canvas->translate(0, height); 121 canvas->drawText(header.c_str(), header.size(), 0, height, paint); 124 canvas->translate(height * 2, height * 2) [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Mosaic.cpp | 60 int Mosaic::initialize(int blendingType, int stripType, int width, int height, int nframes, bool quarter_res, float thresh_still) 73 this->height = height; 86 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data 100 LOGV("Initialize %d %d", width, height); 101 LOGV("Frame width %d,%d", width, height); 105 aligner->initialize(width, height,quarter_res,thresh_still); 112 blender->initialize(blendingType, stripType, width, height); 128 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 129 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height); [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Mosaic.cpp | 56 int Mosaic::initialize(int blendingType, int stripType, int width, int height, int nframes, bool quarter_res, float thresh_still) 69 this->height = height; 82 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data 95 LOGV("Initialize %d %d", width, height); 96 LOGV("Frame width %d,%d", width, height); 100 aligner->initialize(width, height,quarter_res,thresh_still); 107 blender->initialize(blendingType, stripType, width, height); 123 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 124 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height); [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
Image11.h | 40 virtual bool copyToStorage2D(TextureStorage *storage, int level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height); 41 virtual bool copyToStorageCube(TextureStorage *storage, int face, int level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height); 42 virtual bool copyToStorage3D(TextureStorage *storage, int level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); 43 virtual bool copyToStorage2DArray(TextureStorage *storage, int level, GLint xoffset, GLint yoffset, GLint arrayLayer, GLsizei width, GLsizei height); 45 virtual bool redefine(Renderer *renderer, GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool forceRelease); 49 virtual void loadData(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, 51 virtual void loadCompressedData(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, 54 virtual void copy(GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height, gl::Framebuffer *source); 67 bool copyToStorageImpl(TextureStorage11 *storage11, int level, int layerTarget, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
Image9.h | 38 virtual bool redefine(Renderer *renderer, GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool forceRelease); 47 virtual bool copyToStorage2D(TextureStorage *storage, int level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height); 48 virtual bool copyToStorageCube(TextureStorage *storage, int face, int level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height); 49 virtual bool copyToStorage3D(TextureStorage *storage, int level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); 50 virtual bool copyToStorage2DArray(TextureStorage *storage, int level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height); 52 virtual void loadData(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, 54 virtual void loadCompressedData(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, 57 virtual void copy(GLint xoffset, GLint yoffset, GLint zoffset,GLint x, GLint y, GLsizei width, GLsizei height, gl::Framebuffer *source); 64 bool copyToSurface(IDirect3DSurface9 *dest, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height);
|
/external/chromium_org/third_party/libyuv/source/ |
convert.cc | 69 int width, int height) { 71 int halfheight = (height + 1) >> 1; 74 width <= 0 || height == 0) { 77 // Negative height means invert the image. 78 if (height < 0) { 79 height = -height; 80 halfheight = (height + 1) >> 1; 81 src_y = src_y + (height - 1) * src_stride_y; 90 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11x11main.cpp | 8 unsigned width, height; variable 30 height = 512; 31 Window win = XCreateWindow(dpy, RootWindow(dpy, DefaultScreen(dpy)), 0, 0, width, height, 0, CopyFromParent, InputOutput, visual, CWBorderPixel | CWColormap| CWEventMask, &swa); 39 swap_chain_desc.BufferDesc.Height = height; 89 height = event.xconfigure.height; 90 swap_chain->ResizeBuffers(3, width, height, format, 0); 94 else if(width && height) 103 app->draw(ctx, rtv, width, height, ctime) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_pixel_read.c | 72 GLint x, GLint y, GLsizei width, GLsizei height, 125 dst_offset += _mesa_image_offset(2, pack, width, height, 131 &width, &height)) { 139 all = (width * height * src->cpp == dst->Base.Size && 150 y = ctx->ReadBuffer->Height - (y + height); 158 width, height, 170 GLint x, GLint y, GLsizei width, GLsizei height, 182 (ctx, x, y, width, height, format, type, pack, pixels)) 201 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels) [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
SkBlitRect_opts_SSE2.cpp | 17 int width, int height, 23 while (--height >= 0) { 51 int width, int height, 57 while (--height >= 0) { 114 int width, int height, 116 if (0 == height || 0 == width || 0 == color) { 123 BlitRect32_OpaqueNarrow_SSE2(destination, width, height, 126 BlitRect32_OpaqueWide_SSE2(destination, width, height, 130 SkBlitRow::ColorRect32(destination, width, height, rowBytes, color);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11x11main.cpp | 8 unsigned width, height; variable 30 height = 512; 31 Window win = XCreateWindow(dpy, RootWindow(dpy, DefaultScreen(dpy)), 0, 0, width, height, 0, CopyFromParent, InputOutput, visual, CWBorderPixel | CWColormap| CWEventMask, &swa); 39 swap_chain_desc.BufferDesc.Height = height; 89 height = event.xconfigure.height; 90 swap_chain->ResizeBuffers(3, width, height, format, 0); 94 else if(width && height) 103 app->draw(ctx, rtv, width, height, ctime) [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_pixel_read.c | 72 GLint x, GLint y, GLsizei width, GLsizei height, 125 dst_offset += _mesa_image_offset(2, pack, width, height, 131 &width, &height)) { 139 all = (width * height * src->cpp == dst->Base.Size && 150 y = ctx->ReadBuffer->Height - (y + height); 158 width, height, 170 GLint x, GLint y, GLsizei width, GLsizei height, 182 (ctx, x, y, width, height, format, type, pack, pixels)) 201 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels) [all...] |
/external/skia/src/opts/ |
SkBlitRect_opts_SSE2.cpp | 17 int width, int height, 23 while (--height >= 0) { 51 int width, int height, 57 while (--height >= 0) { 114 int width, int height, 116 if (0 == height || 0 == width || 0 == color) { 123 BlitRect32_OpaqueNarrow_SSE2(destination, width, height, 126 BlitRect32_OpaqueWide_SSE2(destination, width, height, 130 SkBlitRow::ColorRect32(destination, width, height, rowBytes, color);
|
/frameworks/base/graphics/java/android/graphics/ |
YuvImage.java | 28 * region by left, top, width and height. 61 * The height of the the image. 72 * @param height The height of the YuvImage. 76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { 87 if (width <= 0 || height <= 0) { 89 "width and height must large than 0"); 105 mHeight = height; 142 rectangle.height(), offsets, mStrides, quality, stream 216 int height = rect.height(); local [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
Size.java | 71 flatSizes.add(s.height()); 87 int height = Integer.parseInt(flatSizes[i + 1]); local 88 list.add(new Size(width,height)); 98 public Size(int width, int height) { 99 val = new Point(width, height); 109 val = new Point(other.width(), other.height()); 122 val = new Point(other.width, other.height); 156 public int height() { method in class:Size 176 return "Size: (" + this.width() + " x " + this.height() + ")";
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
TextureUtils.cpp | 44 GLsizei height, GLint border, 49 typedef void (GLAPIENTRY *glTexImage2DPtr_t ) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 59 GLsizei compressedSize = etc1_get_encoded_data_size(width, height); 64 const size_t size = bpr * height; 67 int res = etc1_decode_image((const etc1_byte*)data, pOut, width, height, 3, bpr); 69 glTexImage2DPtr(target,level,format,width,height,border,format,type,pOut); 87 !GLESvalidate::texImgDim(width,height,ctx->getMaxTexSize()+2),GL_INVALID_VALUE) 91 GLsizei tmpHeight = height; 96 unsigned char* uncompressed = uncompressTexture(internalformat,uncompressedFrmt,width,height,imageSize,data,i);
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/ |
convert.cc | 69 int width, int height) { 71 int halfheight = (height + 1) >> 1; 74 width <= 0 || height == 0) { 77 // Negative height means invert the image. 78 if (height < 0) { 79 height = -height; 80 halfheight = (height + 1) >> 1; 81 src_y = src_y + (height - 1) * src_stride_y; 90 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); [all...] |