/external/libvpx/libvpx/vpx/src/ |
vpx_image.c | 43 static vpx_image_t *img_alloc_helper(vpx_image_t *img, 136 if (!img) { 137 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t)); 139 if (!img) 142 img->self_allocd = 1; 144 memset(img, 0, sizeof(vpx_image_t)); 147 img->img_data = img_data; 150 img->img_data = img_buf_memalign(buf_align, ((fmt & VPX_IMG_FMT_PLANAR) ? 152 img->img_data_owner = 1; 155 if (!img->img_data [all...] |
/docs/source.android.com/scripts/ |
cleanup.sh | 3 for img in *.png *.gif *.jpg 5 FOUND=`grep -R $img ../site_src` 8 mv $img useless/
|
/external/libvpx/libvpx/vp9/ |
vp9_iface_common.h | 13 static void yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, 22 img->fmt = VPX_IMG_FMT_I444; 25 img->fmt = VPX_IMG_FMT_I422; 29 img->fmt = VPX_IMG_FMT_I420; 31 img->w = yv12->y_stride; 32 img->h = ALIGN_POWER_OF_TWO(yv12->y_height + 2 * VP9BORDERINPIXELS, 3); 33 img->d_w = yv12->y_crop_width; 34 img->d_h = yv12->y_crop_height; 35 img->x_chroma_shift = yv12->uv_width < yv12->y_width; 36 img->y_chroma_shift = yv12->uv_height < yv12->y_height [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
eglimage.h | 74 _eglInitImage(_EGLImage *img, _EGLDisplay *dpy); 81 _eglGetImage(_EGLImage *img) 83 if (img) 84 _eglGetResource(&img->Resource); 85 return img; 93 _eglPutImage(_EGLImage *img) 95 return (img) ? _eglPutResource(&img->Resource) : EGL_FALSE; 104 _eglLinkImage(_EGLImage *img) 106 _eglLinkResource(&img->Resource, _EGL_RESOURCE_IMAGE) 129 _EGLImage *img = (_EGLImage *) image; local [all...] |
/external/mesa3d/src/egl/main/ |
eglimage.h | 74 _eglInitImage(_EGLImage *img, _EGLDisplay *dpy); 81 _eglGetImage(_EGLImage *img) 83 if (img) 84 _eglGetResource(&img->Resource); 85 return img; 93 _eglPutImage(_EGLImage *img) 95 return (img) ? _eglPutResource(&img->Resource) : EGL_FALSE; 104 _eglLinkImage(_EGLImage *img) 106 _eglLinkResource(&img->Resource, _EGL_RESOURCE_IMAGE) 129 _EGLImage *img = (_EGLImage *) image; local [all...] |
/external/clang/test/CodeGen/ |
2009-08-14-vararray-crash.c | 5 typedef imgrow img[rb]; typedef 7 const img *br;
|
/external/libvpx/libvpx/test/ |
md5_helper.h | 26 void Add(const vpx_image_t *img) { 28 const uint8_t *buf = img->planes[plane]; 33 const int h = plane ? (img->d_h + img->y_chroma_shift) >> 34 img->y_chroma_shift : img->d_h; 35 const int w = plane ? (img->d_w + img->x_chroma_shift) >> 36 img->x_chroma_shift : img->d_w [all...] |
/external/pixman/pixman/ |
pixman-accessor.h | 3 #define READ(img, ptr) \ 4 (((bits_image_t *)(img))->read_func ((ptr), sizeof(*(ptr)))) 5 #define WRITE(img, ptr,val) \ 6 (((bits_image_t *)(img))->write_func ((ptr), (val), sizeof (*(ptr)))) 8 #define MEMSET_WRAPPED(img, dst, val, size) \ 13 WRITE((img), _dst +_i, (val)); \ 19 #define READ(img, ptr) (*(ptr)) 20 #define WRITE(img, ptr, val) (*(ptr) = (val)) 21 #define MEMSET_WRAPPED(img, dst, val, size) \
|
pixman-solid-fill.c | 55 pixman_image_t *img = _pixman_image_allocate (); local 57 if (!img) 60 img->type = SOLID; 61 img->solid.color = *color; 62 img->solid.color_32 = color_to_uint32 (color); 63 img->solid.color_float = color_to_float (color); 65 return img;
|
/external/chromium/chrome/browser/history/ |
page_usage_data.cc | 27 void PageUsageData::SetThumbnail(SkBitmap* img) { 28 if (thumbnail_ && thumbnail_ != img) 31 thumbnail_ = img; 35 void PageUsageData::SetFavicon(SkBitmap* img) { 36 if (favicon_ && favicon_ != img) 38 favicon_ = img;
|
/hardware/samsung_slsi/exynos5/libhwjpeg/ |
ExynosJpegDecoder.cpp | 1334 unsigned char *img[4]; local [all...] |
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/ |
AWTLoader.java | 66 private Object extractImageData(BufferedImage img){ 67 DataBuffer buf = img.getRaster().getDataBuffer(); 79 private void flipImage(byte[] img, int width, int height, int bpp){ 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){ 98 System.arraycopy(img, y1 * scSz, sln, 0, scSz); 99 System.arraycopy(img, y2 * scSz, img, y1 * scSz, scSz) 188 BufferedImage img = ImageIO.read(in); local 201 Image img = load(in, flip); local [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
ImageFlipper.java | 48 public static void flipImage(Image img, int index){ 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/opencv/otherlibs/highgui/ |
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 ) 114 if( HG_IS_IMAGE(img) ) 117 CvSize size = cvGetSize( img ); 134 IplImage* img = cvLoadImage( filename, desired_color ); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_tex_obj.h | 77 intel_texture_image(struct gl_texture_image *img) 79 return (struct intel_texture_image *) img;
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_obj.h | 77 intel_texture_image(struct gl_texture_image *img) 79 return (struct intel_texture_image *) img;
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities.cpp | 26 float **img; local 28 img=new float* [h]; 31 img[i]=im+w*i; 33 return(img); 39 unsigned char **img; local 43 img=new unsigned char* [h]; 46 img[i]=im+w*i; 48 return(img); 52 float **img,*im; local 55 img=db_SetupImageReferences_f(im,w,h) 62 unsigned char **img,*im; local [all...] |
/packages/apps/Camera2/jni/feature_stab/db_vlvm/ |
db_utilities.cpp | 26 float **img; local 28 img=new float* [h]; 31 img[i]=im+w*i; 33 return(img); 39 unsigned char **img; local 43 img=new unsigned char* [h]; 46 img[i]=im+w*i; 48 return(img); 52 float **img,*im; local 55 img=db_SetupImageReferences_f(im,w,h) 62 unsigned char **img,*im; local [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities.cpp | 26 float **img; local 28 img=new float* [h]; 31 img[i]=im+w*i; 33 return(img); 39 unsigned char **img; local 43 img=new unsigned char* [h]; 46 img[i]=im+w*i; 48 return(img); 52 float **img,*im; local 55 img=db_SetupImageReferences_f(im,w,h) 62 unsigned char **img,*im; local [all...] |
/external/opencv/cv/src/ |
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 + L*3, val0 ) 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...] |
/hardware/libhardware/tests/camera2/ |
CameraStreamFixture.h | 199 void DumpYuvToFile(const String8 &fileName, const CpuConsumer::LockedBuffer &img) { 205 switch (img.format) { 207 stride = img.stride; 208 chromaStride = img.chromaStride; 209 chromaStep = img.chromaStep; 210 dataCb = img.dataCb; 211 dataCr = img.dataCr; 214 stride = img.width; 215 chromaStride = img.width; 217 dataCr = img.data + img.width * img.height [all...] |
/bootable/diskinstaller/ |
installer.conf | 10 filename /data/boot.img 16 filename /data/system.img 22 filename /data/userdata.img
|
/external/opencv/cxcore/src/ |
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), img->depth, color > 0 ? 3 : 1 )) 150 IplImage* img = 0; local 170 IplImage* img = 0; local 240 IplImage* img = (IplImage*)obj; local [all...] |
/external/genext2fs/ |
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 " "`
|
/pdk/apps/CameraITS/pymodules/its/ |
image.py | 96 def apply_lut_to_image(img, lut): 117 img: Numpy float image array, with pixel values in [0,1]. 127 return (lut[(img * m).astype(numpy.uint16)] / m).astype(numpy.float32) 129 def apply_matrix_to_image(img, mat): 140 img: Numpy float image array, with pixel values in [0,1]. 146 h = img.shape[0] 147 w = img.shape[1] 149 img2.reshape(w*h*3)[:] = (numpy.dot(img.reshape(h*w, 3), mat.T) 153 def get_image_patch(img, xnorm, ynorm, wnorm, hnorm): 157 img: Numpy float image array, with pixel values in [0,1] [all...] |