Home
last modified time | relevance | path

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

123

/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Buffers.cpp58 LVM_Buffer_t* pBuffer; in LVM_BufferManagedIn() local
65 pBuffer = pInstance->pBufferManagement; in LVM_BufferManagedIn()
66 pDest = pBuffer->pScratch; in LVM_BufferManagedIn()
67 *pToProcess = pBuffer->pScratch; in LVM_BufferManagedIn()
68 *pProcessed = pBuffer->pScratch; in LVM_BufferManagedIn()
77 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples); in LVM_BufferManagedIn()
79 pBuffer->BufferState = LVM_FIRSTCALL; in LVM_BufferManagedIn()
82 pBuffer->SamplesToOutput = 0; /* Samples to output is same as in LVM_BufferManagedIn()
107 if (pBuffer->BufferState == LVM_FIRSTCALL) { in LVM_BufferManagedIn()
108 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/codecs/mp3dec/src/
Dpvmp3_getbits.cpp138 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE)); in getNbits()
141 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getNbits()
144 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getNbits()
147 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getNbits()
191 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getUpTo9bits()
192 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo9bits()
196 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getUpTo9bits()
238 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getUpTo17bits()
239 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo17bits()
240 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getUpTo17bits()
[all …]
Dpvmp3_framedecoder.cpp173 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_framedecoder()
571 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val; in fillDataBuf()
587 uint8 * ptr = pVars->inputStream.pBuffer + offset; in fillMainDataBuf()
596 pv_memcpy((pVars->mainDataStream.pBuffer + offset), ptr, temp*sizeof(uint8)); in fillMainDataBuf()
615 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); in fillMainDataBuf()
660 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_InitDecoder()
765 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
634 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
663 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
1068 pBuffer) \ argument
1075 pBuffer)
1144 pBuffer) \ argument
1148 pBuffer) /* Macro End */
1175 pBuffer) \ argument
1178 pBuffer) /* Macro End */
1205 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.cpp92 (addr), (header)->nAllocLen, (header)->pBuffer, (fenceFd)
94 (intptr_t)(addr), (header)->nAllocLen, (header)->pBuffer, \
154 memcpy(header->pBuffer + header->nOffset, in CopyToOMX()
161 sp<ABuffer> buf = new ABuffer(header->pBuffer, header->nAllocLen); in getBuffer()
1415 CHECK_EQ(header->pBuffer, bufferHandle); in useGraphicBuffer2_l()
1555 metadata.pBuffer = graphicBuffer == NULL ? NULL : graphicBuffer->getNativeBuffer(); in updateGraphicBufferInMeta_l()
1712 (native_handle_t *)header->pBuffer, false /* ownsHandle */); in allocateSecureBuffer()
1714 *buffer_data = header->pBuffer; in allocateSecureBuffer()
1781 (intptr_t)header->pBuffer, header, fenceFd)); in fillBuffer()
1917 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/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/opus/dec/
DSoftOpus.cpp428 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
493 *(reinterpret_cast<int64_t*>(inHeader->pBuffer + in onQueueFilled()
499 *(reinterpret_cast<int64_t*>(inHeader->pBuffer + in onQueueFilled()
554 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
565 (int16_t *)outHeader->pBuffer, in onQueueFilled()
/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.cpp410 const float * const pcmFloat = reinterpret_cast<float *>(inHeader->pBuffer); in onQueueFilled()
416 const int16_t * const pcm16 = reinterpret_cast<int16_t *>(inHeader->pBuffer); in onQueueFilled()
504 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader->nFilledLen, in onEncodedFlacAvailable()
527 memcpy(outHeader->pBuffer + outHeader->nOffset, buffer, bytes); in onEncodedFlacAvailable()

123