Home
last modified time | relevance | path

Searched refs:mem_ptr (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/module/codecs/amrwb/enc/src/
Dmem_align.c43 unsigned char *mem_ptr; in mem_malloc() local
53 mem_ptr = (unsigned char *)MemInfo.VBuffer; in mem_malloc()
55 pMemop->Set(CodecID, mem_ptr, 0, size + 1); in mem_malloc()
57 *mem_ptr = (unsigned char)1; in mem_malloc()
59 return ((void *)(mem_ptr+1)); in mem_malloc()
73 mem_ptr = in mem_malloc()
77 if (mem_ptr == tmp) in mem_malloc()
78 mem_ptr += alignment; in mem_malloc()
80 *(mem_ptr - 1) = (unsigned char) (mem_ptr - tmp); in mem_malloc()
82 return ((void *)mem_ptr); in mem_malloc()
[all …]
/frameworks/av/media/module/codecs/amrwb/enc/inc/
Dmem_align.h30 extern void mem_free(VO_MEM_OPERATOR *pMemop, void *mem_ptr, unsigned int CodecID);