Searched defs:image (Results 1 - 25 of 30) sorted by relevance

12

/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scp/
H A Dcss_sds.c16 int css_scp_boot_image_xfer(void *image, unsigned int image_size) argument
27 VERBOSE("Writing SCP image metadata\n");
28 image_offset = (uintptr_t) image - ARM_TRUSTED_SRAM_BASE;
41 VERBOSE("Marking SCP image metadata as valid\n");
57 * image.
H A Dcss_bom_bootloader.c102 int css_scp_boot_image_xfer(void *image, unsigned int image_size) argument
109 assert((uintptr_t) image == SCP_BL2_BASE);
112 ERROR("Invalid size for the SCP_BL2 image. Must be a multiple of "
118 /* Extract the checksum from the image */
119 checksum = *(uint32_t *) image;
120 image = (char *) image + sizeof(checksum);
125 VERBOSE("Send info about the SCP_BL2 image to be transferred to SCP\n");
128 * Send information about the SCP firmware image about to be transferred
165 VERBOSE("Transferring SCP_BL2 image t
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Ddynload_next.c40 NSObjectFileImage image; local
55 rc = NSCreateObjectFileImageFromFile(pathname, &image);
61 errString = "Can't create object file image";
77 newModule = NSLinkModule(image, pathname, LINKOPTIONS);
/device/generic/goldfish/camera/
H A DJpegCompressor.cpp42 typedef int (*CompressFunc)(JpegStub* stub, const void* image,
69 status_t NV21JpegCompressor::compressRawImage(const void* image, argument
76 return (status_t)(*f)(&mStub, image, width, height, quality, exifData);
/device/generic/goldfish-opengl/system/GLESv1/
H A Dgl.cpp58 EGLImage_t *image = (EGLImage_t*)img; local
60 if (image->target == EGL_NATIVE_BUFFER_ANDROID) {
62 android_native_buffer_t* native_buffer = image->native_buffer;
80 else if (image->target == EGL_GL_TEXTURE_2D_KHR) {
83 GLeglImageOES hostImage = reinterpret_cast<GLeglImageOES>((intptr_t)image->host_egl_image);
94 DBG("glEGLImageTargetRenderbufferStorageOES v1 image=%p\n", img);
96 EGLImage_t *image = (EGLImage_t*)img; local
98 if (image->target == EGL_NATIVE_BUFFER_ANDROID) {
99 android_native_buffer_t* native_buffer = ((EGLImage_t*)image)->native_buffer;
/device/generic/goldfish-opengl/system/GLESv2/
H A Dgl2.cpp59 EGLImage_t *image = (EGLImage_t*)img; local
60 GLeglImageOES hostImage = reinterpret_cast<GLeglImageOES>((intptr_t)image->host_egl_image);
62 if (image->target == EGL_NATIVE_BUFFER_ANDROID) {
64 android_native_buffer_t* native_buffer = image->native_buffer;
82 else if (image->target == EGL_GL_TEXTURE_2D_KHR) {
96 DBG("glEGLImageTargetRenderbufferStorageOES v2 image=%p\n", img);
98 EGLImage_t *image = (EGLImage_t*)img; local
100 if (image->target == EGL_NATIVE_BUFFER_ANDROID) {
101 android_native_buffer_t* native_buffer = ((EGLImage_t*)image)->native_buffer;
/device/google/cuttlefish_common/guest/hals/camera/
H A DJpegCompressor.cpp42 typedef int (*CompressFunc)(JpegStub* stub, const void* image, int width,
69 status_t NV21JpegCompressor::compressRawImage(const void* image, argument
77 return (status_t)(*f)(&mStub, image, width, height, quality, exifData);
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/
H A Dfiptool.h39 struct image *image; member in struct:image_desc
43 typedef struct image { struct
H A Dfiptool.c143 "failed to allocate memory for image descriptor");
146 "failed to allocate memory for image name");
148 "failed to allocate memory for image command line name");
172 free(desc->image);
310 image_t *image; local
320 * Build a new image out of the ToC entry and add it to the
323 image = xzalloc(sizeof(*image),
324 "failed to allocate memory for image");
325 image
368 image_t *image; local
392 write_image_to_file(const image_t *image, const char *filename) argument
458 image_t *image = desc->image; local
518 image_t *image = desc->image; local
548 image_t *image = desc->image; local
575 image_t *image; local
937 image_t *image = desc->image; local
[all...]
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/
H A Darm_bl2_setup.c280 WARN("Failure in platform-specific handling of SCP_BL2 image.\n");
290 * This function can be used by the platforms to update/use image
361 void bl2_plat_set_bl33_ep_info(image_info_t *image, argument
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/poplar/
H A Dbl2_plat_setup.c84 void bl2_plat_set_bl31_ep_info(image_info_t *image, argument
113 void bl2_plat_set_bl33_ep_info(image_info_t *image, argument
118 bl33_ep_info->args.arg2 = image->image_size;
/device/google/contexthub/util/nanoapp_encr/
H A Dnanoapp_encr.c60 struct ImageHeader *image; local
82 if (bufUsed <= sizeof(*image)) {
89 if (((bufUsed - sizeof(*image)) % AES_BLOCK_SIZE) != 0)
90 padLen = AES_BLOCK_SIZE - ((bufUsed - sizeof(*image)) % AES_BLOCK_SIZE);
100 image = (struct ImageHeader *)buf;
102 if (bufUsed >= sizeof(*image) && image->aosp.magic == NANOAPP_AOSP_MAGIC &&
103 image->aosp.header_version == 1 && image->layout.magic == GOOGLE_LAYOUT_MAGIC) {
110 if ((image
156 struct ImageHeader *image; local
[all...]
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
H A Dhikey_bl2_setup.c119 * setting the SPSR prior to entry into the BL3-2 image.
207 WARN("Failure in platform-specific handling of SCP_BL2 image.\n");
217 * This function can be used by the platforms to update/use image
280 void bl2_plat_set_bl31_ep_info(image_info_t *image, argument
301 * setting the SPSR prior to entry into the BL32 image.
323 void bl2_plat_set_bl33_ep_info(image_info_t *image, argument
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/
H A Dhikey960_bl2_setup.c196 * setting the SPSR prior to entry into the BL3-2 image.
284 WARN("Failure in platform-specific handling of SCP_BL2 image.\n");
294 * This function can be used by the platforms to update/use image
313 void bl2_plat_set_bl31_ep_info(image_info_t *image, argument
334 * setting the SPSR prior to entry into the BL32 image.
356 void bl2_plat_set_bl33_ep_info(image_info_t *image, argument
/device/linaro/bootloader/arm-trusted-firmware/plat/qemu/
H A Dqemu_bl2_setup.c201 * setting the SPSR prior to entry into the BL3-2 image.
275 * This function can be used by the platforms to update/use image
318 void bl2_plat_set_bl33_ep_info(image_info_t *image, argument
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/
H A Dplat_startup.c144 * Populates the bl32 and bl33 image info structures
145 * @bl32: BL32 image info structure
146 * @bl33: BL33 image info structure
149 * image info structures accordingly.
183 * we loop over all passed entries but only populate two image structs
188 entry_point_info_t *image; local
221 image = bl32;
231 image = bl33;
257 image->pc = ATFHandoffParams->partition[i].entry_point;
260 EP_SET_EE(image
[all...]
/device/google/contexthub/firmware/os/core/
H A DappSec.c220 struct ImageHeader *image; local
229 image = (struct ImageHeader *)hdr; hdr += sizeof(*image);
230 aosp = &image->aosp;
234 image->layout.version != 1 ||
235 image->layout.magic != GOOGLE_LAYOUT_MAGIC)
238 needBytes = sizeof(*image);
310 .fwFlags = image->layout.flags,
312 .payInfoType = image->layout.payload,
317 if (image
[all...]
/device/google/contexthub/util/nanoapp_sign/
H A Dnanoapp_sign.c234 struct ImageHeader *image = (struct ImageHeader *)buf; local
235 struct AppSecSignHdr *secHdr = (struct AppSecSignHdr *)&image[1];
242 if (bufUsed < (sizeof(*image) + sizeof(*secHdr))) {
251 if (!(image->aosp.flags & NANOAPP_SIGNED_FLAG)) {
252 fprintf(stderr, "image is not marked as signed, can not verify\n");
255 sigData = bufUsed - (secHdr->appDataLen + sizeof(*image) + sizeof(*secHdr));
326 struct ImageHeader *image = (struct ImageHeader *)buf; local
327 struct AppSecSignHdr *secHdr = (struct AppSecSignHdr *)&image[1];
329 if (!(image->aosp.flags & NANOAPP_SIGNED_FLAG)) {
333 image
441 struct ImageHeader *image; local
[all...]
/device/generic/goldfish-opengl/system/renderControl_enc/
H A DrenderControl_enc.cpp1030 int rcDestroyClientImage_enc(void *self , uint32_t image) argument
1048 memcpy(ptr, &image, 4); ptr += 4;
H A DrenderControl_entry.cpp35 int rcDestroyClientImage(uint32_t image);
215 int rcDestroyClientImage(uint32_t image) argument
218 return ctx->rcDestroyClientImage(ctx, image);
/device/google/cuttlefish_common/host/commands/launch/
H A Dmain.cc69 "Path to the system image, if empty it is assumed to be a file named "
71 DEFINE_string(cache_image, "", "Location of the cache partition image.");
73 DEFINE_string(data_image, "", "Location of the data partition image.");
77 "The size of the blank data image to generate, MB.");
79 "The fs format for the blank data image. Used with mkfs.");
115 DEFINE_string(vendor_image, "", "Location of the vendor partition image.");
303 const std::string& image, int image_mb, const std::string& image_fmt) {
304 LOG(INFO) << "Creating " << image;
306 of += image;
313 "/sbin/mkfs", "-t", image_fmt.c_str(), image
302 CreateBlankImage( const std::string& image, int image_mb, const std::string& image_fmt) argument
[all...]
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
H A DX11GraphicsWindow.c59 XImage *image; member in struct:__anon5443
108 Drv->image = XShmCreateImage (
113 if (Drv->image == NULL) {
117 switch (Drv->image->bitmap_unit) {
130 IPC_PRIVATE, Drv->image->bytes_per_line * Drv->image->height,
134 XDestroyImage(Drv->image);
141 XDestroyImage(Drv->image);
154 Drv->image->data = (char*)Drv->image_data;
158 XDestroyImage(Drv->image);
[all...]
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
H A Degl.cpp594 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR image) argument
596 return getDispatch()->eglDestroyImageKHR(dpy, image);
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
H A DGLClientState.cpp825 void GLClientState::setBoundEGLImage(GLenum target, GLeglImageOES image) { argument
/device/generic/goldfish-opengl/system/egl/
H A Degl.cpp1971 EGLImage_t *image = new EGLImage_t(); local
1972 image->dpy = dpy;
1973 image->target = target;
1974 image->native_buffer = native_buffer;
1976 return (EGLImageKHR)image;
1987 EGLImage_t *image = new EGLImage_t(); local
1988 image->dpy = dpy;
1989 image->target = target;
1990 image->host_egl_image = img;
1992 return (EGLImageKHR)image;
2001 EGLImage_t *image = (EGLImage_t*)img; local
[all...]

Completed in 1711 milliseconds

12