/frameworks/base/media/libeffects/testlibs/ |
AudioEqualizer.cpp | 38 AudioEqualizer * AudioEqualizer::CreateInstance(void * pMem, int nBands, 42 LOGV("AudioEqualizer::CreateInstance(pMem=%p, nBands=%d, nChannels=%d, " 44 pMem, nBands, nChannels, sampleRate, nPresets); 47 if (pMem == NULL) { 48 pMem = malloc(GetInstanceSize(nBands)); 49 if (pMem == NULL) { 54 return new (pMem) AudioEqualizer(pMem, nBands, nChannels, sampleRate, 287 AudioEqualizer::AudioEqualizer(void * pMem, int nBands, int nChannels, 293 assert(pMem != NULL) [all...] |
AudioEqualizer.h | 64 // pMem A memory buffer of at least the size returned by 77 // returns The instance if success. NULL if pMem is NULL and allocation 79 static AudioEqualizer * CreateInstance(void * pMem, int nBands, 102 // a NULL pointer was passed to CreateInstance as pMem. 230 // pMem Memory buffer for bands. 233 // ownMem Whether pMem is owned by me. 240 AudioEqualizer(void * pMem, int nBands, int nChannels, int sampleRate,
|
/hardware/msm7k/libgralloc-qsd8k/ |
pmemalloc.h | 27 * An interface to the PMEM allocators. 45 * A PMEM allocator that allocates the entire pmem memory from the kernel and 47 * that the PMEM device driver have kernel allocation disabled. 67 // pmem 120 * A PMEM allocator that allocates each individual allocation from the kernel 122 * particular PMEM device being allocated from to support kernel allocation.
|
pmemalloc.cpp | 101 LOGE("%s: failed to map pmem master fd: %s", pmemdev, 112 LOGE("%s: failed to open pmem device: %s", pmemdev, 127 // first time, try to initialize pmem 130 LOGE("%s: failed to initialize pmem area", pmemdev); 134 // pmem couldn't be initialized, never use it 136 // pmem OK 154 // no more pmem memory 155 LOGE("%s: no more pmem available", pmemdev); 160 //LOGD("%s: allocating pmem at offset 0x%p", pmemdev, offset); 175 LOGE("%s: failed to initialize pmem sub-heap: %d", pmemdev [all...] |
gpu.cpp | 128 // enable pmem in that case, so our software GL can fallback to 161 // PMEM buffers are always mmapped 164 // Allocate the buffer from pmem 169 // the caller didn't request PMEM, so we can try something else 174 LOGE("couldn't open pmem (%s)", strerror(errno));
|
/frameworks/base/media/libstagefright/codecs/common/ |
cmnMemory.c | 38 VO_U32 cmnMemFree (VO_S32 uID, VO_PTR pMem) 40 free (pMem);
|
/external/libnfc-nxp/Linux_x86/ |
phOsalNfc.c | 61 void *pMem = (void *)malloc(size); 62 return pMem; 67 * This function deallocates memory region pointed to by \a pMem. 69 * \param pMem pointer to memory block to be freed. 71 void phOsalNfc_FreeMemory(void *pMem) 73 if(NULL != pMem) 74 free(pMem);
|
/external/kernel-headers/original/linux/ |
android_pmem.h | 24 /* This ioctl will allocate pmem space, backing the file, it will fail 28 /* This will connect a one pmem file to another, pass the file that is already 32 /* Returns the total size of the pmem region it is sent to as a pmem_region
|
/hardware/msm7k/libgralloc/ |
gralloc.cpp | 197 int master_fd = open("/dev/pmem", O_RDWR, 0); 231 // first time, try to initialize pmem 237 // pmem couldn't be initialized, never use it 239 // pmem OK 328 // enable pmem in that case, so our software GL can fallback to 350 // PMEM buffers are always mmapped 354 // no more pmem memory 360 fd = open("/dev/pmem", O_RDWR, 0); 378 //LOGD_IF(!err, "allocating pmem size=%d, offset=%d", size, offset); 382 // the caller didn't request PMEM, so we can try something els [all...] |
mapper.cpp | 40 // we need this for now because pmem cannot mmap at an offset 154 // ... unless it's a "master" pmem buffer, that is a buffer
|
/hardware/qcom/media/mm-video/vidc/venc/test/ |
venc_test.cpp | 273 void* PmemMalloc(OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO* pMem, int nSize) 277 if (!pMem) 280 pMem->pmem_fd = open("/dev/pmem_adsp", O_RDWR | O_SYNC); 281 if ((int)(pMem->pmem_fd) < 0) 284 pMem->offset = 0; 287 MAP_SHARED, pMem->pmem_fd, pMem->offset); 290 close(pMem->pmem_fd); 291 pMem->pmem_fd = -1; 294 D("allocated pMem->fd = %d pvirt=0x%x, pMem->phys=0x%x, size = %d", pMem->pmem_fd [all...] |
/external/srec/portable/src/ |
pmemory.c | 194 pfprintf(gFile, L("pmem|newtag|%s|%d|\n"), key, idx); 442 pfprintf(gFile, L("pmem|free|%s|%s|%d|0x%x|%s|\n"), e->tag, data->stackTrace, data->size, ptr, stackTrace); 444 pfprintf(gFile, L("pmem|free|%s|%d|0x%x\n"), e->tag, data->size, ptr); 496 pfprintf(gFile, L("pmem|-|0|corrupt|%d|\n"), i); 688 pfprintf(gFile, L("pmem|alloc|%s|%d|0x%x|%s|\n"), tag, actualSize, result, data->stackTrace); 690 pfprintf(gFile, L("pmem|alloc|%s|%d|0x%x|\n"), tag, actualSize, result); 869 pfprintf(gFile, L("pmem|%s|%d|realloc|%d|0x%x|%s|\n"), e->tag, oldSize, actualSize, ptr, stackTrace); 871 pfprintf(gFile, L("pmem|%s|%d|realloc|%d|0x%x|\n"), e->tag, oldSize, actualSize, ptr); 940 pfprintf(gFile, L("pmem|free|%s|%s|%d|0x%x|%s|\n"), e->tag, data->stackTrace, data->size, ptr, stackTrace); 942 pfprintf(gFile, L("pmem|free|%s|%d|0x%x\n"), e->tag, data->size, ptr) [all...] |
/system/extras/tests/framebuffer/ |
mdp_test.c | 75 *fd = open("/dev/pmem", O_RDWR | O_NONBLOCK | O_SYNC); 77 perror("cannot open /dev/pmem"); 84 perror("pmem mmap");
|
/external/srec/portable/include/ |
pmemory.h | 252 * @return ESR_INVALID_STATE if the PMem module is already initialized or an internal error occurs 260 * @return ESR_INVALID_STATE if the PMem module is not initialized 270 * @return ESR_INVALID_STATE if the PMem module is not initialized 277 * @return ESR_INVALID_STATE if the PMem module is not initialized or an internal error occurs
|
/frameworks/base/media/libstagefright/codecs/common/include/ |
cmnMemory.h | 45 * \param pMem [in] address of memory
|
/system/core/rootdir/ |
ueventd.rc | 34 /dev/pmem 0660 system graphics
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_framedecoder.cpp | 48 pMem = void pointer to hide the internal implementation of the library 61 pMem contents are modified. 158 void *pMem) 168 tmp3dec_file *pVars = (tmp3dec_file *)pMem; 566 void fillMainDataBuf(void *pMem, int32 temp) 568 tmp3dec_file *pVars = (tmp3dec_file *)pMem; 651 void *pMem) 657 pVars = (tmp3dec_file *)pMem; 753 pvmp3_resetDecoder(pMem); 763 void pvmp3_resetDecoder(void *pMem) [all...] |
/development/pdk/docs/porting/ |
intro_source_code.jd | 31 <li>Android/PMEM: The PMEM (physical memory) driver is used to provide contiguous physical memory regions to userspace libraries that interact with the digital signal processor (DSP) and other hardware that cannot cope with scatter-gather.</li>
|
/external/libnfc-nxp/src/ |
phOsalNfc.h | 188 * \param[in] pMem Pointer to the memory block to deallocated 191 void phOsalNfc_FreeMemory(void * pMem);
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
pvmp4audiodecoderresetbuffer.cpp | 38 pMem = void pointer to hide the internal implementation of the library 46 (The memory set aside in pMem performs this task) 53 pMem contents are modified. 54 pMem->perChan[0].time_quant[0-1023]: contents are set to zero 55 pMem->perChan[1].time_quant[0-1023]: contents are set to zero 56 pMem->bno = 1 160 OSCL_EXPORT_REF void PVMP4AudioDecoderResetBuffer(void *pMem) 178 pVars = (tDec_Int_File *)pMem;
|
/hardware/msm7k/libcamera/ |
QualcommCameraHardware.h | 103 // buffers. The heap may be backed by pmem (when pmem_pool contains 104 // the name of a /dev/pmem* file), or by ashmem (when pmem_pool == NULL).
|
/hardware/qcom/media/mm-video/vidc/venc/src/ |
video_encoder_device.cpp | 846 //allocating I/P memory from pmem and register with the device 852 struct pmem *pmem_tmp; 855 pmem_tmp = (struct pmem *)buf_addr; 915 struct pmem *pmem_tmp; 918 pmem_tmp = (struct pmem *)buf_addr; [all...] |
/hardware/qcom/media/mm-video/vidc/venc/inc/ |
omx_video_base.h | 60 // local pmem heap object 264 struct pmem *m_pInput_pmem; 265 struct pmem *m_pOutput_pmem;
|
/hardware/ti/omap3/dspbridge/inc/ |
wcdioctl.h | 409 PVOID pMem; 415 PVOID pMem; 419 PVOID pMem;
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
wcdioctl.h | 409 PVOID pMem; 415 PVOID pMem; 419 PVOID pMem;
|