Home
last modified time | relevance | path

Searched refs:img (Results 1 – 25 of 268) sorted by relevance

1234567891011

/external/libvpx/vpx/src/
Dvpx_image.c16 static vpx_image_t *img_alloc_helper(vpx_image_t *img, in img_alloc_helper() argument
104 if (!img) in img_alloc_helper()
106 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t)); in img_alloc_helper()
108 if (!img) in img_alloc_helper()
111 img->self_allocd = 1; in img_alloc_helper()
115 memset(img, 0, sizeof(vpx_image_t)); in img_alloc_helper()
118 img->img_data = img_data; in img_alloc_helper()
122 img->img_data = malloc((fmt & VPX_IMG_FMT_PLANAR) ? h * w * bps / 8 : h * s); in img_alloc_helper()
123 img->img_data_owner = 1; in img_alloc_helper()
126 if (!img->img_data) in img_alloc_helper()
[all …]
/external/opencv/cv/src/
Dcvfloodfill.cpp99 uchar* img = pImage + step * seed.y; in icvFloodFill_8u_CnIR() local
112 val0[0] = img[L]; in icvFloodFill_8u_CnIR()
115 img[L] = newVal[0]; in icvFloodFill_8u_CnIR()
117 while( ++R < roi.width && img[R] == val0[0] ) in icvFloodFill_8u_CnIR()
118 img[R] = newVal[0]; in icvFloodFill_8u_CnIR()
120 while( --L >= 0 && img[L] == val0[0] ) in icvFloodFill_8u_CnIR()
121 img[L] = newVal[0]; in icvFloodFill_8u_CnIR()
126 ICV_SET_C3( val0, img + L*3 ); in icvFloodFill_8u_CnIR()
129 ICV_SET_C3( img + L*3, newVal ); in icvFloodFill_8u_CnIR()
131 while( --L >= 0 && ICV_EQ_C3( img + L*3, val0 )) in icvFloodFill_8u_CnIR()
[all …]
Dcvtemplmatch.cpp58 CvMat istub, *img = (CvMat*)_img; in icvCrossCorr() local
66 CV_CALL( img = cvGetMat( img, &istub )); in icvCrossCorr()
70 if( CV_MAT_DEPTH( img->type ) != CV_8U && in icvCrossCorr()
71 CV_MAT_DEPTH( img->type ) != CV_16U && in icvCrossCorr()
72 CV_MAT_DEPTH( img->type ) != CV_32F ) in icvCrossCorr()
76 if( !CV_ARE_DEPTHS_EQ( img, templ ) && CV_MAT_DEPTH( templ->type ) != CV_32F ) in icvCrossCorr()
80 if( !CV_ARE_DEPTHS_EQ( img, corr ) && CV_MAT_DEPTH( corr->type ) != CV_32F && in icvCrossCorr()
85 if( (!CV_ARE_CNS_EQ( img, corr ) || CV_MAT_CN(templ->type) > 1) && in icvCrossCorr()
86 (CV_MAT_CN( corr->type ) > 1 || !CV_ARE_CNS_EQ( img, templ)) ) in icvCrossCorr()
91 depth = CV_MAT_DEPTH(img->type); in icvCrossCorr()
[all …]
Dcvcalccontrasthistogram.cpp45 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[0];
[all …]
Dcvfeatureselect.cpp80 CvMat stub, *img = (CvMat*)image; in CV_IMPLEMENT_QSORT() local
91 CV_CALL( img = cvGetMat( img, &stub, &coi1 )); in CV_IMPLEMENT_QSORT()
98 CV_CALL( _eigImg = cvCreateMat( img->rows, img->cols, CV_32FC1 )); in CV_IMPLEMENT_QSORT()
108 CV_CALL( _tmpImg = cvCreateMat( img->rows, img->cols, CV_32FC1 )); in CV_IMPLEMENT_QSORT()
124 if( CV_MAT_CN(img->type) != 1 || in CV_IMPLEMENT_QSORT()
144 CV_CALL( cvCornerHarris( img, eig, block_size, 3, harris_k )); in CV_IMPLEMENT_QSORT()
148 CV_CALL( cvCornerMinEigenVal( img, eig, block_size, 3 )); in CV_IMPLEMENT_QSORT()
157 size = cvGetMatSize( img ); in CV_IMPLEMENT_QSORT()
Dcvhough.cpp85 icvHoughLinesStandard( const CvMat* img, float rho, float theta, in CV_IMPLEMENT_QSORT_EX()
107 CV_ASSERT( CV_IS_MAT(img) && CV_MAT_TYPE(img->type) == CV_8UC1 ); in CV_IMPLEMENT_QSORT_EX()
109 image = img->data.ptr; in CV_IMPLEMENT_QSORT_EX()
110 step = img->step; in CV_IMPLEMENT_QSORT_EX()
111 width = img->cols; in CV_IMPLEMENT_QSORT_EX()
112 height = img->rows; in CV_IMPLEMENT_QSORT_EX()
191 icvHoughLinesSDiv( const CvMat* img, in IMPLEMENT_LIST()
237 CV_ASSERT( CV_IS_MAT(img) && CV_MAT_TYPE(img->type) == CV_8UC1 ); in IMPLEMENT_LIST()
242 image_src = img->data.ptr; in IMPLEMENT_LIST()
243 step = img->step; in IMPLEMENT_LIST()
[all …]
Dcvhistogram.cpp871 icvCalcHist_8u_C1R( uchar** img, int step, uchar* mask, int maskStep, in icvCalcHist_8u_C1R() argument
906 for( ; size.height--; img[0] += step ) in icvCalcHist_8u_C1R()
908 uchar* ptr = img[0]; in icvCalcHist_8u_C1R()
947 for( ; size.height--; img[0] += step, img[1] += step ) in icvCalcHist_8u_C1R()
949 uchar* ptr0 = img[0]; in icvCalcHist_8u_C1R()
950 uchar* ptr1 = img[1]; in icvCalcHist_8u_C1R()
983 for( ; size.height--; img[0] += step, img[1] += step, img[2] += step ) in icvCalcHist_8u_C1R()
985 uchar* ptr0 = img[0]; in icvCalcHist_8u_C1R()
986 uchar* ptr1 = img[1]; in icvCalcHist_8u_C1R()
987 uchar* ptr2 = img[2]; in icvCalcHist_8u_C1R()
[all …]
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/
DAWTLoader.java66 private Object extractImageData(BufferedImage img){ in extractImageData() argument
67 DataBuffer buf = img.getRaster().getDataBuffer(); in extractImageData()
79 private void flipImage(byte[] img, int width, int height, int bpp){ in flipImage() argument
85 System.arraycopy(img, y1 * scSz, sln, 0, scSz); in flipImage()
86 System.arraycopy(img, y2 * scSz, img, y1 * scSz, scSz); in flipImage()
87 System.arraycopy(sln, 0, img, y2 * scSz, scSz); in flipImage()
91 private void flipImage(short[] img, int width, int height, int bpp){ in flipImage() argument
98 System.arraycopy(img, y1 * scSz, sln, 0, scSz); in flipImage()
99 System.arraycopy(img, y2 * scSz, img, y1 * scSz, scSz); in flipImage()
100 System.arraycopy(sln, 0, img, y2 * scSz, scSz); in flipImage()
[all …]
/external/opencv/otherlibs/highgui/
Dimage.cpp99 IplImage* img = image.GetImage(); in CopyOf() local
100 if( img ) in CopyOf()
102 CopyOf( img, desired_color ); in CopyOf()
107 #define HG_IS_IMAGE(img) \ argument
108 ((img) != 0 && ((const IplImage*)(img))->nSize == sizeof(IplImage) && \
109 ((IplImage*)img)->imageData != 0)
112 void CvvImage::CopyOf( IplImage* img, int desired_color ) in CopyOf() argument
114 if( HG_IS_IMAGE(img) ) in CopyOf()
117 CvSize size = cvGetSize( img ); in CopyOf()
120 color = img->nChannels > 1; in CopyOf()
[all …]
Dhighgui.h249 CV_INLINE int iplWidth( const IplImage* img ); in LOAD_CHDL()
250 CV_INLINE int iplWidth( const IplImage* img ) in LOAD_CHDL()
252 return !img ? 0 : !img->roi ? img->width : img->roi->width; in LOAD_CHDL()
255 CV_INLINE int iplHeight( const IplImage* img ); in LOAD_CHDL()
256 CV_INLINE int iplHeight( const IplImage* img ) in LOAD_CHDL()
258 return !img ? 0 : !img->roi ? img->height : img->roi->height; in LOAD_CHDL()
365 virtual void CopyOf( IplImage* img, int desired_color = -1 );
/external/opencv/cxcore/src/
Dcximage.cpp77 IplImage* img = 0; in icvRetrieveImage() local
84 img = (IplImage*)obj; in icvRetrieveImage()
88 CV_CALL( img = cvCreateImageHeader( cvSize(m->cols,m->rows), in icvRetrieveImage()
90 cvSetData( img, m->data.ptr, m->step ); in icvRetrieveImage()
91 img->imageDataOrigin = (char*)m->refcount; in icvRetrieveImage()
103 return img; in icvRetrieveImage()
109 IplImage* img = 0; in load() local
117 img = icvRetrieveImage(cvLoad(filename,0,imgname)); in load()
118 if( (img->nChannels > 1) != (color == 0) ) in load()
132 img = load_image( filename, color ); in load()
[all …]
Dcxarray.cpp977 IplImage* img = (IplImage*)arr; in cvCreateData() local
979 if( img->imageData != 0 ) in cvCreateData()
984 CV_CALL( img->imageData = img->imageDataOrigin = in cvCreateData()
985 (char*)cvAlloc( (size_t)img->imageSize )); in cvCreateData()
989 int depth = img->depth; in cvCreateData()
990 int width = img->width; in cvCreateData()
992 if( img->depth == IPL_DEPTH_32F || img->nChannels == 64 ) in cvCreateData()
994 img->width *= img->depth == IPL_DEPTH_32F ? sizeof(float) : sizeof(double); in cvCreateData()
995 img->depth = IPL_DEPTH_8U; in cvCreateData()
998 CvIPL.allocateData( img, 0, 0 ); in cvCreateData()
[all …]
D_cxipp.h150 ( const srctype* img, int imgstep, const uchar* mask, \
154 ( const srctype* img, int imgstep, const uchar* mask, \
158 ( const srctype* img, int imgstep, const uchar* mask, \
162 ( const srctype* img, int imgstep, const uchar* mask, \
182 ( const srctype* img, int imgstep, CvSize size, double* mean, double* sdv ))\
185 ( const srctype* img, int imgstep, CvSize size, double* mean, double* sdv ))\
188 ( const srctype* img, int imgstep, CvSize size, double* mean, double* sdv ))\
191 ( const srctype* img, int imgstep, CvSize size, double* mean, double* sdv ))\
195 ( const srctype* img, int imgstep, \
200 ( const srctype* img, int imgstep, const uchar* mask, int maskStep, \
[all …]
/external/e2fsprogs/tests/
DREADME24 exception is the okgroup.img filesystem, which contains no errors, and
37 baddir.img Filesystem with a corrupted directory
38 badbblocks.img Filesystem with illegal blocks in the bad block inode.
39 badinode.img Filesystem with various different corrupted inode
41 badlkcnt.img Filesystem with deleted files with non-zero link count
42 badroot.img Filesystem with a file for a root directory
43 badtable.img Filesystem with blocks shared between the bitmaps and
45 bbfile.img Filesystem with files containing bad blocks
46 bitmaps.img Filesystem with corrupted inode and block bitmaps
47 dirlink.img Filesystem with a hard link to a directory
[all …]
/external/opencv/cxcore/include/
Dcvwimage.h242 explicit WImage(IplImage* img) : image_(img) { in WImage() argument
243 assert(!img || img->depth == Depth()); in WImage()
266 explicit WImageC(IplImage* img) : WImage<T>(img) { in WImageC() argument
267 assert(!img || img->nChannels == Channels()); in WImageC()
316 explicit WImageBuffer(IplImage* img) : WImage<T>(img) {} in WImageBuffer() argument
323 void SetIpl(IplImage* img) { in SetIpl() argument
325 WImage<T>::SetIpl(img); in SetIpl()
373 explicit WImageBufferC(IplImage* img) : WImageC<T, C>(img) {} in WImageBufferC() argument
380 void SetIpl(IplImage* img) { in SetIpl() argument
382 WImageC<T, C>::SetIpl(img); in SetIpl()
[all …]
/external/webkit/Source/WebKit/efl/DefaultTheme/widget/slider/
Dslider.edc47 set_state(PART:"img.knob", "default", 0.0);
49 set_state(PART:"img.knob", "pressed", 0.0);
51 set_state(PART:"img.knob", "pressed", 0.0);
54 set_state(PART:"img.knob", "pressed", 0.0);
56 set_state(PART:"img.knob", "pressed", 0.0);
60 set_state(PART:"img.knob", "default", 0.0);
71 set_drag_size(PART:"img.knob", 1.0, sy);
72 set_drag(PART:"img.knob", 0.0, vy);
81 get_drag(PART:"img.knob", x, y);
111 name: "img.slider";
[all …]
/external/chromium/chrome/browser/history/
Dpage_usage_data.cc27 void PageUsageData::SetThumbnail(SkBitmap* img) { in SetThumbnail() argument
28 if (thumbnail_ && thumbnail_ != img) in SetThumbnail()
31 thumbnail_ = img; in SetThumbnail()
35 void PageUsageData::SetFavicon(SkBitmap* img) { in SetFavicon() argument
36 if (favicon_ && favicon_ != img) in SetFavicon()
38 favicon_ = img; in SetFavicon()
/external/opencv/cvaux/src/
Dcvlines.cpp320 icvDeleteMoire8u( uchar * img, int img_step, CvSize img_size, int cn ) in icvDeleteMoire8u() argument
323 uchar *src = img, *dst = img + img_step; in icvDeleteMoire8u()
325 if( !img || img_size.width <= 0 || img_size.height <= 0 || img_step < img_size.width * 3 ) in icvDeleteMoire8u()
371 cvDeleteMoire( IplImage * img ) in cvDeleteMoire() argument
381 cvGetImageRawData( img, &img_data, &img_step, &img_size ); in cvDeleteMoire()
383 if( img->nChannels != 1 && img->nChannels != 3 ) in cvDeleteMoire()
385 if( img->depth != IPL_DEPTH_8U ) in cvDeleteMoire()
388 CV_CALL( icvDeleteMoire8u( img_data, img_step, img_size, img->nChannels )); in cvDeleteMoire()
406 IplImage * img, /* Source Image */ in cvPreWarpImage() argument
419 cvGetImageRawData( img, &img_data, &img_step, &img_size ); in cvPreWarpImage()
[all …]
Dcvsegment.cpp91 uchar* img = pImage + step * seed.y; in icvSegmFloodFill_Stage1() local
103 img = pImage + seed.y*step; in icvSegmFloodFill_Stage1()
107 val0[0] = img[seed.x*3]; in icvSegmFloodFill_Stage1()
108 val0[1] = img[seed.x*3 + 1]; in icvSegmFloodFill_Stage1()
109 val0[2] = img[seed.x*3 + 2]; in icvSegmFloodFill_Stage1()
111 while( DIFF( img + (R+1)*3, /*img + R*3*/val0 ) && !mask[R + 1] ) in icvSegmFloodFill_Stage1()
114 while( DIFF( img + (L-1)*3, /*img + L*3*/val0 ) && !mask[L - 1] ) in icvSegmFloodFill_Stage1()
145 img = pImage + (YC + flag) * step; in icvSegmFloodFill_Stage1()
152 if( !mask[i] && DIFF( img + i*3, /*img - curstep + i*3*/val0 )) in icvSegmFloodFill_Stage1()
156 while( !mask[j - 1] && DIFF( img + (j - 1)*3, /*img + j*3*/val0 )) in icvSegmFloodFill_Stage1()
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DImageFlipper.java48 public static void flipImage(Image img, int index){ in flipImage() argument
49 if (img.getFormat().isCompressed()) in flipImage()
53 int w = img.getWidth(); in flipImage()
54 int h = img.getHeight(); in flipImage()
58 int bpp = img.getFormat().getBitsPerPixel() / 8; in flipImage()
61 ByteBuffer data = img.getData(index); in flipImage()
/external/webkit/Source/WebKit/qt/tests/hybridPixmap/
Dwidget.cpp68 void Widget::setImage(const QImage& img) in setImage() argument
70 ui->lbl4->setPixmap(QPixmap::fromImage(img)); in setImage()
75 QImage img(ui->lbl2->size(), QImage::Format_ARGB32); in image() local
77 QPainter p(&img); in image()
80 return img; in image()
104 void Widget::imageSlot(const QImage& img) in imageSlot() argument
106 QCOMPARE(img.size(), ui->lbl3->size()); in imageSlot()
107 emit pixmapSignal(QPixmap::fromImage(img)); in imageSlot()
/external/valgrind/main/coregrind/
Dfixup_macho_loadcmds.c144 UChar* img; member
194 assert(ii->img); in unmap_image()
196 r = munmap( ii->img, ii->img_szB ); in unmap_image()
238 ii->img = (UChar*)v; in map_image_aboard()
250 ii->macho_img = ii->img; in map_image_aboard()
258 fh_be = (struct fat_header *)ii->img; in map_image_aboard()
288 ii->macho_img = ii->img + arch.offset; in map_image_aboard()
308 if (ii->macho_img >= ii->img in map_image_aboard()
309 && ii->macho_img + ii->macho_img_szB <= ii->img + ii->img_szB) { in map_image_aboard()
317 assert(ii->img); in map_image_aboard()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
DTextureKey.java87 Image img = (Image) asset; in postProcess() local
88 if (img == null) { in postProcess()
96 ByteBuffer pos_y = img.getData(2); in postProcess()
97 img.setData(2, img.getData(3)); in postProcess()
98 img.setData(3, pos_y); in postProcess()
109 if (img.hasMipmaps() || isGenerateMips()) { in postProcess()
115 tex.setImage(img); in postProcess()
/external/libvpx/vp8/
Dvp8_dx_iface.c68 vpx_image_t img; member
430 vpx_img_wrap(&ctx->img, VPX_IMG_FMT_I420, in vp8_decode()
435 vpx_img_set_rect(&ctx->img, in vp8_decode()
438 ctx->img.user_priv = user_priv; in vp8_decode()
450 vpx_image_t *img = NULL; in vp8_get_frame() local
459 img = &ctx->img; in vp8_get_frame()
460 *iter = img; in vp8_get_frame()
464 return img; in vp8_get_frame()
550 static vpx_codec_err_t image2yuvconfig(const vpx_image_t *img, in image2yuvconfig() argument
554 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/texture/
DFrameBuffer.java236 Image img = tex.getImage(); in checkSetTexture() local
237 if (img == null) in checkSetTexture()
240 if (depth && !img.getFormat().isDepthFormat()) in checkSetTexture()
242 else if (!depth && img.getFormat().isDepthFormat()) in checkSetTexture()
246 if (width != img.getWidth() || height != img.getHeight()) in checkSetTexture()
338 Image img = tex.getImage(); in addColorTexture() local
344 colorBuf.format = img.getFormat(); in addColorTexture()
358 Image img = tex.getImage(); in setDepthTexture() local
364 depthBuf.format = img.getFormat(); in setDepthTexture()

1234567891011