Searched refs:img (Results 1 - 25 of 474) sorted by relevance

1234567891011>>

/external/libvpx/libvpx/vpx/src/
H A Dvpx_image.c18 static vpx_image_t *img_alloc_helper(vpx_image_t *img, vpx_img_fmt_t fmt, argument
100 if (!img) {
101 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t));
103 if (!img) goto fail;
105 img->self_allocd = 1;
107 memset(img, 0, sizeof(vpx_image_t));
110 img->img_data = img_data;
128 img->img_data = (uint8_t *)vpx_memalign(buf_align, (size_t)alloc_size);
129 img->img_data_owner = 1;
132 if (!img
154 vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, unsigned int d_h, unsigned int align) argument
160 vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, unsigned int d_h, unsigned int stride_align, unsigned char *img_data) argument
168 vpx_img_set_rect(vpx_image_t *img, unsigned int x, unsigned int y, unsigned int w, unsigned int h) argument
218 vpx_img_flip(vpx_image_t *img) argument
241 vpx_img_free(vpx_image_t *img) argument
[all...]
/external/skia/gm/
H A DmakeRasterImage.cpp13 auto img = GetResourceAsImage("images/color_wheel.png"); local
14 canvas->drawImage(img->makeRasterImage(), 0,0);
H A Dsrgb.cpp16 auto img = GetResourceAsImage("images/mandrill_256.png"); local
30 canvas->drawImage(img, 0, 0, nullptr);
31 canvas->drawImage(img, 256, 0, &p);
34 canvas->drawImage(img, 0, 256, &p);
36 canvas->drawImage(img, 256, 256, &p);
39 canvas->drawImage(img, 0, 512, &p);
41 canvas->drawImage(img, 256, 512, &p);
/external/skqp/gm/
H A DmakeRasterImage.cpp13 auto img = GetResourceAsImage("images/color_wheel.png"); local
14 canvas->drawImage(img->makeRasterImage(), 0,0);
H A Dsrgb.cpp16 auto img = GetResourceAsImage("images/mandrill_256.png"); local
30 canvas->drawImage(img, 0, 0, nullptr);
31 canvas->drawImage(img, 256, 0, &p);
34 canvas->drawImage(img, 0, 256, &p);
36 canvas->drawImage(img, 256, 256, &p);
39 canvas->drawImage(img, 0, 512, &p);
41 canvas->drawImage(img, 256, 512, &p);
/external/pdfium/core/fxcodec/jbig2/
H A DJBig2_Image_unittest.cpp24 CJBig2_Image img(kWidthPixels, kHeightLines);
25 img.setPixel(0, 0, true);
26 img.setPixel(kWidthPixels - 1, kHeightLines - 1, false);
27 EXPECT_EQ(kWidthPixels, img.width());
28 EXPECT_EQ(kHeightLines, img.height());
29 EXPECT_TRUE(img.getPixel(0, 0));
30 EXPECT_FALSE(img.getPixel(kWidthPixels - 1, kHeightLines - 1));
34 CJBig2_Image img(kWidthPixels, kTooLargeHeightLines);
35 EXPECT_EQ(0, img.width());
36 EXPECT_EQ(0, img
[all...]
/external/mesa3d/src/egl/main/
H A Deglimage.h95 _eglInitImage(_EGLImage *img, _EGLDisplay *dpy);
102 _eglGetImage(_EGLImage *img) argument
104 if (img)
105 _eglGetResource(&img->Resource);
106 return img;
114 _eglPutImage(_EGLImage *img) argument
116 return (img) ? _eglPutResource(&img->Resource) : EGL_FALSE;
125 _eglLinkImage(_EGLImage *img) argument
127 _eglLinkResource(&img
137 _eglUnlinkImage(_EGLImage *img) argument
150 _EGLImage *img = (_EGLImage *) image; local
161 _eglGetImageHandle(_EGLImage *img) argument
[all...]
/external/clang/test/CodeGen/
H A D2009-08-14-vararray-crash.c5 typedef imgrow img[rb]; typedef
7 const img *br;
/external/mesa3d/src/gallium/drivers/ilo/core/
H A Dilo_image.h198 ilo_image_init(struct ilo_image *img,
203 ilo_image_can_enable_aux(const struct ilo_image *img, unsigned level) argument
205 return (img->aux.enables & (1 << level));
212 ilo_image_pos_to_mem(const struct ilo_image *img, argument
216 assert(pos_x % img->block_width == 0);
217 assert(pos_y % img->block_height == 0);
219 *mem_x = pos_x / img->block_width * img->block_size;
220 *mem_y = pos_y / img->block_height;
227 ilo_image_mem_to_linear(const struct ilo_image *img, argument
237 ilo_image_mem_to_raw(const struct ilo_image *img, unsigned mem_x, unsigned mem_y) argument
276 ilo_image_get_slice_stride(const struct ilo_image *img, unsigned level) argument
308 ilo_image_get_slice_size(const struct ilo_image *img, unsigned level) argument
324 ilo_image_get_slice_pos(const struct ilo_image *img, unsigned level, unsigned slice, unsigned *x, unsigned *y) argument
[all...]
/external/libvpx/libvpx/vp9/
H A Dvp9_iface_common.h15 static void yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, argument
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
81 image2yuvconfig(const vpx_image_t *img, YV12_BUFFER_CONFIG *yv12) argument
[all...]
/external/spirv-llvm/lib/SPIRV/runtime/OpenCL/inc/
H A Dspirv.h1 __attribute__((overloadable, always_inline)) int __spirv_ImageQuerySize(image1d_buffer_t img);
2 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySize(image1d_array_t img);
3 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySize(image2d_t img);
4 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySize(image2d_depth_t img);
5 __attribute__((overloadable, always_inline)) int3 __spirv_ImageQuerySize(image2d_array_t img);
6 __attribute__((overloadable, always_inline)) int3 __spirv_ImageQuerySize(image2d_array_depth_t img);
8 __attribute__((overloadable, always_inline)) int __spirv_ImageQuerySizeLod(image1d_t img, int lod);
9 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySizeLod(image1d_array_t img, int lod);
10 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySizeLod(image2d_t img, int lod);
11 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySizeLod(image2d_depth_t img, in
[all...]
/external/libvpx/libvpx/test/
H A Dmd5_helper.h22 void Add(const vpx_image_t *img) { argument
24 const uint8_t *buf = img->planes[plane];
30 (img->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1;
32 plane ? (img->d_h + img->y_chroma_shift) >> img->y_chroma_shift
33 : img->d_h;
35 (plane ? (img->d_w + img->x_chroma_shift) >> img
[all...]
/external/pdfium/third_party/libtiff/
H A Dtif_getimage.c43 static int BuildMapUaToAa(TIFFRGBAImage* img);
44 static int BuildMapBitdepth16To8(TIFFRGBAImage* img);
217 TIFFRGBAImageEnd(TIFFRGBAImage* img) argument
219 if (img->Map) {
220 _TIFFfree(img->Map);
221 img->Map = NULL;
223 if (img->BWmap) {
224 _TIFFfree(img->BWmap);
225 img->BWmap = NULL;
227 if (img
268 TIFFRGBAImageBegin(TIFFRGBAImage* img, TIFF* tif, int stop, char emsg[1024]) argument
503 TIFFRGBAImageGet(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) argument
527 TIFFRGBAImage img; local
556 setorientation(TIFFRGBAImage* img) argument
623 gtTileContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) argument
770 gtTileSeparate(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) argument
952 gtStripContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) argument
1040 gtStripSeparate(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) argument
1828 putcontig8bitYCbCrGenericTile( TIFFRGBAImage* img, uint32* cp, uint32 x, uint32 y, uint32 w, uint32 h, int32 fromskew, int32 toskew, unsigned char* pp, int h_group, int v_group ) argument
[all...]
/external/syslinux/diag/geodsp/
H A DMakefile26 geodsp1s.img.xz geodspms.img.xz
35 %.img.xz: %.bin mk-lba-img.pl
36 $(PERL) $(SRC)/mk-lba-img.pl $< | $(XZ) -0 > $@ || ( rm -f $@ ; false )
38 %.img.gz: %.bin mk-lba-img.pl
39 $(PERL) $(SRC)/mk-lba-img.pl $< | $(GZIPPROG) -9 > $@ || ( rm -f $@ ; false )
42 %.img: %.bin mk-lba-img
[all...]
/external/valgrind/coregrind/m_debuginfo/
H A Dimage.c84 // True: img is of local file. False: img is from a server.
130 static Bool is_sane_CEnt ( const HChar* who, const DiImage* img, UInt i ) argument
132 vg_assert(img);
135 CEnt* ce = img->ces[i];
142 if (!(ce->off >= img->real_size || ce->off == 0)) goto fail;
143 if (!(ce->off + ce->used <= img->size)) goto fail;
148 if (!(ce->off + ce->used <= img->real_size)) goto fail;
482 static inline CSlc* find_cslc ( DiImage* img, DiOffT off ) argument
484 for (UInt i = 0; i < img
494 alloc_CEnt( DiImage* img, SizeT szB, Bool fromC ) argument
514 realloc_CEnt( DiImage* img, UInt entNo, SizeT szB ) argument
526 move_CEnt_to_top( DiImage* img, UInt entNo ) argument
542 set_CEnt( const DiImage* img, UInt entNo, DiOffT off ) argument
650 get_slowcase( DiImage* img, DiOffT off ) argument
805 get( DiImage* img, DiOffT off ) argument
844 DiImage* img = ML_(dinfo_zalloc)("di.image.ML_iflf.1", sizeof(DiImage)); local
933 DiImage* img = ML_(dinfo_zalloc)("di.image.ML_ifds.1", sizeof(DiImage)); local
979 img_mark_compressed_part(DiImage* img, DiOffT offset, SizeT szC, SizeT szD) argument
1002 img_done(DiImage* img) argument
1032 img_size(const DiImage* img) argument
1038 img_real_size(const DiImage* img) argument
1044 img_valid(const DiImage* img, DiOffT offset, SizeT size) argument
1052 ensure_valid_failed(const DiImage* img, DiOffT offset, SizeT size, const HChar* caller) argument
1070 ensure_valid(const DiImage* img, DiOffT offset, SizeT size, const HChar* caller) argument
1080 img_get( void* dst, DiImage* img, DiOffT offset, SizeT size) argument
1092 img_get_some( void* dst, DiImage* img, DiOffT offset, SizeT size) argument
1117 img_strlen(DiImage* img, DiOffT off) argument
1125 img_strdup(DiImage* img, const HChar* cc, DiOffT offset) argument
1138 img_strcmp(DiImage* img, DiOffT off1, DiOffT off2) argument
1152 img_strcmp_c(DiImage* img, DiOffT off1, const HChar* str2) argument
1165 img_get_UChar(DiImage* img, DiOffT offset) argument
1171 img_get_UShort(DiImage* img, DiOffT offset) argument
1178 img_get_UInt(DiImage* img, DiOffT offset) argument
1185 img_get_ULong(DiImage* img, DiOffT offset) argument
1197 img_calc_gnu_debuglink_crc32(DiImage* img) argument
[all...]
H A Dpriv_image.h78 DiOffT ML_(img_size)(const DiImage* img);
81 DiOffT ML_(img_real_size)(const DiImage* img);
84 Bool ML_(img_valid)(const DiImage* img, DiOffT offset, SizeT size);
89 DiImage* img, DiOffT offset, SizeT size);
93 Fetches between 1 and |size| bytes from |img| at |offset| and
100 DiImage* img, DiOffT offset, SizeT size);
105 HChar* ML_(img_strdup)(DiImage* img, const HChar* cc, DiOffT offset);
109 Int ML_(img_strcmp)(DiImage* img, DiOffT off1, DiOffT off2);
113 Int ML_(img_strcmp_c)(DiImage* img, DiOffT off1, const HChar* str2);
116 SizeT ML_(img_strlen)(DiImage* img, DiOff
151 struct { DiImage* img; DiOffT ioff; } member in struct:__anon28872
157 mk_DiCursor( DiImage* img, DiOffT ioff ) argument
174 struct { DiImage* img; DiOffT ioff; DiOffT szB; } member in struct:__anon28873
181 mk_DiSlice( DiImage* img, DiOffT ioff, DiOffT szB ) argument
[all...]
/external/skia/fuzz/oss_fuzz/
H A DFuzzImage.cpp15 auto img = SkImage::MakeFromEncoded(bytes); local
16 if (nullptr == img.get()) {
27 s->getCanvas()->drawImage(img, 0, 0, &p);
/external/e2fsprogs/lib/ext2fs/
H A Dqcow2.c13 * [root]# qemu-nbd -c /dev/nbd0 image.img
89 static int qcow2_read_l1_table(struct ext2_qcow2_image *img) argument
91 int fd = img->fd;
92 size_t size, l1_size = img->l1_size * sizeof(blk64_t);
100 if (ext2fs_llseek(fd, img->l1_offset, SEEK_SET) < 0) {
111 img->l1_table = table;
116 static int qcow2_read_l2_table(struct ext2_qcow2_image *img, argument
119 int fd = img->fd;
127 size = read(fd, *l2_table, img->cluster_size);
128 if (size != img
162 struct ext2_qcow2_image img; local
[all...]
/external/toybox/tests/
H A Dblkid.test9 bzcat "$BDIR"/squashfs.bz2 > temp.img
10 testing "file" "blkid temp.img" 'temp.img: TYPE="squashfs"\n' "" ""
11 rm temp.img
/external/opencv/otherlibs/highgui/
H A Dimage.cpp99 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 ) argument
114 if( HG_IS_IMAGE(img) )
117 CvSize size = cvGetSize( img );
134 IplImage* img = cvLoadImage( filename, desired_color ); local
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_tex_obj.h79 intel_texture_image(struct gl_texture_image *img) argument
81 return (struct intel_texture_image *) img;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_tex_obj.h88 intel_texture_image(struct gl_texture_image *img) argument
90 return (struct intel_texture_image *) img;
/external/python/cpython2/Demo/tkinter/guido/
H A Dimageview.py7 img = PhotoImage(file=filename)
8 label = Label(root, image=img)
/external/syslinux/gpxe/src/util/
H A Dgenliso31 img=$dir/boot.img
32 mformat -f 1440 -C -i $img ::
62 mcopy -m -i $img $f ::$g
65 mcopy -i $img $cfg ::syslinux.cfg
67 if ! syslinux $img
72 mkisofs -q -o $out -c boot.cat -b boot.img $dir
/external/pdfium/core/fxcodec/codec/
H A Dfx_codec_jpx_opj.cpp59 void sycc444_to_rgb(opj_image_t* img) { argument
60 int prec = img->comps[0].prec;
67 std::min({img->comps[0].w, img->comps[1].w, img->comps[2].w});
69 std::min({img->comps[0].h, img->comps[1].h, img->comps[2].h});
76 const int* y = img->comps[0].data;
77 const int* cb = img
100 sycc420_422_size_is_valid(opj_image_t* img) argument
107 sycc420_size_is_valid(opj_image_t* img) argument
113 sycc422_size_is_valid(opj_image_t* img) argument
117 sycc422_to_rgb(opj_image_t* img) argument
177 is_sycc420(const opj_image_t* img) argument
183 is_sycc422(const opj_image_t* img) argument
189 is_sycc444(const opj_image_t* img) argument
195 color_sycc_to_rgb(opj_image_t* img) argument
289 sycc420_to_rgb(opj_image_t* img) argument
[all...]

Completed in 665 milliseconds

1234567891011>>