/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 78 status_t res = mTrackBufferProvider->getNextBuffer(pBuffer); in getNextBuffer() 80 copyFrames(pBuffer->raw, pBuffer->raw, pBuffer->frameCount); in getNextBuffer() 85 mBuffer.frameCount = pBuffer->frameCount; in getNextBuffer() 94 pBuffer->raw = NULL; in getNextBuffer() 95 pBuffer->frameCount = 0; in getNextBuffer() 102 count = min(count, pBuffer->frameCount); in getNextBuffer() 103 pBuffer->raw = mLocalBufferData; in getNextBuffer() 104 pBuffer->frameCount = count; in getNextBuffer() 105 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 614 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 643 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer); 1048 pBuffer) \ argument 1055 pBuffer) 1124 pBuffer) \ argument 1128 pBuffer) /* Macro End */ 1155 pBuffer) \ argument 1158 pBuffer) /* Macro End */ 1185 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/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 52 if (NULL == pBuffer || 0 == size) { in IBufferQueue_Enqueue() 64 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/av/media/libstagefright/omx/ |
D | OMX.cpp | 691 node_id node, buffer_id buffer, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer, int fenceFd) { in OnEmptyBufferDone() argument 692 ALOGV("OnEmptyBufferDone buffer=%p", pBuffer); in OnEmptyBufferDone() 706 node_id node, buffer_id buffer, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer, int fenceFd) { in OnFillBufferDone() argument 707 ALOGV("OnFillBufferDone buffer=%p", pBuffer); in OnFillBufferDone() 714 msg.u.extended_buffer_data.range_offset = pBuffer->nOffset; in OnFillBufferDone() 715 msg.u.extended_buffer_data.range_length = pBuffer->nFilledLen; in OnFillBufferDone() 716 msg.u.extended_buffer_data.flags = pBuffer->nFlags; in OnFillBufferDone() 717 msg.u.extended_buffer_data.timestamp = pBuffer->nTimeStamp; in OnFillBufferDone()
|
D | OMXNodeInstance.cpp | 82 (addr), (header)->nAllocLen, (header)->pBuffer, (fenceFd) 84 (intptr_t)(addr), (header)->nAllocLen, (header)->pBuffer, \ 138 memcpy(header->pBuffer + header->nOffset, in CopyToOMX() 149 buf = new ABuffer(header->pBuffer, header->nAllocLen); in getBuffer() 898 CHECK_EQ(header->pBuffer, bufferHandle); in useGraphicBuffer2_l() 1007 metadata.pBuffer = graphicBuffer == NULL ? NULL : graphicBuffer->getNativeBuffer(); in updateGraphicBufferInMeta_l() 1256 (native_handle_t *)header->pBuffer, false /* ownsHandle */); in allocateSecureBuffer() 1258 *buffer_data = header->pBuffer; in allocateSecureBuffer() 1324 params->size(), params->pointer(), allottedSize, header->pBuffer)); in allocateBufferWithBackup() 1462 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); in storeFenceInMeta_l() [all …]
|
/frameworks/native/include/media/hardware/ |
D | HardwareAPI.h | 144 OMX_PTR pBuffer; member 146 struct ANativeWindowBuffer* pBuffer; member
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.cpp | 350 const uint8_t *data = header->pBuffer + header->nOffset; in onQueueFilled() 398 *(reinterpret_cast<int64_t*>(header->pBuffer + in onQueueFilled() 404 *(reinterpret_cast<int64_t*>(header->pBuffer + in onQueueFilled() 459 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() 470 (int16_t *)outHeader->pBuffer, in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
D | SoftAVCEncoder.cpp | 519 uint8_t *outPtr = (uint8_t *) outHeader->pBuffer; in onQueueFilled() 549 memcpy((uint8_t *)outHeader->pBuffer, "\x00\x00\x00\x01", 4); in onQueueFilled() 557 memcpy((uint8_t *) outHeader->pBuffer + outHeader->nFilledLen, in onQueueFilled() 591 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled() 601 inputData = (const uint8_t *)inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() 650 dataLength = outPtr + dataLength - outHeader->pBuffer; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 252 const uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() 256 reinterpret_cast<int16_t *>(outHeader->pBuffer), in onQueueFilled() 260 reinterpret_cast<int16_t *>(outHeader->pBuffer), in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.cpp | 275 const uint8_t *data = header->pBuffer + header->nOffset; in onQueueFilled() 356 inHeader->pBuffer in onQueueFilled() 374 buf.data = inHeader ? inHeader->pBuffer + inHeader->nOffset : NULL; in onQueueFilled() 411 mState, (int16_t *)outHeader->pBuffer, in onQueueFilled()
|