/hardware/intel/img/psb_video/src/ |
D | object_heap.c | 45 static int object_heap_expand(object_heap_p heap) in object_heap_expand() argument 51 int new_heap_size = heap->heap_size + heap->heap_increment; in object_heap_expand() 53 …new_heap_index = (object_base_p *) realloc(heap->heap_index, new_heap_size * sizeof(object_base_p)… in object_heap_expand() 57 heap->heap_index = new_heap_index; in object_heap_expand() 58 next_free = heap->next_free; in object_heap_expand() 59 for (i = new_heap_size; i-- > heap->heap_size;) { in object_heap_expand() 60 object_base_p obj = (object_base_p) calloc(1, heap->object_size); in object_heap_expand() 61 heap->heap_index[i] = obj; in object_heap_expand() 66 obj->id = i + heap->id_offset; in object_heap_expand() 73 for (i = new_heap_size; i-- > heap->heap_size;) { in object_heap_expand() [all …]
|
D | object_heap.h | 57 int object_heap_init(object_heap_p heap, int object_size, int id_offset); 63 int object_heap_allocate(object_heap_p heap); 69 object_base_p object_heap_lookup(object_heap_p heap, int id); 75 object_base_p object_heap_first(object_heap_p heap, object_heap_iterator *iter); 81 object_base_p object_heap_next(object_heap_p heap, object_heap_iterator *iter); 86 void object_heap_free(object_heap_p heap, object_base_p obj); 91 void object_heap_destroy(object_heap_p heap);
|
/hardware/intel/img/libdrm/libdrm/intel/ |
D | mm.c | 32 mmDumpMemInfo(const struct mem_block *heap) in mmDumpMemInfo() argument 34 drmMsg("Memory heap %p:\n", (void *)heap); in mmDumpMemInfo() 35 if (heap == 0) { in mmDumpMemInfo() 40 for(p = heap->next; p != heap; p = p->next) { in mmDumpMemInfo() 48 for(p = heap->next_free; p != heap; p = p->next_free) { in mmDumpMemInfo() 61 struct mem_block *heap, *block; in mmInit() local 66 heap = (struct mem_block *) calloc(1, sizeof(struct mem_block)); in mmInit() 67 if (!heap) in mmInit() 72 free(heap); in mmInit() 76 heap->next = block; in mmInit() [all …]
|
D | mm.h | 37 struct mem_block *heap; member 69 extern struct mem_block *mmAllocMem(struct mem_block *heap, int size, 84 extern struct mem_block *mmFindBlock(struct mem_block *heap, int start);
|
D | intel_bufmgr_fake.c | 122 struct mem_block *heap; member 424 block->mem = mmAllocMem(bufmgr_fake->heap, sz, align_log2, 0); in alloc_block() 1170 mmDestroy(bufmgr_fake->heap); in drm_intel_fake_destroy() 1367 mmDumpMemInfo(bufmgr_fake->heap); in drm_intel_fake_bo_exec() 1509 bufmgr_fake->heap = mmInit(low_offset, size); in drm_intel_bufmgr_fake_init()
|
/hardware/intel/img/libdrm/libdrm/nouveau/ |
D | nouveau_resource.c | 29 nouveau_resource_init(struct nouveau_resource **heap, in nouveau_resource_init() argument 40 *heap = r; in nouveau_resource_init() 45 nouveau_resource_alloc(struct nouveau_resource *heap, unsigned size, void *priv, in nouveau_resource_alloc() argument 50 if (!heap || !size || !res || *res) in nouveau_resource_alloc() 53 while (heap) { in nouveau_resource_alloc() 54 if (!heap->in_use && heap->size >= size) { in nouveau_resource_alloc() 59 r->start = (heap->start + heap->size) - size; in nouveau_resource_alloc() 64 heap->size -= size; in nouveau_resource_alloc() 66 r->next = heap->next; in nouveau_resource_alloc() 67 if (heap->next) in nouveau_resource_alloc() [all …]
|
D | nouveau_resource.h | 38 nouveau_resource_init(struct nouveau_resource **heap, unsigned start, 42 nouveau_resource_alloc(struct nouveau_resource *heap, unsigned size, void *priv,
|
/hardware/intel/common/libmix/videoencoder/ |
D | IntelMetadataBuffer.cpp | 82 sp<IMemoryHeap> heap = interface_cast<IMemoryHeap>(data.readStrongBinder()); in ReadMemObjFromBinder() local 84 sp<MemoryBase> mem = new MemoryBase(heap, offset, size); in ReadMemObjFromBinder() 96 heap->getHeapID(), mem->pointer(), *((intptr_t *)(mem->pointer())), map->value); in ReadMemObjFromBinder() 140 sp<IMemoryHeap> heap = smem->membase->getMemory(&offset, &size); in WriteMemObjToBinder() local 143 data.writeStrongBinder(heap->asBinder()); in WriteMemObjToBinder() 146 heap->getHeapID(), smem->membase->pointer(), *((int *)(smem->membase->pointer()))); in WriteMemObjToBinder()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/halloc/ |
D | README | 4 Hierarchical memory heap interface - an extension to standard
|
/hardware/ti/omap4-aah/test/CameraHal/ |
D | camera_test_surfacetexture.cpp | 863 sp<IMemoryHeap> heap = data->getMemory(&offset, &size); in showMetadata() local 864 camera_metadata_t * meta = static_cast<camera_metadata_t *> (heap->base()); in showMetadata()
|
/hardware/ti/omap4xxx/camera/ |
D | AppCallbackNotifier.cpp | 838 MemoryHeapBase *heap; in notifyFrame() local 1439 sp<MemoryHeapBase> heap; in startPreviewCallbacks() local 1548 sp<MemoryHeapBase> heap; in stopPreviewCallbacks() local
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | usage.dox | 33 on the heap. 167 to get a list of all requests, construct an optimal heap, and then set all
|
/hardware/ti/omap4-aah/camera/ |
D | AppCallbackNotifier.cpp | 903 android::MemoryHeapBase *heap; in notifyFrame() local
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 4327 int heap = 0; in allocate_extradata() local 4329 heap = ION_ADSP_HEAP_ID; in allocate_extradata() 4334 &drv_ctx.extradata_info.ion.fd_ion_data, 0, heap); in allocate_extradata() 5123 int heap = 0; in allocate_input_buffer() local 5125 heap = ION_ADSP_HEAP_ID; in allocate_input_buffer() 5131 &drv_ctx.ip_buf_ion_info[i].fd_ion_data, secure_mode ? ION_SECURE : 0, heap); in allocate_input_buffer()
|