/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/ |
D | TngGrallocBufferMapper.cpp | 57 bool TngGrallocBufferMapper::gttMap(void *vaddr, in gttMap() argument 65 ALOGTRACE("vaddr = %p, size = %d", vaddr, size); in gttMap() 67 if (!vaddr || !size || !offset) { in gttMap() 74 arg.vaddr = (uint32_t)vaddr; in gttMap() 89 bool TngGrallocBufferMapper::gttUnmap(void *vaddr) in gttUnmap() argument 94 ALOGTRACE("vaddr = %p", vaddr); in gttUnmap() 96 if (!vaddr) { in gttUnmap() 102 arg.vaddr = (uint32_t)vaddr; in gttUnmap() 116 void *vaddr[SUB_BUFFER_MAX]; in map() local 128 vaddr, in map() [all …]
|
D | TngGrallocBufferMapper.h | 38 bool gttMap(void *vaddr, uint32_t size, uint32_t gttAlign, int *offset); 39 bool gttUnmap(void *vaddr);
|
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
D | TngGrallocBufferMapper.cpp | 57 bool TngGrallocBufferMapper::gttMap(void *vaddr, in gttMap() argument 65 ATRACE("vaddr = %p, size = %d", vaddr, size); in gttMap() 67 if (!vaddr || !size || !offset) { in gttMap() 74 arg.vaddr = (unsigned long)vaddr; in gttMap() 89 bool TngGrallocBufferMapper::gttUnmap(void *vaddr) in gttUnmap() argument 94 ATRACE("vaddr = %p", vaddr); in gttUnmap() 96 if (!vaddr) { in gttUnmap() 102 arg.vaddr = (unsigned long)vaddr; in gttUnmap() 116 void *vaddr[SUB_BUFFER_MAX]; in map() local 128 vaddr, in map() [all …]
|
D | TngGrallocBufferMapper.h | 39 bool gttMap(void *vaddr, uint32_t size, uint32_t gttAlign, int *offset); 40 bool gttUnmap(void *vaddr);
|
/hardware/libhardware/modules/gralloc/ |
D | mapper.cpp | 40 void** vaddr) in gralloc_map() argument 55 *vaddr = (void*)hnd->base; in gralloc_map() 123 void *vaddr; in gralloc_register_buffer() local 124 return gralloc_map(module, handle, &vaddr); in gralloc_register_buffer() 143 void* vaddr; in mapBuffer() local 144 return gralloc_map(module, hnd, &vaddr); in mapBuffer() 161 void** vaddr) in gralloc_lock() argument 175 *vaddr = (void*)hnd->base; in gralloc_lock()
|
D | gralloc.cpp | 61 void** vaddr); 137 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local 147 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked() 150 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked() 151 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
|
D | framebuffer.cpp | 293 void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); local 294 if (vaddr == MAP_FAILED) { 298 module->framebuffer->base = intptr_t(vaddr); 299 memset(vaddr, 0, fbSize);
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/inc/ |
D | vidc_debug.h | 100 void *vaddr; variable 104 AutoUnmap(void *vaddr, int size) { in AutoUnmap() argument 105 this->vaddr = vaddr; in AutoUnmap() 110 if (vaddr) in ~AutoUnmap() 111 munmap(vaddr, size); in ~AutoUnmap()
|
/hardware/intel/img/psb_video/src/android/ |
D | psb_gralloc.cpp | 57 void** vaddr) in gralloc_lock() argument 71 vaddr); in gralloc_lock() 72 ALOGV("gralloc_lock: handle is %p, usage is %x, vaddr is %p.\n", handle, usage, *vaddr); in gralloc_lock() 76 unsigned char *tmp_buffer = (unsigned char *)(*vaddr); in gralloc_lock() 103 ALOGV("lock returned with address %p\n", *vaddr); in gralloc_lock()
|
D | psb_surface_gralloc.c | 60 void *vaddr[GRALLOC_SUB_BUFFER_MAX]; in psb_DestroySurfaceGralloc() local 71 … obj_surface->width, obj_surface->height, (void **)&vaddr[GRALLOC_SUB_BUFFER0])){ in psb_DestroySurfaceGralloc() 72 if (obj_surface->share_info && vaddr[GRALLOC_SUB_BUFFER1] == obj_surface->share_info) { in psb_DestroySurfaceGralloc() 114 void *vaddr; in psb_CreateSurfacesFromGralloc() local 203 if (gralloc_lock(handle, usage, 0, 0, width, height, (void **)&vaddr)) { in psb_CreateSurfacesFromGralloc() 210 external_buffers, psb_surface, vaddr, buf_fd, in psb_CreateSurfacesFromGralloc() 270 void *vaddr[GRALLOC_SUB_BUFFER_MAX]; in psb_CreateSurfacesFromGralloc() local 374 …if (gralloc_lock((buffer_handle_t)handle, usage, 0, 0, width, height, (void **)&vaddr[GRALLOC_SUB_… in psb_CreateSurfacesFromGralloc() 385 vaddr[GRALLOC_SUB_BUFFER0], buf_fd, cache_flag); in psb_CreateSurfacesFromGralloc() 394 … obj_surface->share_info = (psb_surface_share_info_t *)vaddr[GRALLOC_SUB_BUFFER1]; in psb_CreateSurfacesFromGralloc() [all …]
|
D | psb_gralloc.h | 40 int left, int top, int width, int height, void** vaddr);
|
/hardware/qcom/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 106 int QCamera3Memory::cacheOpsInternal(uint32_t index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument 127 cache_inv_data.vaddr = vaddr; in cacheOpsInternal() 135 cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal() 580 void *vaddr = mmap(NULL, in allocate() local 585 if (vaddr == MAP_FAILED) { in allocate() 590 mPtr[i] = vaddr; in allocate() 638 void *vaddr = mmap(NULL, in allocateOne() local 643 if (vaddr == MAP_FAILED) { in allocateOne() 648 mPtr[mBufferCount] = vaddr; in allocateOne() 781 void *vaddr = NULL; in registerBuffer() local [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 105 int QCamera3Memory::cacheOpsInternal(uint32_t index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument 126 cache_inv_data.vaddr = vaddr; in cacheOpsInternal() 134 cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal() 585 void *vaddr = mmap(NULL, in allocate() local 590 if (vaddr == MAP_FAILED) { in allocate() 595 mPtr[i] = vaddr; in allocate() 643 void *vaddr = mmap(NULL, in allocateOne() local 648 if (vaddr == MAP_FAILED) { in allocateOne() 653 mPtr[mBufferCount] = vaddr; in allocateOne() 786 void *vaddr = NULL; in registerBuffer() local [all …]
|
/hardware/intel/img/psb_video/src/ |
D | psb_surface_attrib.c | 58 void *vaddr, in psb_surface_create_from_ub() argument 119 vaddr, fd, 0); in psb_surface_create_from_ub() 124 vaddr, fd, flags); in psb_surface_create_from_ub() 556 unsigned int *vaddr; in psb_CreateSurfaceFromUserspace() local 574 vaddr = (unsigned int *)(attribute_tpi->buffers[i]); in psb_CreateSurfaceFromUserspace() 604 attribute_tpi, psb_surface, vaddr, -1, PSB_USER_BUFFER_UNCACHED); in psb_CreateSurfaceFromUserspace() 607 attribute_tpi, psb_surface, vaddr, -1, 0); in psb_CreateSurfaceFromUserspace() 648 unsigned int *vaddr = NULL; in psb_CreateSurfaceFromION() local 690 vaddr = mmap(NULL, source_size, PROT_READ|PROT_WRITE, MAP_SHARED, ion_source_share.fd, 0); in psb_CreateSurfaceFromION() 691 if (MAP_FAILED == vaddr) { in psb_CreateSurfaceFromION() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/test/ |
D | mm_lib2d_test.c | 443 __LINE__, m_yuv_memHandle.fd, m_yuv_memHandle.vaddr, in main() 461 __LINE__, m_rgb_memHandle.fd, m_rgb_memHandle.vaddr, in main() 467 m_yuv_memHandle.vaddr); in main() 475 m_yuv_memHandle.vaddr); in main() 487 src_buffer.yuv_buffer.plane0 = m_yuv_memHandle.vaddr; in main() 489 src_buffer.yuv_buffer.plane1 = (int8_t *)m_yuv_memHandle.vaddr + in main() 499 dst_buffer.rgb_buffer.buffer = m_rgb_memHandle.vaddr; in main()
|
/hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/test/ |
D | mm_lib2d_test.c | 443 __LINE__, m_yuv_memHandle.fd, m_yuv_memHandle.vaddr, in main() 461 __LINE__, m_rgb_memHandle.fd, m_rgb_memHandle.vaddr, in main() 467 m_yuv_memHandle.vaddr); in main() 475 m_yuv_memHandle.vaddr); in main() 487 src_buffer.yuv_buffer.plane0 = m_yuv_memHandle.vaddr; in main() 489 src_buffer.yuv_buffer.plane1 = (int8_t *)m_yuv_memHandle.vaddr + in main() 499 dst_buffer.rgb_buffer.buffer = m_rgb_memHandle.vaddr; in main()
|
/hardware/intel/common/libmix/videoencoder/ |
D | VideoEncoderUtils.cpp | 105 int left, int top, int width, int height, void** vaddr) { in gfx_lock() argument 117 left, top, width, height, vaddr); in gfx_lock() 118 …ck: handle is %x, usage is %x, vaddr is %x.\n", (unsigned int)handle, usage, (unsigned int)*vaddr); in gfx_lock() 124 LOG_V("lock returned with address %p\n", *vaddr); in gfx_lock() 229 void* vaddr[3]; in DumpGfx() local 234 if (gfx_lock((buffer_handle_t)handle, usage, 0, 0, vinfo.width, vinfo.height, &vaddr[0]) != 0) in DumpGfx() 237 fwrite(vaddr[0], 1, vinfo.lumaStride * vinfo.height * 4, fp); in DumpGfx() 601 void* vaddr[3]; in doActionCopy() local 602 if (gfx_lock((buffer_handle_t) handle, usage, 0, 0, width, height, &vaddr[0]) != 0) in doActionCopy() 604 pSrcBuffer = (uint8_t*)vaddr[0]; in doActionCopy()
|
/hardware/qcom/camera/mm-image-codec/qomx_core/ |
D | QOMX_JpegExtensions.h | 231 uint8_t *vaddr; member 302 void *vaddr; member
|
/hardware/qcom/camera/msm8998/mm-image-codec/qomx_core/ |
D | QOMX_JpegExtensions.h | 231 uint8_t *vaddr; member 302 void *vaddr; member
|
/hardware/libhardware/include/hardware/ |
D | gralloc.h | 229 void** vaddr); 283 void** vaddr, int fenceFd);
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
D | WsbmWrapper.c | 289 int psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr) in psbWsbmCreateFromUB() argument 294 if (!buf || !vaddr) { in psbWsbmCreateFromUB() 300 ret = wsbmBODataUB(wsbmBuf, size, NULL, NULL, 0, vaddr, -1); in psbWsbmCreateFromUB()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
D | WsbmWrapper.c | 288 int psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr) in psbWsbmCreateFromUB() argument 293 if (!buf || !vaddr) { in psbWsbmCreateFromUB() 299 ret = wsbmBODataUB(wsbmBuf, size, NULL, NULL, 0, vaddr, -1); in psbWsbmCreateFromUB()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | gpu.cpp | 229 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local 243 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked() 245 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked() 246 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gpu.cpp | 237 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local 253 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked() 255 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked() 256 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | gpu.cpp | 226 uintptr_t vaddr = uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() local 240 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked() 242 hnd->base = vaddr; in gralloc_alloc_framebuffer_locked() 243 hnd->offset = vaddr - uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
|