/external/libvpx/vpx/src/ |
H A D | vpx_image.c | 16 static vpx_image_t *img_alloc_helper(vpx_image_t *img, argument 104 if (!img) 106 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t)); 108 if (!img) 111 img->self_allocd = 1; 115 memset(img, 0, sizeof(vpx_image_t)); 118 img->img_data = img_data; 122 img->img_data = malloc((fmt & VPX_IMG_FMT_PLANAR) ? h * w * bps / 8 : h * s); 123 img->img_data_owner = 1; 126 if (!img 149 vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, unsigned int d_h, unsigned int stride_align) argument 158 vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, unsigned int d_h, unsigned int stride_align, unsigned char *img_data) argument 168 vpx_img_set_rect(vpx_image_t *img, unsigned int x, unsigned int y, unsigned int w, unsigned int h) argument 229 vpx_img_flip(vpx_image_t *img) argument 252 vpx_img_free(vpx_image_t *img) argument [all...] |
/external/clang/test/CodeGen/ |
H A D | 2009-08-14-vararray-crash.c | 5 typedef imgrow img[rb]; typedef 7 const img *br;
|
/external/chromium/chrome/browser/history/ |
H A D | page_usage_data.cc | 27 void PageUsageData::SetThumbnail(SkBitmap* img) { argument 28 if (thumbnail_ && thumbnail_ != img) 31 thumbnail_ = img; 35 void PageUsageData::SetFavicon(SkBitmap* img) { argument 36 if (favicon_ && favicon_ != img) 38 favicon_ = img;
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/ |
H A D | AWTLoader.java | 66 private Object extractImageData(BufferedImage img){ argument 67 DataBuffer buf = img.getRaster().getDataBuffer(); 79 private void flipImage(byte[] img, int width, int height, int bpp){ argument 85 System.arraycopy(img, y1 * scSz, sln, 0, scSz); 86 System.arraycopy(img, y2 * scSz, img, y1 * scSz, scSz); 87 System.arraycopy(sln, 0, img, y2 * scSz, scSz); 91 private void flipImage(short[] img, int width, int height, int bpp){ argument 98 System.arraycopy(img, y1 * scSz, sln, 0, scSz); 99 System.arraycopy(img, y 104 load(BufferedImage img, boolean flipY) argument [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
H A D | ImageFlipper.java | 48 public static void flipImage(Image img, int index){ argument 49 if (img.getFormat().isCompressed()) 53 int w = img.getWidth(); 54 int h = img.getHeight(); 58 int bpp = img.getFormat().getBitsPerPixel() / 8; 61 ByteBuffer data = img.getData(index);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | ImageWin.cpp | 48 RefPtr<BitmapImage> img = BitmapImage::create(); local 49 img->setData(buffer.release(), true); 50 return img.release();
|
/external/opencv/otherlibs/highgui/ |
H A D | image.cpp | 99 IplImage* img = image.GetImage(); local 100 if( img ) 102 CopyOf( img, desired_color ); 107 #define HG_IS_IMAGE(img) \ 108 ((img) != 0 && ((const IplImage*)(img))->nSize == sizeof(IplImage) && \ 109 ((IplImage*)img)->imageData != 0) 112 void CvvImage::CopyOf( IplImage* img, int desired_color ) argument 114 if( HG_IS_IMAGE(img) ) 117 CvSize size = cvGetSize( img ); 134 IplImage* img = cvLoadImage( filename, desired_color ); local [all...] |
H A D | highgui.h | 249 CV_INLINE int iplWidth( const IplImage* img ); 250 CV_INLINE int iplWidth( const IplImage* img ) 252 return !img ? 0 : !img->roi ? img->width : img->roi->width; 255 CV_INLINE int iplHeight( const IplImage* img ); 256 CV_INLINE int iplHeight( const IplImage* img ) 258 return !img ? 0 : !img [all...] |
/external/opencv/cv/src/ |
H A D | cvfloodfill.cpp | 99 uchar* img = pImage + step * seed.y; local 112 val0[0] = img[L]; 115 img[L] = newVal[0]; 117 while( ++R < roi.width && img[R] == val0[0] ) 118 img[R] = newVal[0]; 120 while( --L >= 0 && img[L] == val0[0] ) 121 img[L] = newVal[0]; 126 ICV_SET_C3( val0, img + L*3 ); 129 ICV_SET_C3( img + L*3, newVal ); 131 while( --L >= 0 && ICV_EQ_C3( img 231 int* img = pImage + (step /= sizeof(pImage[0])) * seed.y; local 378 uchar* img = pImage + step*seed.y; local 684 float* img = pImage + (step /= sizeof(float))*seed.y; local 1032 CvMat stub, *img = (CvMat*)arr; local [all...] |
H A D | cvcalccontrasthistogram.cpp | 45 IPCVAPI(CvStatus, icvCalcContrastHist8uC1R, ( uchar** img, int step, CvSize size, 48 IPCVAPI(CvStatus, icvCalcContrastHistMask8uC1R, ( uchar** img, int step, 62 icvCalcContrastHist8uC1R( uchar** img, int step, CvSize size, 68 if( !hist || !img ) 79 if( !img[i] ) 106 uchar *data0 = img[0]; 175 icvCalcContrastHistMask8uC1R( uchar** img, int step, uchar* mask, int mask_step, 182 if( !hist || !img || !mask ) 193 if( !img[i] ) 220 uchar *data0 = img[ [all...] |
H A D | cvtemplmatch.cpp | 58 CvMat istub, *img = (CvMat*)_img; local 66 CV_CALL( img = cvGetMat( img, &istub )); 70 if( CV_MAT_DEPTH( img->type ) != CV_8U && 71 CV_MAT_DEPTH( img->type ) != CV_16U && 72 CV_MAT_DEPTH( img->type ) != CV_32F ) 76 if( !CV_ARE_DEPTHS_EQ( img, templ ) && CV_MAT_DEPTH( templ->type ) != CV_32F ) 80 if( !CV_ARE_DEPTHS_EQ( img, corr ) && CV_MAT_DEPTH( corr->type ) != CV_32F && 85 if( (!CV_ARE_CNS_EQ( img, corr ) || CV_MAT_CN(templ->type) > 1) && 86 (CV_MAT_CN( corr->type ) > 1 || !CV_ARE_CNS_EQ( img, temp 336 CvMat stub, *img = (CvMat*)_img; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/efl/ |
H A D | ImageEfl.cpp | 63 RefPtr<BitmapImage> img = BitmapImage::create(); local 65 img->setData(buffer.release(), true); 66 return img.release();
|
/external/opencv/cxcore/src/ |
H A D | cximage.cpp | 77 IplImage* img = 0; local 84 img = (IplImage*)obj; 88 CV_CALL( img = cvCreateImageHeader( cvSize(m->cols,m->rows), 90 cvSetData( img, m->data.ptr, m->step ); 91 img->imageDataOrigin = (char*)m->refcount; 103 return img; 109 IplImage* img = 0; local 117 img = icvRetrieveImage(cvLoad(filename,0,imgname)); 118 if( (img->nChannels > 1) != (color == 0) ) 123 CV_CALL( temp_img = cvCreateImage( cvGetSize(img), im 150 IplImage* img = 0; local 170 IplImage* img = 0; local 240 IplImage* img = (IplImage*)obj; local [all...] |
/external/genext2fs/ |
H A D | test-gen.lib | 23 ./genext2fs -N 17 -b $blocks -d test -f -q ext2.img 34 ./genext2fs -N 92 -b $blocks -D test/$fname -f ext2.img 40 rm -rf ext2.img test 46 digest=`md5sum ext2.img 2>/dev/null | cut -f 1 -d " "` 50 digest=`md5 ext2.img 2>/dev/null | cut -f 4 -d " "`
|
H A D | test-mount.sh | 39 /sbin/e2fsck -fn ext2.img || fail 41 mount -t ext2 -o ro,loop ext2.img mnt || fail 59 /sbin/e2fsck -fn ext2.img || fail 61 mount -t ext2 -o ro,loop ext2.img mnt || fail
|
/external/jmonkeyengine/engine/src/core/com/jme3/asset/ |
H A D | TextureKey.java | 87 Image img = (Image) asset; 88 if (img == null) { 96 ByteBuffer pos_y = img.getData(2); 97 img.setData(2, img.getData(3)); 98 img.setData(3, pos_y); 109 if (img.hasMipmaps() || isGenerateMips()) { 115 tex.setImage(img);
|
/external/webkit/Source/WebKit/qt/tests/hybridPixmap/ |
H A D | widget.cpp | 68 void Widget::setImage(const QImage& img) argument 70 ui->lbl4->setPixmap(QPixmap::fromImage(img)); 75 QImage img(ui->lbl2->size(), QImage::Format_ARGB32); 77 QPainter p(&img); 80 return img; 104 void Widget::imageSlot(const QImage& img) argument 106 QCOMPARE(img.size(), ui->lbl3->size()); 107 emit pixmapSignal(QPixmap::fromImage(img));
|
/external/chromium/chrome/browser/resources/ntp4/ |
H A D | apps_page.css | 19 .app img { 30 .app.grabber-pressed img {
|
/external/webkit/Source/WebCore/css/ |
H A D | quirks.css | 25 img[align="left"] { 28 img[align="right"] {
|
/external/opencv/cxcore/include/ |
H A D | cvwimage.h | 242 explicit WImage(IplImage* img) : image_(img) { argument 243 assert(!img || img->depth == Depth()); 266 explicit WImageC(IplImage* img) : WImage<T>(img) { argument 267 assert(!img || img->nChannels == Channels()); 316 explicit WImageBuffer(IplImage* img) : WImage<T>(img) {} argument 323 SetIpl(IplImage* img) argument 373 WImageBufferC(IplImage* img) argument 380 SetIpl(IplImage* img) argument 434 WImageView(IplImage* img) argument 437 WImageView(const WImage<T>& img) argument 442 operator =(const WImage<T>& img) argument 475 WImageViewC(IplImage* img) argument 480 WImageViewC(const WImageC<T, C>& img) argument 484 WImageViewC(const WImageViewC<T, C>& img) argument 489 operator =(const WImageC<T, C>& img) argument 494 operator =(const WImageViewC<T, C>& img) argument 554 WImageView(WImage<T>* img, int c, int r, int width, int height) argument 577 WImageViewC(WImageC<T, C>* img, int c, int r, int width, int height) argument [all...] |
/external/libvpx/vpx/ |
H A D | vpx_image.h | 157 * \param[in] img Pointer to storage for descriptor. If this parameter 165 * \return Returns a pointer to the initialized image descriptor. If the img 166 * parameter is non-null, the value of the img parameter will be 169 vpx_image_t *vpx_img_alloc(vpx_image_t *img, 181 * \param[in] img Pointer to storage for descriptor. If this parameter 190 * \return Returns a pointer to the initialized image descriptor. If the img 191 * parameter is non-null, the value of the img parameter will be 194 vpx_image_t *vpx_img_wrap(vpx_image_t *img, 207 * \param[in] img Image descriptor 215 int vpx_img_set_rect(vpx_image_t *img, [all...] |
/external/opencv/cvaux/src/ |
H A D | cvlines.cpp | 312 // img - image data 320 icvDeleteMoire8u( uchar * img, int img_step, CvSize img_size, int cn ) argument 323 uchar *src = img, *dst = img + img_step; 325 if( !img || img_size.width <= 0 || img_size.height <= 0 || img_step < img_size.width * 3 ) 366 // Parameters: img - image on which will delete moire 371 cvDeleteMoire( IplImage * img ) 381 cvGetImageRawData( img, &img_data, &img_step, &img_size ); 383 if( img->nChannels != 1 && img 405 cvPreWarpImage( int numLines, IplImage * img, uchar * dst, int *dst_nums, int *scanlines ) argument 449 cvPostWarpImage( int numLines, uchar * src, int *src_nums, IplImage * img, int *scanlines ) argument [all...] |
/external/chromium/chrome/common/extensions/docs/examples/api/tabs/screenshot/ |
H A D | screenshot.js | 6 chrome.tabs.captureVisibleTab(null, function(img) { 7 var screenshotUrl = img;
|
/external/jmonkeyengine/engine/src/core/com/jme3/texture/ |
H A D | TextureArray.java | 43 for (Image img : images) { 44 if (img.getHeight() != height || img.getWidth() != width) { 50 arrayImage.addData(img.getData(0));
|
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
H A D | TextureUtil.java | 114 Image img, 122 if (img.getEfficentData() instanceof AndroidImageInfo){ 124 AndroidImageInfo imageInfo = (AndroidImageInfo) img.getEfficentData(); 132 Image.Format fmt = img.getFormat(); 134 if (index >= 0 || img.getData() != null && img.getData().size() > 0){ 135 data = img.getData(index); 140 int width = img.getWidth(); 141 int height = img.getHeight(); 142 int depth = img 113 uploadTexture( Image img, int target, int index, int border, boolean tdc, boolean generateMips, boolean powerOf2) argument [all...] |