/external/chromium_org/third_party/libvpx/source/libvpx/vpx/src/ |
vpx_image.c | 18 static vpx_image_t *img_alloc_helper(vpx_image_t *img, 129 if (!img) { 130 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t)); 132 if (!img) 135 img->self_allocd = 1; 137 memset(img, 0, sizeof(vpx_image_t)); 140 img->img_data = img_data; 149 img->img_data = (uint8_t *)vpx_memalign(buf_align, (size_t)alloc_size); 150 img->img_data_owner = 1; 153 if (!img->img_data [all...] |
/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 * VP9_ENC_BORDER_IN_PIXELS, 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/libvpx/source/libvpx/vp9/ |
vp9_iface_common.h | 13 static void yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, 24 img->fmt = VPX_IMG_FMT_I444; 27 img->fmt = VPX_IMG_FMT_I422; 31 img->fmt = VPX_IMG_FMT_I420; 34 img->bit_depth = 8; 35 img->w = yv12->y_stride; 36 img->h = ALIGN_POWER_OF_TWO(yv12->y_height + 2 * VP9_ENC_BORDER_IN_PIXELS, 3); 37 img->d_w = yv12->y_crop_width; 38 img->d_h = yv12->y_crop_height; 39 img->x_chroma_shift = ss_x [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/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/ |
ImageD3D.cpp | 20 ImageD3D *ImageD3D::makeImageD3D(Image *img) 22 ASSERT(HAS_DYNAMIC_TYPE(rx::ImageD3D*, img)); 23 return static_cast<rx::ImageD3D*>(img);
|
/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 | 24 void Add(const vpx_image_t *img) { 26 const uint8_t *buf = img->planes[plane]; 31 const int h = plane ? (img->d_h + img->y_chroma_shift) >> 32 img->y_chroma_shift : img->d_h; 33 const int w = plane ? (img->d_w + img->x_chroma_shift) >> 34 img->x_chroma_shift : img->d_w [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
md5_helper.h | 24 void Add(const vpx_image_t *img) { 26 const uint8_t *buf = img->planes[plane]; 32 (img->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; 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) * bytes_per_sample [all...] |
user_priv_test.cc | 42 // compares the user_priv from return img with the original user_priv to see if 66 const vpx_image_t *img = NULL; local 69 while ((img = dec_iter.Next())) { 71 CheckUserPrivateData(img->user_priv, NULL); 73 CheckUserPrivateData(img->user_priv, &frame_num); 81 CheckUserPrivateData(ref.img.user_priv, NULL); 83 md5.Add(img);
|
/external/chromium_org/ui/accessibility/extensions/highcontrast/ |
highcontrast.css | 8 html[hcx="0"] img[src*="jpg"], 9 html[hcx="0"] img[src*="jpeg"], 11 html[hcx="0"] img.rg_i, 21 html[hcx="1"] img[src*="jpg"], 22 html[hcx="1"] img[src*="jpeg"], 23 html[hcx="1"] img.rg_i, 34 html[hcx="2"] img[src*="jpg"], 35 html[hcx="2"] img[src*="jpeg"], 36 html[hcx="2"] img.rg_i, 47 html[hcx="3"] img[src*="jpg"] [all...] |
/external/e2fsprogs/lib/ext2fs/ |
qcow2.c | 13 * [root]# qemu-nbd -c /dev/nbd0 image.img 84 static int qcow2_read_l1_table(struct ext2_qcow2_image *img) 86 int fd = img->fd; 87 size_t size, l1_size = img->l1_size * sizeof(blk64_t); 95 if (ext2fs_llseek(fd, img->l1_offset, SEEK_SET) < 0) { 106 img->l1_table = table; 111 static int qcow2_read_l2_table(struct ext2_qcow2_image *img, 114 int fd = img->fd; 122 size = read(fd, *l2_table, img->cluster_size); 123 if (size != img->cluster_size 157 struct ext2_qcow2_image img; local [all...] |
/cts/tests/tests/media/libmediandkjni/ |
codec-utils-jni.cpp | 167 NativeImage *img = new NativeImage; local 168 img->format = env->CallIntMethod(image, gFields.methodFormat); 169 img->width = env->CallIntMethod(image, gFields.methodWidth); 170 img->height = env->CallIntMethod(image, gFields.methodHeight); 171 img->timestamp = env->CallLongMethod(image, gFields.methodTimestamp); 179 img->crop.left = env->GetIntField(area, gFields.fieldLeft); 180 img->crop.top = env->GetIntField(area, gFields.fieldTop); 181 img->crop.right = env->GetIntField(area, gFields.fieldRight); 182 img->crop.bottom = env->GetIntField(area, gFields.fieldBottom); 183 if (img->crop.right == 0 && img->crop.bottom == 0) 247 NativeImage *img = getNativeImage(env, image); local 310 NativeImage *img = getNativeImage(env, image, area); local 432 NativeImage *img = getNativeImage(env, image, area); local 449 NativeImage *img = getNativeImage(env, image, area); local [all...] |
/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;
|
/development/perftests/panorama/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...] |
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
decode_to_md5.c | 44 static void get_image_md5(const vpx_image_t *img, unsigned char digest[16]) { 51 const unsigned char *buf = img->planes[plane]; 52 const int stride = img->stride[plane]; 53 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w; 54 const int h = plane ? (img->d_h + 1) >> 1 : img->d_h; 112 vpx_image_t *img = NULL; local 119 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) { 122 get_image_md5(img, digest) [all...] |
/external/libvpx/libvpx/examples/ |
decode_to_md5.c | 46 static void get_image_md5(const vpx_image_t *img, unsigned char digest[16]) { 53 const unsigned char *buf = img->planes[plane]; 54 const int stride = img->stride[plane]; 55 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w; 56 const int h = plane ? (img->d_h + 1) >> 1 : img->d_h; 114 vpx_image_t *img = NULL; local 121 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) { 124 get_image_md5(img, digest) [all...] |
/development/build/ |
sdk-android-armeabi-v7a.atree | 21 ${HOST_OUT}/development/sys-img-${TARGET_CPU_ABI}/images_armeabi-v7a_source.properties system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/source.properties 24 development/sys-img/images_armeabi-v7a_hardware.ini system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/hardware.ini
|
/device/asus/tilapia/factory-images/ |
generate-factory-images-package.sh | 43 BOOTLOADERFILE=bootloader.img 45 RADIOFILE=radio.img
|
/cts/apps/CameraITS/tests/scene1/ |
test_yuv_plus_jpeg.py | 44 img = its.image.convert_capture_to_rgb_image(cap_yuv, True) 45 its.image.write_image(img, "%s_yuv.jpg" % (NAME)) 46 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 49 img = its.image.convert_capture_to_rgb_image(cap_jpeg, True) 50 its.image.write_image(img, "%s_jpeg.jpg" % (NAME)) 51 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
|