Home
last modified time | relevance | path

Searched refs:pBuffer (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Buffers.cpp63 LVM_Buffer_t *pBuffer; in LVM_BufferManagedIn() local
74 pBuffer = pInstance->pBufferManagement; in LVM_BufferManagedIn()
75 pDest = pBuffer->pScratch; in LVM_BufferManagedIn()
76 *pToProcess = pBuffer->pScratch; in LVM_BufferManagedIn()
77 *pProcessed = pBuffer->pScratch; in LVM_BufferManagedIn()
87 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples); in LVM_BufferManagedIn()
89 pBuffer->BufferState = LVM_FIRSTCALL; in LVM_BufferManagedIn()
92 pBuffer->SamplesToOutput = 0; /* Samples to output is same as in LVM_BufferManagedIn()
120 if (pBuffer->BufferState == LVM_FIRSTCALL) in LVM_BufferManagedIn()
122 pBuffer->BufferState = LVM_FIRSTLASTCALL; in LVM_BufferManagedIn()
[all …]
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp70 status_t CopyBufferProvider::getNextBuffer(AudioBufferProvider::Buffer *pBuffer) in getNextBuffer() argument
75 status_t res = mTrackBufferProvider->getNextBuffer(pBuffer); in getNextBuffer()
77 copyFrames(pBuffer->raw, pBuffer->raw, pBuffer->frameCount); in getNextBuffer()
82 mBuffer.frameCount = pBuffer->frameCount; in getNextBuffer()
91 pBuffer->raw = NULL; in getNextBuffer()
92 pBuffer->frameCount = 0; in getNextBuffer()
99 count = std::min(count, pBuffer->frameCount); in getNextBuffer()
100 pBuffer->raw = mLocalBufferData; in getNextBuffer()
101 pBuffer->frameCount = count; in getNextBuffer()
102 copyFrames(pBuffer->raw, (uint8_t*)mBuffer.raw + mConsumed * mInputFrameSize, in getNextBuffer()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_getbits.cpp129 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getNbits()
130 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getNbits()
131 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getNbits()
132 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE)); in getNbits()
170 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getUpTo9bits()
171 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo9bits()
207 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getUpTo17bits()
208 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo17bits()
209 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getUpTo17bits()
242 returnValue = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in get1bit()
Dpvmp3_framedecoder.cpp173 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_framedecoder()
566 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val; in fillDataBuf()
582 uint8 * ptr = pVars->inputStream.pBuffer + offset; in fillMainDataBuf()
591 pv_memcpy((pVars->mainDataStream.pBuffer + offset), ptr, temp*sizeof(uint8)); in fillMainDataBuf()
618 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); in fillMainDataBuf()
619 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); in fillMainDataBuf()
623 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset , BUFSIZE))); in fillMainDataBuf()
676 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_InitDecoder()
781 pVars->mainDataStream.pBuffer = pVars->mainDataBuffer; in pvmp3_resetDecoder()
Dpvmp3_seek_synch.cpp140 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_frame_synch()
211 uint8 *pElem = pVars->inputStream.pBuffer + offset; in pvmp3_frame_synch()
Ds_mp3bits.h91 uint8 *pBuffer; member
/frameworks/native/headers/media_plugin/media/openmax/
DOMX_Core.h419 OMX_U8* pBuffer; /**< Pointer to actual block of memory member
628 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
657 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
1062 pBuffer) \ argument
1069 pBuffer)
1138 pBuffer) \ argument
1142 pBuffer) /* Macro End */
1169 pBuffer) \ argument
1172 pBuffer) /* Macro End */
1199 pBuffer) \ argument
[all …]
DOMX_Component.h501 OMX_IN OMX_U8* pBuffer);
521 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
529 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
537 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
DOMX_ContentPipe.h191 CPresult (*ReleaseReadBuffer)(CPhandle hContent, CPbyte *pBuffer);
204 CPresult (*WriteBuffer)( CPhandle hContent, CPbyte *pBuffer, CPuint nFilledSize);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.h37 void *pBuffer; member
78 typedef ssize_t FwdLockConv_ReadFunc_t(int fileDesc, void *pBuffer, size_t numBytes);
90 typedef ssize_t FwdLockConv_WriteFunc_t(int fileDesc, const void *pBuffer, size_t numBytes);
193 const void *pBuffer,
DFwdLockConv.c556 pOutput->fromConvertData.pBuffer = malloc(pSession->outputBufferSize); in FwdLockConv_WriteHeader()
557 if (pOutput->fromConvertData.pBuffer == NULL) { in FwdLockConv_WriteHeader()
567 memcpy(pOutput->fromConvertData.pBuffer, pSession->topHeader, TOP_HEADER_SIZE); in FwdLockConv_WriteHeader()
568 memcpy((char *)pOutput->fromConvertData.pBuffer + TOP_HEADER_SIZE, in FwdLockConv_WriteHeader()
570 memcpy((char *)pOutput->fromConvertData.pBuffer + encryptedSessionKeyPos, in FwdLockConv_WriteHeader()
574 memset((char *)pOutput->fromConvertData.pBuffer + dataSignaturePos, 0, in FwdLockConv_WriteHeader()
576 memset((char *)pOutput->fromConvertData.pBuffer + headerSignaturePos, 0, in FwdLockConv_WriteHeader()
837 void *pBuffer; in FwdLockConv_WriteEncryptedChar() local
839 pBuffer = realloc(pOutput->fromConvertData.pBuffer, pSession->outputBufferSize); in FwdLockConv_WriteEncryptedChar()
840 if (pBuffer == NULL) { in FwdLockConv_WriteEncryptedChar()
[all …]
/frameworks/wilhelm/src/desktop/
DOutputMixExt.h32 void (*FillBuffer)(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
48 extern void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
DSndFile.cpp42 short *pBuffer = &thiz->mBuffer[thiz->mWhich * SndFile_BUFSIZE]; in SndFile_Callback() local
47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE); in SndFile_Callback()
78 result = IBufferQueue_Enqueue(caller, pBuffer, size); in SndFile_Callback()
/frameworks/av/media/libstagefright/codecs/common/include/
DcmnMemory.h48 VO_U32 cmnMemFree (VO_S32 uID, VO_PTR pBuffer);
77 VO_U32 cmnMemCheck (VO_S32 uID, VO_PTR pBuffer, VO_U32 uSize);
/frameworks/av/media/libstagefright/codecs/common/
DcmnMemory.c66 VO_U32 cmnMemCheck (VO_S32 uID, VO_PTR pBuffer, VO_U32 uSize) in cmnMemCheck() argument
69 UNUSED(pBuffer); in cmnMemCheck()
/frameworks/wilhelm/src/itf/
DIBufferQueue.cpp46 SLresult IBufferQueue_Enqueue(SLBufferQueueItf self, const void *pBuffer, SLuint32 size) in IBufferQueue_Enqueue() argument
52 if (NULL == pBuffer || 0 == size) { in IBufferQueue_Enqueue()
64 oldRear->mBuffer = pBuffer; in IBufferQueue_Enqueue()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp90 (addr), (header)->nAllocLen, (header)->pBuffer, (fenceFd)
92 (intptr_t)(addr), (header)->nAllocLen, (header)->pBuffer, \
152 memcpy(header->pBuffer + header->nOffset, in CopyToOMX()
159 sp<ABuffer> buf = new ABuffer(header->pBuffer, header->nAllocLen); in getBuffer()
1326 CHECK_EQ(header->pBuffer, bufferHandle); in useGraphicBuffer2_l()
1466 metadata.pBuffer = graphicBuffer == NULL ? NULL : graphicBuffer->getNativeBuffer(); in updateGraphicBufferInMeta_l()
1623 (native_handle_t *)header->pBuffer, false /* ownsHandle */); in allocateSecureBuffer()
1625 *buffer_data = header->pBuffer; in allocateSecureBuffer()
1692 (intptr_t)header->pBuffer, header, fenceFd)); in fillBuffer()
1828 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); in storeFenceInMeta_l()
[all …]
/frameworks/native/headers/media_plugin/media/hardware/
DHardwareAPI.h146 OMX_PTR pBuffer; member
148 struct ANativeWindowBuffer* pBuffer; member
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp425 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
490 *(reinterpret_cast<int64_t*>(inHeader->pBuffer + in onQueueFilled()
496 *(reinterpret_cast<int64_t*>(inHeader->pBuffer + in onQueueFilled()
549 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
560 (int16_t *)outHeader->pBuffer, in onQueueFilled()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
DFwdLockGlue.h32 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes);
DFwdLockGlue.c126 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes) { in FwdLockGlue_GetRandomNumber() argument
132 numBytesRead = read(fileDesc, pBuffer, numBytes); in FwdLockGlue_GetRandomNumber()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.h48 ssize_t FwdLockFile_read(int fileDesc, void *pBuffer, size_t numBytes);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp323 const void *inData = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
379 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled()
408 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp301 const uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
305 reinterpret_cast<int16_t *>(outHeader->pBuffer), in onQueueFilled()
309 reinterpret_cast<int16_t *>(outHeader->pBuffer), in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp409 const float * const pcmFloat = reinterpret_cast<float *>(inHeader->pBuffer); in onQueueFilled()
415 const int16_t * const pcm16 = reinterpret_cast<int16_t *>(inHeader->pBuffer); in onQueueFilled()
511 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader->nFilledLen, in onEncodedFlacAvailable()
534 memcpy(outHeader->pBuffer + outHeader->nOffset, buffer, bytes); in onEncodedFlacAvailable()

123