Home
last modified time | relevance | path

Searched refs:img (Results 1 – 25 of 254) 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/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 );
Dgrfmt_jpeg2000.cpp179 … jas_image_t *img = jas_image_chclrspc( m_image, clrprof, JAS_CMXFORM_INTENT_RELCLR ); in ReadData() local
180 if( img ) in ReadData()
183 m_image = img; in ReadData()
420 …jas_image_t *img = jas_image_create( channels, component_info, (channels == 1) ? JAS_CLRSPC_SGRAY … in WriteImage() local
421 if( !img ) in WriteImage()
425 jas_image_setcmpttype( img, 0, JAS_IMAGE_CT_GRAY_Y ); in WriteImage()
428 jas_image_setcmpttype( img, 0, JAS_IMAGE_CT_RGB_B ); in WriteImage()
429 jas_image_setcmpttype( img, 1, JAS_IMAGE_CT_RGB_G ); in WriteImage()
430 jas_image_setcmpttype( img, 2, JAS_IMAGE_CT_RGB_R ); in WriteImage()
435 result = WriteComponent8u( img, data, step, channels, width, height ); in WriteImage()
[all …]
/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/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/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/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/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/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java294 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() argument
296 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, bgcolor, observer); in drawImage()
299 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() argument
301 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer); in drawImage()
304 …public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObser… in drawImage() argument
306 return graphics.drawImage(img, x, y, width, height, bgcolor, observer); in drawImage()
309 public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) in drawImage() argument
311 return graphics.drawImage(img, x, y, width, height, observer); in drawImage()
314 public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) in drawImage() argument
316 return graphics.drawImage(img, x, y, bgcolor, observer); in drawImage()
[all …]
/external/libvpx/examples/
Ddecode_to_md5.txt35 unsigned char *buf =img->planes[plane];
37 for(y=0; y<img->d_h >> (plane?1:0); y++) {
38 MD5Update(&md5, buf, img->d_w >> (plane?1:0));
39 buf += img->stride[plane];
46 fprintf(outfile, " img-%dx%d-%04d.i420\n", img->d_w, img->d_h,
/external/libvpx/
Dvp8_api1_migration.txt65 vpx_codec_encode(&encoder, img, pts, 1, 0, 0);
71 vpx_codec_encode(&encoder, img, pts, 1, VPX_EFLAG_FORCE_KF,
79 Flush is handled by passing `NULL` to the `img` parameter of
87 vpx_codec_encode(&encoder, img, pts, 1, 0, 0);
96 vpx_codec_encode(&encoder, img, pts, 1, 0, 0);
104 vpx_codec_encode(&encoder, new_image?img:NULL, pts, 1, 0, 0);
123 vpx_codec_encode(&encoder, img, pts, 1, 0, 0);
129 vpx_codec_encode(&encoder, img, pts, 1, 0, VPX_DL_REALTIME);
145 vpx_codec_encode(&encoder, img, pts, 1, VP8_EFLAG_NO_UPD_ENTROPY,
164 vpx_codec_encode(&encoder, img, pts, 1, 0, VPX_DL_REALTIME);
[all …]
/external/e2fsprogs/tests/f_ext_journal/
Dscript1 FSCK_OPT="-fy -j journal.img"
2 SECOND_FSCK_OPT="-fy -j journal.img"
4 gunzip < $test_dir/journal.gz > journal.img
8 rm -f journal.img

1234567891011