/external/libvpx/libvpx/vpx/src/ |
vpx_image.c | 18 static vpx_image_t *img_alloc_helper(vpx_image_t *img, vpx_img_fmt_t fmt, 81 if (!img) { 82 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t)); 84 if (!img) goto fail; 86 img->self_allocd = 1; 88 memset(img, 0, sizeof(vpx_image_t)); 91 img->img_data = img_data; 109 img->img_data = (uint8_t *)vpx_memalign(buf_align, (size_t)alloc_size); 110 img->img_data_owner = 1; 113 if (!img->img_data) goto fail [all...] |
/external/libaom/libaom/aom/src/ |
aom_image.c | 30 aom_image_t *img, aom_img_fmt_t fmt, unsigned int d_w, unsigned int d_h, 101 if (!img) { 102 img = (aom_image_t *)calloc(1, sizeof(aom_image_t)); 104 if (!img) goto fail; 106 img->self_allocd = 1; 108 memset(img, 0, sizeof(aom_image_t)); 111 img->img_data = img_data; 121 img->img_data = (uint8_t *)aom_memalign(buf_align, (size_t)alloc_size); 122 img->img_data_owner = 1; 123 img->sz = (size_t)alloc_size [all...] |
/external/skia/gm/ |
makeRasterImage.cpp | 13 if (auto img = GetResourceAsImage("images/color_wheel.png")) { 14 canvas->drawImage(img->makeRasterImage(), 0,0);
|
srgb.cpp | 16 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/ |
makeRasterImage.cpp | 13 if (auto img = GetResourceAsImage("images/color_wheel.png")) { 14 canvas->drawImage(img->makeRasterImage(), 0,0);
|
srgb.cpp | 16 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/ |
JBig2_Image_unittest.cpp | 24 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.height()) [all...] |
/external/clang/test/CodeGen/ |
2009-08-14-vararray-crash.c | 5 typedef imgrow img[rb]; typedef 7 const img *br;
|
/external/mesa3d/src/egl/main/ |
eglimage.h | 100 _eglInitImage(_EGLImage *img, _EGLDisplay *dpy) 102 _eglInitResource(&img->Resource, sizeof(*img), dpy); 110 _eglGetImage(_EGLImage *img) 112 if (img) 113 _eglGetResource(&img->Resource); 114 return img; 122 _eglPutImage(_EGLImage *img) 124 return (img) ? _eglPutResource(&img->Resource) : EGL_FALSE 158 _EGLImage *img = (_EGLImage *) image; local [all...] |
/external/libaom/libaom/av1/ |
av1_iface_common.h | 17 static void yuvconfig2image(aom_image_t *img, const YV12_BUFFER_CONFIG *yv12, 27 img->fmt = AOM_IMG_FMT_I444; 30 img->fmt = AOM_IMG_FMT_I422; 34 img->fmt = AOM_IMG_FMT_I420; 37 img->cp = yv12->color_primaries; 38 img->tc = yv12->transfer_characteristics; 39 img->mc = yv12->matrix_coefficients; 40 img->monochrome = yv12->monochrome; 41 img->csp = yv12->chroma_sample_position; 42 img->range = yv12->color_range [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...] |
/external/spirv-llvm/lib/SPIRV/runtime/OpenCL/inc/ |
spirv.h | 1 __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, int lod) [all...] |
/external/libaom/libaom/common/ |
rawenc.h | 23 void raw_write_image_file(const aom_image_t *img, const int *planes, 25 void raw_update_image_md5(const aom_image_t *img, const int *planes,
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
fd5_image.c | 60 static void translate_image(struct fd5_image *img, struct pipe_image_view *pimg) 68 memset(img, 0, sizeof(*img)); 72 img->pfmt = format; 73 img->fmt = fd5_pipe2tex(format); 74 img->fetchsize = fd5_pipe2fetchsize(format); 75 img->type = fd5_tex_type(prsc->target); 76 img->srgb = util_format_is_srgb(format); 77 img->cpp = rsc->cpp; 78 img->bo = rsc->bo 215 struct fd5_image img; local [all...] |
/external/libaom/libaom/test/ |
md5_helper.h | 23 void Add(const aom_image_t *img) { 25 const uint8_t *buf = img->planes[plane]; 31 (img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; 33 plane ? (img->d_h + img->y_chroma_shift) >> img->y_chroma_shift 34 : img->d_h; 36 (plane ? (img->d_w + img->x_chroma_shift) >> img->x_chroma_shif [all...] |
/external/libvpx/libvpx/test/ |
md5_helper.h | 22 void Add(const vpx_image_t *img) { 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->x_chroma_shif [all...] |
/external/skia/src/core/ |
SkBitmapProvider.h | 16 explicit SkBitmapProvider(const SkImage* img) 17 : fImage(img) { 18 SkASSERT(img);
|
/external/skqp/src/core/ |
SkBitmapProvider.h | 16 explicit SkBitmapProvider(const SkImage* img) 17 : fImage(img) { 18 SkASSERT(img);
|
/external/pdfium/third_party/libtiff/ |
tif_getimage.c | 43 static int BuildMapUaToAa(TIFFRGBAImage* img); 44 static int BuildMapBitdepth16To8(TIFFRGBAImage* img); 217 TIFFRGBAImageEnd(TIFFRGBAImage* img) 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->PALmap) 527 TIFFRGBAImage img; local [all...] |
/device/linaro/hikey/installer/hikey960/ |
flash-all.sh | 18 fastboot flash xloader "${INSTALLER_DIR}"/hisi-sec_xloader.img 19 fastboot flash ptable "${INSTALLER_DIR}"/hisi-ptable.img 20 fastboot flash fastboot "${INSTALLER_DIR}"/hisi-fastboot.img 22 fastboot flash nvme "${INSTALLER_DIR}"/hisi-nvme.img 23 fastboot flash fw_lpm3 "${INSTALLER_DIR}"/hisi-lpm3.img 25 fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.img 26 fastboot flash dts "${ANDROID_PRODUCT_OUT}"/dt.img 27 fastboot flash system "${ANDROID_PRODUCT_OUT}"/system.img 28 fastboot flash vendor "${ANDROID_PRODUCT_OUT}"/vendor.img 29 fastboot flash userdata "${ANDROID_PRODUCT_OUT}"/userdata.img [all...] |
/external/e2fsprogs/lib/ext2fs/ |
qcow2.c | 13 * [root]# qemu-nbd -c /dev/nbd0 image.img 89 static int qcow2_read_l1_table(struct ext2_qcow2_image *img) 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, 119 int fd = img->fd; 127 size = read(fd, *l2_table, img->cluster_size); 128 if (size != img->cluster_size 162 struct ext2_qcow2_image img; local [all...] |
/device/linaro/hikey/build/tasks/ |
dtimage.mk | 7 $(PRODUCT_OUT)/dt.img: $(DTB) 10 droidcore: $(PRODUCT_OUT)/dt.img 12 # Images will be packed into target_files zip, and hikey-img.zip. 13 INSTALLED_RADIOIMAGE_TARGET += $(PRODUCT_OUT)/dt.img 14 BOARD_PACK_RADIOIMAGES += dt.img
|
/device/linaro/hikey/l-loader/ |
hikey960.mk | 6 all: l-loader.bin prm_ptable.img 11 prm_ptable.img: 14 cp prm_ptable.img ptable-$${ptable}.img;\ 19 rm -f *.img l-loader.bin
|
/external/u-boot/board/freescale/common/ |
fsl_validate.c | 64 static u32 check_ie(struct fsl_secboot_img_priv *img) 66 if (img->hdr.ie_flag & IE_FLAG_MASK) 182 static u32 check_srk(struct fsl_secboot_img_priv *img) 187 return !check_ie(img); 191 if (img->hdr.len_kr.srk_table_flag & SRK_FLAG) 219 static u32 read_validate_srk_tbl(struct fsl_secboot_img_priv *img) 223 struct fsl_secboot_img_hdr *hdr = &img->hdr; 224 void *esbc = (u8 *)(uintptr_t)img->ehdrloc; 242 memcpy(&img->srk_tbl, esbc + hdr->srk_tbl_off, size); 245 if (!CHECK_KEY_LEN(img->srk_tbl[i].key_len) 835 struct fsl_secboot_img_priv *img = *img_ptr; local 864 struct fsl_secboot_img_priv *img; local [all...] |
/external/skia/fuzz/oss_fuzz/ |
FuzzImage.cpp | 15 auto img = SkImage::MakeFromEncoded(bytes); local 16 if (nullptr == img.get()) { 27 s->getCanvas()->drawImage(img, 0, 0, &p);
|