HomeSort by relevance Sort by last modified time
    Searched refs:width (Results 226 - 250 of 4433) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/opencv/otherlibs/highgui/
image.cpp 82 if( !m_img || Bpp() != bpp || m_img->width != w || m_img->height != h )
122 if( Create( size.width, size.height,
148 if( r.width < 0 || r.height < 0 ) return false;
154 if( r.width == 0 || r.height == 0 )
156 r.width = img->width;
161 if( r.x > img->width || r.y > img->height ||
162 r.x + r.width < 0 || r.y + r.height < 0 )
171 r.width += r.x;
180 if( r.x + r.width > img->width
    [all...]
cvcap_socket.cpp 75 width = 0;
96 int width; // the width of the images received over the socket member in class:CVCapture_Socket
115 width = _width;
117 if (width <= 0 || height <= 0)
119 LOGV("Invalid width or height!");
141 readBufSize = width * height * sizeof(int);
158 width = 0;
187 static IplImage* loadPixels(char* pixels, int width, int height) {
190 IplImage *img = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 3)
    [all...]
  /development/tools/yuv420sp2rgb/
yuv420sp2rgb.c 34 int width; member in struct:rgb_context
52 int width, int height,
66 ctx.width = width;
72 for (j = 0; j < width; j++) {
73 nB = *(pY + i * width + j);
82 for (j = 0; j < width; j++) {
83 nY = *(pY + i * width + j);
84 nV = *(pUV + (i/2) * width + bytes_per_pixel * (j/2));
85 nU = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1)
273 int height, width, gray, rotate; local
    [all...]
  /external/webkit/Source/WebCore/platform/gtk/
WidgetRenderingContext.cpp 90 m_paintRect = IntRect(IntPoint(m_extraSpace.width(), m_extraSpace.height()),
93 int width = m_targetRect.width() + (m_extraSpace.width() * 2); local
101 if (!gScratchBuffer || scratchWidth < width || scratchHeight < height) {
104 width = (1 + (width >> 5)) << 5;
107 gScratchBuffer = gdk_pixmap_new(0, width, height, gdk_colormap_get_visual(theme->m_colormap)->depth);
137 fullTargetRect.inflateX(m_extraSpace.width());
141 cairo_rectangle(cairoContext, fullTargetRect.x(), fullTargetRect.y(), fullTargetRect.width(), fullTargetRect.height())
    [all...]
  /external/webkit/Source/WebCore/rendering/
RenderScrollbar.cpp 50 int width = 0; local
55 width = part->width();
58 width = this->width();
62 setFrameRect(IntRect(0, 0, width, height));
188 int oldThickness = isHorizontal ? height() : width();
193 newThickness = isHorizontal ? part->height() : part->width();
197 setFrameRect(IntRect(x(), y(), isHorizontal ? width() : newThickness, isHorizontal ? newThickness : height()));
291 return IntRect(x(), y(), isHorizontal ? partRenderer->width() : width(), isHorizontal ? height() : partRenderer->height())
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PorterDuffColorFilterTest.java 41 int width = 100; local
43 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888);
45 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888);
48 Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888);
58 assertEquals(Color.RED, target.getPixel(width / 4, height / 4));
59 int lowerLeft = target.getPixel(width / 4, height * 3 / 4);
62 int lowerRight = target.getPixel(width * 3 / 4, height * 3 / 4);
71 assertEquals(Color.RED, target.getPixel(width / 4, height / 4));
72 assertEquals(Color.BLUE, target.getPixel(width / 4, height * 3 / 4));
73 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4))
    [all...]
  /frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
adaptive_smooth_no_mmx.cpp 51 width = value of type int that specifies the width of the display
90 location of pelc0 = [(y_start+1) * width] + x_start
93 incrementing or decrementing "width" elements within Rec_Y.
97 (y_blk_start, x_blk_start). The width and height of the block is BLKSIZE.
219 int width, /* i */
248 addr_v = (int32)(y_start + 1) * width; /* y coord of 1st element in the row /
264 pelu = *(Rec_Y_ptr - width); /* assigning value of pelu0 to pelu */
269 pell = *(Rec_Y_ptr + width); /* assigning value of pell0 to pell */
278 pelu = *(Rec_Y_ptr - width); /* assigning value of pelu1 to pelu *
    [all...]
  /packages/apps/Camera/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)
68 this->width = width;
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)
    [all...]
  /bionic/libc/stdio/
vfscanf.c 105 size_t width; /* field width, or 0 */ local
140 width = 0;
201 width = width * 10 + c - '0';
347 if (width == 0)
348 width = 1;
352 if ((n = fp->_r) < (int)width) {
354 width -= n;
362 sum += width;
    [all...]
  /development/tools/emulator/opengl/host/libs/Translator/GLcommon/
TextureUtils.cpp 43 GLenum internalformat, GLsizei width,
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);
63 const int32_t bpr = ((width * 3) + align) & ~align;
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)
90 GLsizei tmpWidth = width;
96 unsigned char* uncompressed = uncompressTexture(internalformat,uncompressedFrmt,width,height,imageSize,data,i);
  /external/skia/gpu/include/
GrTexture.h 38 * @return the width of the rendertarget
40 int width() const { return fWidth; } function in class:GrRenderTarget
98 * @param width width of rectangle to read in pixels.
106 bool readPixels(int left, int top, int width, int height,
122 int width,
128 , fWidth(width)
167 * Retrieves the width of the texture.
169 * @return the width in texels
171 int width() const { return fWidth; function in class:GrTexture
    [all...]
  /external/skia/src/images/
SkCreateRLEPixelRef.cpp 46 ChunkRLEPixels(int width, int height, size_t chunkSize)
47 : SkBitmap::RLEPixels(width, height), fStorage(chunkSize) {
61 size_t maxPacked = SkPackBits::ComputeMaxSize8(src.width());
70 (src.width(), src.height(), size));
83 size_t packedSize = SkPackBits::Pack8(srcRow, src.width(), dstRow);
96 uint8_t* buffer = new uint8_t[src.width()];
99 SkPackBits::Unpack8(buffer, 0, src.width(), rlePixels->packedAtY(y));
100 int n = memcmp(buffer, srcRow, src.width());
111 src.width(), src.height(), src.getSize(),
  /external/webkit/Source/WebCore/platform/chromium/
ScrollbarThemeChromium.cpp 57 return IntRect(scrollbar->x(), scrollbar->y(), size.width(), size.height());
69 x = scrollbar->x() + scrollbar->width() - size.width();
75 return IntRect(x, y, size.width(), size.height());
87 if (scrollbar->width() < 2 * thickness)
89 return IntRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness);
108 if (rect.height() <= 0 || rect.width() <= 0)
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoProcessor.java 41 * @param maxDisplayPhotoDim The maximum height and width for the display photo.
42 * @param maxThumbnailPhotoDim The maximum height and width for the thumbnail photo.
53 * @param maxDisplayPhotoDim The maximum height and width for the display photo.
54 * @param maxThumbnailPhotoDim The maximum height and width for the thumbnail photo.
66 * @param maxDisplayPhotoDim The maximum height and width for the display photo.
67 * @param maxThumbnailPhotoDim The maximum height and width for the thumbnail photo.
86 * @param maxDisplayPhotoDim The maximum height and width for the display photo.
87 * @param maxThumbnailPhotoDim The maximum height and width for the thumbnail photo.
113 * Scales down the original bitmap to fit within the given maximum width and height.
116 * @param maxDim Maximum width and height (in pixels) for the image
122 int width = mOriginal.getWidth(); local
    [all...]
  /development/samples/BrowserPlugin/src/com/android/sampleplugin/
PaintSurface.java 45 public PaintSurface(Context context, int NPP, int width, int height) {
53 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
56 nativeSurfaceChanged(npp, format, width, height);
79 this.getHolder().setFixedSize(width, height);
93 private native void nativeSurfaceChanged(int npp, int format, int width, int height);
  /external/astl/tests/
test_ios_base.cpp 58 EXPECT_TRUE(s.width() == 0);
64 EXPECT_TRUE(s.width(10) == 0);
65 EXPECT_TRUE(s.width() == 10);
66 EXPECT_TRUE(s.width(-1) == 10); // no-op
67 EXPECT_TRUE(s.width() == 10);
  /external/clang/test/CodeGen/
vla.c 55 void function(short width, int data[][width]) {} // expected-note {{passing argument to parameter 'data' here}}
67 void function1(short width, int data[][width][width]) {}
  /external/quake/quake/src/QW/client/
d_modech.c 72 d_zrowbytes = vid.width * 2;
73 d_zwidth = vid.width;
75 d_pix_min = r_refdef.vrect.width / 320;
79 d_pix_max = (int)((float)r_refdef.vrect.width / (320.0 / 4.0) + 0.5);
80 d_pix_shift = 8 - (int)((float)r_refdef.vrect.width / 320.0 + 0.5);
  /external/quake/quake/src/WinQuake/
d_modech.cpp 72 d_zrowbytes = vid.width * 2;
73 d_zwidth = vid.width;
75 d_pix_min = r_refdef.vrect.width / 320;
79 d_pix_max = (int)((float)r_refdef.vrect.width / (320.0 / 4.0) + 0.5);
80 d_pix_shift = 8 - (int)((float)r_refdef.vrect.width / 320.0 + 0.5);
  /external/webkit/Source/WebCore/platform/image-decoders/openvg/
ImageDecoderOpenVG.cpp 50 TiledImageOpenVG* tiledImage = new TiledImageOpenVG(IntSize(width(), height()), vgMaxImageSize);
59 tileRect.width(), tileRect.height(), VG_IMAGE_QUALITY_FASTER);
63 pixelData += (tileRect.y() * width()) + tileRect.x();
66 width() * sizeof(PixelData), bufferFormat,
67 0, 0, tileRect.width(), tileRect.height());
  /external/webkit/Source/WebKit/chromium/src/
VideoFrameChromiumImpl.cpp 68 unsigned VideoFrameChromiumImpl::width() const function in class:WebKit::VideoFrameChromiumImpl
71 return m_webVideoFrame->width();
75 unsigned VideoFrameChromiumImpl::width(unsigned plane) const function in class:WebKit::VideoFrameChromiumImpl
77 unsigned planeWidth = width();
134 return stride(plane) - width(plane) > 0;
  /frameworks/base/core/jni/android/graphics/
YuvToJpegEncoder.h 27 * @param width Width of the the Yuv data in terms of pixels.
33 bool encode(SkWStream* stream, void* inYuv, int width,
41 void setJpegCompressStruct(jpeg_compress_struct* cinfo, int width,
55 void deinterleaveYuv(uint8_t* yuv, int width, int height,
58 int rowIndex, int width);
71 uint8_t* vRows, int rowIndex, int width, int height);
  /frameworks/base/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
h264bsdWriteMacroblock.s 27 width RN 2 label
93 LDR width, [image, #4]
101 LSL width, width, #4
103 LSR cwidth, width, #1
104 VST1 {qRow0}, [luma@128], width
106 VST1 {qRow1}, [luma@128], width
108 VST1 {qRow2}, [luma@128], width
110 VST1 {qRow3}, [luma@128], width
112 VST1 {qRow4}, [luma@128], width
    [all...]
  /frameworks/base/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
h264bsdWriteMacroblock.S 29 #define width r2 define
95 LDR width, [image, #4]
103 LSL width, width, #4
105 LSR cwidth, width, #1
106 VST1 {qRow0}, [luma,:128], width
108 VST1 {qRow1}, [luma,:128], width
110 VST1 {qRow2}, [luma,:128], width
112 VST1 {qRow3}, [luma,:128], width
114 VST1 {qRow4}, [luma,:128], width
    [all...]
  /packages/apps/Camera/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;
49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0;
50 for (int i = 0; i < width; i += 4, ypd++) {
51 int y = (0xff & ((int) yuv420sp[j * width + i])) - 16;

Completed in 466 milliseconds

1 2 3 4 5 6 7 8 91011>>