/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Buffers.c | 63 LVM_Buffer_t *pBuffer; in LVM_BufferManagedIn() local 71 pBuffer = pInstance->pBufferManagement; in LVM_BufferManagedIn() 72 pDest = pBuffer->pScratch; in LVM_BufferManagedIn() 73 *pToProcess = pBuffer->pScratch; in LVM_BufferManagedIn() 74 *pProcessed = pBuffer->pScratch; in LVM_BufferManagedIn() 84 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples); in LVM_BufferManagedIn() 86 pBuffer->BufferState = LVM_FIRSTCALL; in LVM_BufferManagedIn() 89 …pBuffer->SamplesToOutput = 0; /* Samples to output is same as number re… in LVM_BufferManagedIn() 117 if (pBuffer->BufferState == LVM_FIRSTCALL) in LVM_BufferManagedIn() 119 pBuffer->BufferState = LVM_FIRSTLASTCALL; in LVM_BufferManagedIn() [all …]
|
/frameworks/av/services/audioflinger/ |
D | BufferProviders.cpp | 73 status_t CopyBufferProvider::getNextBuffer(AudioBufferProvider::Buffer *pBuffer, in getNextBuffer() argument 79 status_t res = mTrackBufferProvider->getNextBuffer(pBuffer, pts); in getNextBuffer() 81 copyFrames(pBuffer->raw, pBuffer->raw, pBuffer->frameCount); in getNextBuffer() 86 mBuffer.frameCount = pBuffer->frameCount; in getNextBuffer() 95 pBuffer->raw = NULL; in getNextBuffer() 96 pBuffer->frameCount = 0; in getNextBuffer() 103 count = min(count, pBuffer->frameCount); in getNextBuffer() 104 pBuffer->raw = mLocalBufferData; in getNextBuffer() 105 pBuffer->frameCount = count; in getNextBuffer() 106 copyFrames(pBuffer->raw, (uint8_t*)mBuffer.raw + mConsumed * mInputFrameSize, in getNextBuffer() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_getbits.cpp | 129 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()
|
D | pvmp3_framedecoder.cpp | 173 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_framedecoder() 562 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val; in fillDataBuf() 578 uint8 * ptr = pVars->inputStream.pBuffer + offset; in fillMainDataBuf() 587 pv_memcpy((pVars->mainDataStream.pBuffer + offset), ptr, temp*sizeof(uint8)); in fillMainDataBuf() 614 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); in fillMainDataBuf() 615 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); in fillMainDataBuf() 619 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset , BUFSIZE))); in fillMainDataBuf() 672 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_InitDecoder() 777 pVars->mainDataStream.pBuffer = pVars->mainDataBuffer; in pvmp3_resetDecoder()
|
D | pvmp3_seek_synch.cpp | 140 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_frame_synch() 211 uint8 *pElem = pVars->inputStream.pBuffer + offset; in pvmp3_frame_synch()
|
D | s_mp3bits.h | 91 uint8 *pBuffer; member
|
/frameworks/native/include/media/openmax/ |
D | OMX_Core.h | 419 OMX_U8* pBuffer; /**< Pointer to actual block of memory member 592 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 621 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer); 1020 pBuffer) \ argument 1027 pBuffer) 1096 pBuffer) \ argument 1100 pBuffer) /* Macro End */ 1127 pBuffer) \ argument 1130 pBuffer) /* Macro End */ 1157 pBuffer) \ argument [all …]
|
D | OMX_Component.h | 501 OMX_IN OMX_U8* pBuffer); 521 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 529 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 537 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
|
D | OMX_ContentPipe.h | 191 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/ |
D | FwdLockConv.h | 37 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,
|
D | FwdLockConv.c | 556 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/ |
D | OutputMixExt.h | 32 void (*FillBuffer)(SLOutputMixExtItf self, void *pBuffer, SLuint32 size); 48 extern void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
|
D | SndFile.c | 42 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/omx/ |
D | OMXNodeInstance.cpp | 80 (addr), (header)->nAllocLen, (header)->pBuffer, (fenceFd) 82 (intptr_t)(addr), (header)->nAllocLen, (header)->pBuffer, \ 135 memcpy(header->pBuffer + header->nOffset, in CopyToOMX() 146 buf = new ABuffer(header->pBuffer, header->nAllocLen); in getBuffer() 736 CHECK_EQ(header->pBuffer, bufferHandle); in useGraphicBuffer2_l() 821 VideoGrallocMetadata &metadata = *(VideoGrallocMetadata *)(header->pBuffer); in updateGraphicBufferInMeta_l() 826 VideoNativeMetadata &metadata = *(VideoNativeMetadata *)(header->pBuffer); in updateGraphicBufferInMeta_l() 828 metadata.pBuffer = graphicBuffer == NULL ? NULL : graphicBuffer->getNativeBuffer(); in updateGraphicBufferInMeta_l() 995 *buffer_data = header->pBuffer; in allocateBuffer() 1045 params->size(), params->pointer(), allottedSize, header->pBuffer)); in allocateBufferWithBackup() [all …]
|
D | OMX.cpp | 502 node_id node, buffer_id buffer, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer, int fenceFd) { in OnEmptyBufferDone() argument 503 ALOGV("OnEmptyBufferDone buffer=%p", pBuffer); in OnEmptyBufferDone() 517 node_id node, buffer_id buffer, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer, int fenceFd) { in OnFillBufferDone() argument 518 ALOGV("OnFillBufferDone buffer=%p", pBuffer); in OnFillBufferDone() 525 msg.u.extended_buffer_data.range_offset = pBuffer->nOffset; in OnFillBufferDone() 526 msg.u.extended_buffer_data.range_length = pBuffer->nFilledLen; in OnFillBufferDone() 527 msg.u.extended_buffer_data.flags = pBuffer->nFlags; in OnFillBufferDone() 528 msg.u.extended_buffer_data.timestamp = pBuffer->nTimeStamp; in OnFillBufferDone()
|
/frameworks/av/media/libstagefright/codecs/common/include/ |
D | cmnMemory.h | 48 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/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
D | omxVCM4P10_InterpolateLuma_s.s | 116 M_ALLOC4 pBuffer, 120 ;// 120 = 12x10 163 M_ADR pBuf, pBuffer 245 M_ADR pBuf, pBuffer 283 M_ADR pBuf, pBuffer 366 M_ADR pBuf, pBuffer 404 M_ADR pBuf, pBuffer
|
/frameworks/av/media/libstagefright/codecs/common/ |
D | cmnMemory.c | 66 VO_U32 cmnMemCheck (VO_S32 uID, VO_PTR pBuffer, VO_U32 uSize) in cmnMemCheck() argument 69 UNUSED(pBuffer); in cmnMemCheck()
|
/frameworks/wilhelm/src/itf/ |
D | IBufferQueue.c | 46 SLresult IBufferQueue_Enqueue(SLBufferQueueItf self, const void *pBuffer, SLuint32 size) in IBufferQueue_Enqueue() argument 53 if (NULL == pBuffer || 0 == size) { in IBufferQueue_Enqueue() 65 oldRear->mBuffer = pBuffer; in IBufferQueue_Enqueue()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | omxVCM4P10_DequantTransformResidualFromPairAndAdd.c | 116 OMX_S16 pBuffer[16+4]; in omxVCM4P10_DequantTransformResidualFromPairAndAdd() local 132 pDelta = armAlignTo8Bytes(pBuffer); in omxVCM4P10_DequantTransformResidualFromPairAndAdd()
|
/frameworks/native/include/media/hardware/ |
D | HardwareAPI.h | 116 OMX_PTR pBuffer; member 118 struct ANativeWindowBuffer* pBuffer; member
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 239 inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() 252 reinterpret_cast<int16_t *>(outHeader->pBuffer); in onQueueFilled() 279 memset(outHeader->pBuffer, 0, outHeader->nFilledLen); in onQueueFilled() 291 memset(outHeader->pBuffer, in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.cpp | 334 const uint8_t *data = header->pBuffer + header->nOffset; in onQueueFilled() 382 *(reinterpret_cast<int64_t*>(header->pBuffer + in onQueueFilled() 388 *(reinterpret_cast<int64_t*>(header->pBuffer + in onQueueFilled() 443 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() 449 (int16_t *)outHeader->pBuffer, in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
D | SoftAVCEncoder.cpp | 503 uint8_t *outPtr = (uint8_t *) outHeader->pBuffer; in onQueueFilled() 533 memcpy((uint8_t *)outHeader->pBuffer, "\x00\x00\x00\x01", 4); in onQueueFilled() 541 memcpy((uint8_t *) outHeader->pBuffer + outHeader->nFilledLen, in onQueueFilled() 575 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled() 585 inputData = (const uint8_t *)inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() 634 dataLength = outPtr + dataLength - outHeader->pBuffer; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.cpp | 258 const uint8_t *data = header->pBuffer + header->nOffset; in onQueueFilled() 316 inHeader->pBuffer in onQueueFilled() 334 buf.data = inHeader ? inHeader->pBuffer + inHeader->nOffset : NULL; in onQueueFilled() 366 mState, (int16_t *)outHeader->pBuffer, in onQueueFilled()
|