/external/libvpx/libvpx/vpx/src/ |
vpx_image.c | 18 static vpx_image_t *img_alloc_helper(vpx_image_t *img, 135 if (!img) { 136 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t)); 138 if (!img) 141 img->self_allocd = 1; 143 memset(img, 0, sizeof(vpx_image_t)); 146 img->img_data = img_data; 155 img->img_data = (uint8_t *)vpx_memalign(buf_align, (size_t)alloc_size); 156 img->img_data_owner = 1; 159 if (!img->img_data [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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...] |
/external/libvpx/libvpx/vp9/ |
vp9_iface_common.h | 15 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; 32 img->fmt = VPX_IMG_FMT_I440; 35 img->fmt = VPX_IMG_FMT_I420; 39 img->cs = yv12->color_space; 40 img->range = yv12->color_range; 41 img->bit_depth = 8; 42 img->w = yv12->y_stride; 43 img->h = ALIGN_POWER_OF_TWO(yv12->y_height + 2 * VP9_ENC_BORDER_IN_PIXELS, 3) [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/opencv3/samples/python2/ |
logpolar.py | 11 img = cv2.imread(fn) variable 12 if img is None: 16 img2 = cv2.logPolar(img, (img.shape[0]/2, img.shape[1]/2), 40, cv2.WARP_FILL_OUTLIERS) 17 img3 = cv2.linearPolar(img, (img.shape[0]/2, img.shape[1]/2), 40, cv2.WARP_FILL_OUTLIERS) 19 cv2.imshow('before', img)
|
lappyr.py | 20 def build_lappyr(img, leveln=6, dtype=np.int16): 21 img = dtype(img) 24 next_img = cv2.pyrDown(img) 25 img1 = cv2.pyrUp(next_img, dstsize=getsize(img)) 26 levels.append(img-img1) 27 img = next_img 28 levels.append(img) 32 img = levels[-1] 34 img = cv2.pyrUp(img, dstsize=getsize(lev_img) [all...] |
contours.py | 16 img = np.zeros((500, 500), np.uint8) 28 cv2.line(img, (x1, y1), (x2, y2), white) 30 cv2.ellipse( img, (dx+150, dy+100), (100,70), 0, 0, 360, white, -1 ) 31 cv2.ellipse( img, (dx+115, dy+70), (30,20), 0, 0, 360, black, -1 ) 32 cv2.ellipse( img, (dx+185, dy+70), (30,20), 0, 0, 360, black, -1 ) 33 cv2.ellipse( img, (dx+115, dy+70), (15,15), 0, 0, 360, white, -1 ) 34 cv2.ellipse( img, (dx+185, dy+70), (15,15), 0, 0, 360, white, -1 ) 35 cv2.ellipse( img, (dx+115, dy+70), (5,5), 0, 0, 360, black, -1 ) 36 cv2.ellipse( img, (dx+185, dy+70), (5,5), 0, 0, 360, black, -1 ) 37 cv2.ellipse( img, (dx+150, dy+100), (10,5), 0, 0, 360, black, -1 46 img = make_image() variable [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;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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/strace/qemu_multiarch_testing/ |
make-hdc-img.sh | 4 [ ! -e hdc.img.dir ] 9 if mountpoint -q hdc.img.dir; then 10 umount -d hdc.img.dir 12 mountpoint -q hdc.img.dir || 13 rm -rf hdc.img.dir 23 rm -f hdc.img 24 dd if=/dev/zero of=hdc.img count=1 bs=1024 seek=$(($size*2)) 25 mkfs.ext3 -q -F -b 1024 -i 4096 hdc.img 26 tune2fs -c 0 -i 0 hdc.img 27 mkdir hdc.img.di [all...] |
parallel-build-hdc-img.sh | 9 rm -f hdb.img 10 nice -n10 time ./native-build.sh ../hdc.img 11 $keep_hdb || rm -f hdb.img
|
/external/libvpx/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...] |
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
ImageTaskManager.java | 40 public boolean appendTasks(ImageToProcess img, Set<TaskImageContainer> tasks); 48 public boolean appendTasks(ImageToProcess img, TaskImageContainer task); 57 * @param img the image to be released by the task. 62 public void releaseSemaphoreReference(final ImageToProcess img, Executor executor);
|
/external/opencv3/modules/imgcodecs/src/ |
grfmt_hdr.cpp | 85 Mat img(m_height, m_width, CV_32FC3); 91 RGBE_ReadPixels_RLE(file, const_cast<float*>(img.ptr<float>()), img.cols, img.rows); 94 if(_img.depth() == img.depth()) { 95 img.convertTo(_img, _img.type()); 97 img.convertTo(_img, _img.type(), 255); 127 Mat img; local 131 merge(splitted, img); 133 input_img.copyTo(img); [all...] |
/external/pdfium/third_party/libtiff/ |
tif_getimage.c | 42 static int BuildMapUaToAa(TIFFRGBAImage* img); 43 static int BuildMapBitdepth16To8(TIFFRGBAImage* img); 212 TIFFRGBAImageEnd(TIFFRGBAImage* img) 214 if (img->Map) 215 _TIFFfree(img->Map), img->Map = NULL; 216 if (img->BWmap) 217 _TIFFfree(img->BWmap), img->BWmap = NULL; 218 if (img->PALmap 508 TIFFRGBAImage img; local [all...] |
/external/opencv3/3rdparty/libtiff/ |
tif_getimage.c | 42 static int BuildMapUaToAa(TIFFRGBAImage* img); 43 static int BuildMapBitdepth16To8(TIFFRGBAImage* img); 197 TIFFRGBAImageEnd(TIFFRGBAImage* img) 199 if (img->Map) 200 _TIFFfree(img->Map), img->Map = NULL; 201 if (img->BWmap) 202 _TIFFfree(img->BWmap), img->BWmap = NULL; 203 if (img->PALmap 493 TIFFRGBAImage img; local [all...] |
/external/opencv3/samples/android/hello-android/ |
main.cpp | 17 Mat img(textsize.height + 20, textsize.width + 20, CV_32FC1, Scalar(230,230,230)); 18 putText(img, message, Point(10, img.rows - 10), FONT_HERSHEY_COMPLEX, 3, Scalar(0, 0, 0), 5); 22 imwrite("/mnt/sdcard/HelloAndroid.png", img); 24 imshow("test", img);
|
/external/opencv3/samples/cpp/ |
minarea.cpp | 24 Mat img(500, 500, CV_8UC3); 36 pt.x = rng.uniform(img.cols/4, img.cols*3/4); 37 pt.y = rng.uniform(img.rows/4, img.rows*3/4); 56 img = Scalar::all(0); 60 circle( img, points[i], 3, Scalar(0, 0, 255), FILLED, LINE_AA ); 64 line(img, vtx[i], vtx[(i+1)%4], Scalar(0, 255, 0), 1, LINE_AA); 68 line(img, triangle[i], triangle[(i+1)%3], Scalar(255, 255, 0), 1, LINE_AA); 71 circle(img, center, cvRound(radius), Scalar(0, 255, 255), 1, LINE_AA) [all...] |
delaunay2.cpp | 19 static void draw_subdiv_point( Mat& img, Point2f fp, Scalar color ) 21 circle( img, fp, 3, color, FILLED, LINE_8, 0 ); 24 static void draw_subdiv( Mat& img, Subdiv2D& subdiv, Scalar delaunay_color ) 37 line(img, pt[0], pt[1], delaunay_color, 1, LINE_AA, 0); 38 line(img, pt[1], pt[2], delaunay_color, 1, LINE_AA, 0); 39 line(img, pt[2], pt[0], delaunay_color, 1, LINE_AA, 0); 49 line(img, pt0, pt1, delaunay_color, 1, LINE_AA, 0); 54 static void locate_point( Mat& img, Subdiv2D& subdiv, Point2f fp, Scalar active_color ) 67 line( img, org, dst, active_color, 3, LINE_AA, 0 ); 74 draw_subdiv_point( img, fp, active_color ) [all...] |
/external/opencv3/modules/imgproc/perf/opencl/ |
perf_gftt.cpp | 69 Mat img = imread(getDataPath(fileName), cv::IMREAD_GRAYSCALE); local 70 ASSERT_FALSE(img.empty()) << "could not load " << fileName; 72 checkDeviceMaxMemoryAllocSize(img.size(), img.type()); 74 UMat src(img.size(), img.type()), dst(1, maxCorners, CV_32FC2); 75 img.copyTo(src);
|
/device/linaro/hikey/build/tasks/ |
boot_fat.mk | 4 $(PRODUCT_OUT)/boot_fat.uefi.img: $(INSTALLED_KERNEL_TARGET) $(INSTALLED_RAMDISK_TARGET) $(PRODUCT_OUT)/hi6220-hikey.dtb 5 # $@ is referring to $(PRODUCT_OUT)/boot_fat.uefi.img 11 mcopy -i $@ $(PRODUCT_OUT)/ramdisk.img ::ramdisk.img 13 droidcore: $(PRODUCT_OUT)/boot_fat.uefi.img
|
/external/opencv3/modules/stitching/test/ |
test_matchers.cpp | 53 Mat img = imread(string(cvtest::TS::ptr()->get_data_path()) + "cv/shared/lena.png"); local 56 rois.push_back(Rect(0, 0, img.cols / 2, img.rows / 2)); 57 rois.push_back(Rect(img.cols / 2, img.rows / 2, img.cols - img.cols / 2, img.rows - img.rows / 2)); 59 (*finder)(img, roi_features, rois) [all...] |
/external/valgrind/coregrind/m_debuginfo/ |
priv_image.h | 78 DiOffT ML_(img_size)(const DiImage* img); 81 Bool ML_(img_valid)(const DiImage* img, DiOffT offset, SizeT size); 86 DiImage* img, DiOffT offset, SizeT size); 90 Fetches between 1 and |size| bytes from |img| at |offset| and 97 DiImage* img, DiOffT offset, SizeT size); 102 HChar* ML_(img_strdup)(DiImage* img, const HChar* cc, DiOffT offset); 106 Int ML_(img_strcmp)(DiImage* img, DiOffT off1, DiOffT off2); 110 Int ML_(img_strcmp_c)(DiImage* img, DiOffT off1, const HChar* str2); 113 SizeT ML_(img_strlen)(DiImage* img, DiOffT off); 117 UChar ML_(img_get_UChar) (DiImage* img, DiOffT offset) 141 struct { DiImage* img; DiOffT ioff; } member in struct:__anon26284 164 struct { DiImage* img; DiOffT ioff; DiOffT szB; } member in struct:__anon26285 [all...] |