/external/opencore/fileformats/rawaac/parser/src/ |
D | aacfileparser.cpp | 160 uint8 *pBuffer = &iBuffer[iPos]; in getNextFrameInfo() local 161 …frame_size = (int32)((pBuffer[3] & 0x03) << 11) | // take the lowest 2 bits in the 4th byte of t… in getNextFrameInfo() 162 … (int32)(pBuffer[4] << 3) | // take the whole 5th byte(8 bits) of the header in getNextFrameInfo() 163 … (int32)((pBuffer[5] & 0xe0) >> 5); // take the highest 3 bits in the 6th byte of the header in getNextFrameInfo() 174 numDateBlocks = (pBuffer[6] & 0x03) + 1; // take the lowest 2 bits in the 7th byte of the header in getNextFrameInfo() 177 ibCRC_Check = ((pBuffer[1] & 0x01) ? false : true); in getNextFrameInfo() 207 uint8 *pBuffer = &iBuffer[iPos]; in getNextFrame() local 211 oscl_memcpy(frameBuffer, pBuffer, header_size); in getNextFrame() 217 oscl_memcpy(frameBuffer, &pBuffer[header_size], frame_size); in getNextFrame() 233 uint8 *pBuffer = &iBuffer[iPos]; in getNextFrame() local [all …]
|
/external/opencore/fileformats/wav/parser/src/ |
D | pvwavfileparser.cpp | 230 uint8* pBuffer = &iBuffer[0]; in InitWavParser() local 231 if (pBuffer[0] == 'R' && in InitWavParser() 232 pBuffer[1] == 'I' && in InitWavParser() 233 pBuffer[2] == 'F' && in InitWavParser() 234 pBuffer[3] == 'F') in InitWavParser() 238 else if (pBuffer[0] == 'R' && in InitWavParser() 239 pBuffer[1] == 'I' && in InitWavParser() 240 pBuffer[2] == 'F' && in InitWavParser() 241 pBuffer[3] == 'X') in InitWavParser() 268 if (pBuffer[ 8] != 'W' || in InitWavParser() [all …]
|
/external/skia/src/core/ |
D | SkPictureFlat.cpp | 40 char pBuffer[DUMP_BUFFER_SIZE]; in dump() local 41 char* bufferPtr = pBuffer; in dump() 42 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dump() 48 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dump() 52 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dump() 56 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dump() 60 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dump() 64 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dump() 68 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dump() 72 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dump() [all …]
|
D | SkPicturePlayback.cpp | 927 char pBuffer[DUMP_BUFFER_SIZE]; in dumpBitmap() local 928 char* bufferPtr = pBuffer; in dumpBitmap() 929 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dumpBitmap() 931 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dumpBitmap() 933 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dumpBitmap() 935 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dumpBitmap() 938 SkDebugf("%s{0}};\n", pBuffer); in dumpBitmap() 944 char pBuffer[DUMP_BUFFER_SIZE]; in dumpMatrix() local 945 char* bufferPtr = pBuffer; in dumpMatrix() 946 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), in dumpMatrix() [all …]
|
/external/opencore/fileformats/rawgsmamr/parser/src/ |
D | amrfileparser.cpp | 242 uint8 *pBuffer = &iBuffer[iPos]; in getNextFrame() local 261 pBuffer = &iBuffer[iPos]; in getNextFrame() 262 frame_type = (uint8)((pBuffer[0] >> 3) & 0x0f); in getNextFrame() 267 frame_type = (uint8)((pBuffer[0] >> 3) & 0x0f); in getNextFrame() 272 frame_type = (uint8)(pBuffer[0] & 0x0f); in getNextFrame() 286 oscl_memcpy(frameBuffer, &pBuffer[0], frame_size); // With frame header in getNextFrame() 290 oscl_memcpy(frameBuffer, &pBuffer[1], frame_size - 1); // NO frame header in getNextFrame() 309 uint8 *pBuffer = &iBuffer[iPos]; in parseIETFHeader() local 311 pBuffer[0] == '#' && in parseIETFHeader() 312 pBuffer[1] == '!' && in parseIETFHeader() [all …]
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_fmengine.c | 51 …G_VOICE *p, EAS_U16 gainTarget, EAS_I32 numSamplesToAdd, EAS_PCM *pInputBuffer, EAS_I32 *pBuffer); 275 EAS_PCM *pBuffer, in FM_Operator() argument 346 temp2 += *pBuffer; in FM_Operator() 347 *pBuffer++ = FM_Saturate(temp2); in FM_Operator() 352 *pBuffer++ = (EAS_I16) temp2; in FM_Operator() 387 EAS_PCM *pBuffer, in FM_NoiseOperator() argument 444 temp2 += *pBuffer; in FM_NoiseOperator() 445 *pBuffer++ = FM_Saturate(temp2); in FM_NoiseOperator() 450 *pBuffer++ = (EAS_I16) temp2; in FM_NoiseOperator() 551 EAS_PCM *pBuffer, in FM_ProcessVoice() argument [all …]
|
D | ARM-E_filter_gnu.s | 40 pBuffer .req r2 label 67 LDR pBuffer, [pWTFrame, #m_pAudioBuffer] 88 LDRSH tmp0, [pBuffer] @ fetch sample 98 LDRSH tmp1, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample 101 STRH z1, [pBuffer], #NEXT_OUTPUT_PCM @ write back to buffer 115 LDRGTSH tmp0, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample 117 STRH z1, [pBuffer], #NEXT_OUTPUT_PCM @ write back to buffer
|
/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_fmengine.c | 51 …G_VOICE *p, EAS_U16 gainTarget, EAS_I32 numSamplesToAdd, EAS_PCM *pInputBuffer, EAS_I32 *pBuffer); 275 EAS_PCM *pBuffer, in FM_Operator() argument 346 temp2 += *pBuffer; in FM_Operator() 347 *pBuffer++ = FM_Saturate(temp2); in FM_Operator() 352 *pBuffer++ = (EAS_I16) temp2; in FM_Operator() 387 EAS_PCM *pBuffer, in FM_NoiseOperator() argument 444 temp2 += *pBuffer; in FM_NoiseOperator() 445 *pBuffer++ = FM_Saturate(temp2); in FM_NoiseOperator() 450 *pBuffer++ = (EAS_I16) temp2; in FM_NoiseOperator() 551 EAS_PCM *pBuffer, in FM_ProcessVoice() argument [all …]
|
/external/opencore/codecs_v2/audio/mp3/dec/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()
|
/external/opencore/codecs_v2/omx/omx_proxy/src/ |
D | omx_proxy_interface.h | 160 OMX_IN OMX_U8* pBuffer); 164 OMX_INOUT OMX_BUFFERHEADERTYPE** pBuffer, 172 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 187 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 191 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 243 OMX_IN OMX_U8* pBuffer); 247 OMX_INOUT OMX_BUFFERHEADERTYPE** pBuffer, 255 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 270 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 274 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); [all …]
|
D | omx_proxy_interface.cpp | 219 …nd->ppBufferHdr, Command->nPortIndex, Command->pAppPrivate, Command->nSizeBytes, Command->pBuffer); in ProcessMessage() 231 …ReturnValueOmxApi = ComponentAllocateBuffer(Command->hComponent, Command->pBuffer, Command->nPortI… in ProcessMessage() 243 …eturnValueOmxApi = ComponentFreeBuffer(Command->hComponent, Command->nPortIndex, Command->pBuffer); in ProcessMessage() 281 ReturnValueOmxApi = ComponentEmptyThisBuffer(Command->hComponent, Command->pBuffer); in ProcessMessage() 296 ReturnValueOmxApi = ComponentFillThisBuffer(Command->hComponent, Command->pBuffer); in ProcessMessage() 584 OMX_IN OMX_U8* pBuffer) in ProxyUseBuffer() argument 592 …ACEMENT_NEW(ptr, UseBufMsg(hComponent, ppBufferHdr, nPortIndex, pAppPrivate, nSizeBytes, pBuffer)); in ProxyUseBuffer() 610 OMX_INOUT OMX_BUFFERHEADERTYPE** pBuffer, in ProxyAllocateBuffer() argument 621 …AllocBufMsg* Msg = OSCL_PLACEMENT_NEW(ptr, AllocBufMsg(hComponent, pBuffer, nPortIndex, pAppPrivat… in ProxyAllocateBuffer() 639 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer) in ProxyFreeBuffer() argument [all …]
|
/external/opencore/codecs_v2/omx/omx_baseclass/src/ |
D | pv_omxcomponent.cpp | 449 ipFrameDecodeBuffer = ipInputBuffer->pBuffer + ipInputBuffer->nOffset; in AssemblePartialFrames() 551 …oscl_memcpy(ipFrameDecodeBuffer, (ipInputBuffer->pBuffer + ipInputBuffer->nOffset), BytesToCopy); … in AssemblePartialFrames() 620 …oscl_memcpy(ipFrameDecodeBuffer, (ipInputBuffer->pBuffer + ipInputBuffer->nOffset), BytesToCopy); … in AssemblePartialFrames() 1084 OMX_IN OMX_U8* pBuffer) in BaseComponentUseBuffer() argument 1094 …= pOpenmaxAOType->UseBuffer(hComponent, ppBufferHdr, nPortIndex, pAppPrivate, nSizeBytes, pBuffer); in BaseComponentUseBuffer() 1106 OMX_IN OMX_U8* pBuffer) in UseBuffer() argument 1128 if (NULL == pBaseComponentPort->pBuffer) in UseBuffer() 1130 …pBaseComponentPort->pBuffer = (OMX_BUFFERHEADERTYPE**) oscl_calloc(pBaseComponentPort->PortParam.n… in UseBuffer() 1131 if (NULL == pBaseComponentPort->pBuffer) in UseBuffer() 1150 …pBaseComponentPort->pBuffer[ii] = (OMX_BUFFERHEADERTYPE*) oscl_malloc(sizeof(OMX_BUFFERHEADERTYPE)… in UseBuffer() [all …]
|
/external/srec/seti/sltsEngine/src/ |
D | SWIslts.c | 316 pTranscription->pBuffer = MALLOC(MAX_PHONE_LEN * (num_phones + 1+1), MTAG); in SWIsltsG2PGetWordTranscriptions() 317 if( pTranscription->pBuffer == NULL ) { in SWIsltsG2PGetWordTranscriptions() 323 …nRes = GetPhoneStr(pEng, phone_string, num_phones, (char *)pTranscription->pBuffer, &(pTranscripti… in SWIsltsG2PGetWordTranscriptions() 337 if(pTranscription[i].pBuffer) { in SWIsltsG2PGetWordTranscriptions() 338 FREE(pTranscription[i].pBuffer); in SWIsltsG2PGetWordTranscriptions() 353 LCHAR * pBuffer = NULL; in SWIsltsG2PFreeWordTranscriptions() local 359 pBuffer = ((LCHAR *)pTranscriptions - sizeof(int)); in SWIsltsG2PFreeWordTranscriptions() 360 nNbrOfTranscriptions = (int)*pBuffer; in SWIsltsG2PFreeWordTranscriptions() 363 if( pTranscriptions[i].pBuffer ) { in SWIsltsG2PFreeWordTranscriptions() 364 FREE(pTranscriptions[i].pBuffer); in SWIsltsG2PFreeWordTranscriptions() [all …]
|
/external/opencore/extern_libs_v2/khronos/openmax/include/ |
D | OMX_Core.h | 419 OMX_U8* pBuffer; /**< Pointer to actual block of memory member 580 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 609 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer); 1008 pBuffer) \ argument 1015 pBuffer) 1084 pBuffer) \ argument 1088 pBuffer) /* Macro End */ 1115 pBuffer) \ argument 1118 pBuffer) /* Macro End */ 1145 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);
|
/external/opencore/codecs_v2/utilities/colorconvert/src/ |
D | cpvvideoblend.cpp | 132 srcBuffer = pCameraInput->pBuffer; in BlendInput() 138 dstBuffer = pToEncode->pBuffer; in BlendInput() 168 inputRGB = pBitmap->pBuffer; in BlendInput() 175 outYUV = pToEncode->pBuffer; in BlendInput() 310 rgbBuf = pDisplayOutput->pBuffer; in BlendOutput() 326 yuvBuf[0] = pToEncode->pBuffer; in BlendOutput() 333 yuvBufDec[0] = pFromDecode->pBuffer; in BlendOutput() 343 yuvBufDec[0] = pFromDecode->pBuffer; in BlendOutput() 350 yuvBuf[0] = pToEncode->pBuffer; in BlendOutput() 359 temprgbBuf = pDropDownMenu->pBuffer ; in BlendOutput()
|
/external/opencore/codecs_v2/omx/omx_baseclass/include/ |
D | pv_omxcomponent.h | 73 OMX_BUFFERHEADERTYPE** pBuffer; member 178 OMX_IN OMX_U8* pBuffer); 182 OMX_INOUT OMX_BUFFERHEADERTYPE** pBuffer, 190 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 203 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 207 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 258 OMX_IN OMX_U8* pBuffer); 262 OMX_INOUT OMX_BUFFERHEADERTYPE** pBuffer, 270 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 283 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); [all …]
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | ARM-E_filter_gnu.s | 40 pBuffer .req r2 label 67 LDR pBuffer, [pWTFrame, #m_pAudioBuffer] 88 LDRSH tmp0, [pBuffer] @ fetch sample 98 LDRSH tmp1, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample 101 STRH z1, [pBuffer], #NEXT_OUTPUT_PCM @ write back to buffer 115 LDRGTSH tmp0, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample 117 STRH z1, [pBuffer], #NEXT_OUTPUT_PCM @ write back to buffer
|
/external/opencore/codecs_v2/audio/aac/dec/src/ |
D | long_term_prediction.cpp | 372 const Int16 *pBuffer; in long_term_prediction() local 489 pBuffer = &(buffer[ltp_buffer_index + buffer_offset]); in long_term_prediction() 494 test = (Int32) weight * (*(pBuffer++)); in long_term_prediction() 516 pBuffer = &(buffer[ltp_buffer_index - buffer_offset]); in long_term_prediction() 526 test = (Int32) weight * (*(pBuffer++)); in long_term_prediction()
|
D | getbits.h | 109 pElem = pInputStream->pBuffer + offset; in getbits() 181 pElem = pInputStream->pBuffer + offset; in get1bits() 216 pElem = pInputStream->pBuffer + offset; in get9_n_lessbits() 280 pElem = pInputStream->pBuffer + offset; in get17_n_lessbits()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dart/ |
D | SDL_dart.c | 48 PMCI_MIX_BUFFER pBuffer, in DARTEventFunc() argument 57 if (pBuffer) in DARTEventFunc() 59 pBufDesc = (pMixBufferDesc) (*pBuffer).ulUserParm; in DARTEventFunc() 215 if ((!(_this->hidden->pMixBuffers[i].pBuffer)) || (!pBufferDesc)) in DART_OpenAudio() 237 SDL_memset(_this->hidden->pMixBuffers[i].pBuffer, iSilence, iBufSize); in DART_OpenAudio() 328 pResult = _this->hidden->pMixBuffers[iFreeBuf].pBuffer; in DART_GetAudioBuf()
|
/external/opencore/codecs_v2/omx/omx_h264/src/ |
D | omx_avc_component.cpp | 413 OMX_U8* pBuffer = ipInputBuffer->pBuffer + offset; in ParseFullAVCFramesIntoNALs() local 421 if (AVCDEC_SUCCESS != ipAvcDec->GetNextFullNAL_OMX(&pTemp, &nalSize, pBuffer, &length)) in ParseFullAVCFramesIntoNALs() 426 pBuffer += nalSize + (int32)(pTemp - pBuffer); in ParseFullAVCFramesIntoNALs() 437 ipFrameDecodeBuffer = ipInputBuffer->pBuffer + iNALOffset; in ParseFullAVCFramesIntoNALs() 456 OMX_U8* pTemp = ipInputBuffer->pBuffer + offset; in ParseFullAVCFramesIntoNALs() 491 ipFrameDecodeBuffer = ipInputBuffer->pBuffer + iNALOffset; in ParseFullAVCFramesIntoNALs() 500 ipFrameDecodeBuffer = ipInputBuffer->pBuffer + ipInputBuffer->nOffset; in ParseFullAVCFramesIntoNALs() 618 pOutBuffer = ipOutputBuffer->pBuffer; in DecodeWithoutMarker() 820 pOutBuffer = ipOutputBuffer->pBuffer; in DecodeWithMarker() 899 ipFrameDecodeBuffer = ipInputBuffer->pBuffer + iNALOffset; in DecodeWithMarker()
|
/external/icu4c/common/ |
D | ustr_wcs.c | 41 void **pBuffer, int32_t *pCapacity, int32_t reqCapacity, in u_growAnyBufferFromStatic() argument 47 uprv_memcpy(newBuffer, *pBuffer, length*size); in u_growAnyBufferFromStatic() 55 if(*pBuffer!=(void *)context) { in u_growAnyBufferFromStatic() 56 uprv_free(*pBuffer); in u_growAnyBufferFromStatic() 59 *pBuffer=newBuffer; in u_growAnyBufferFromStatic()
|
/external/opencore/codecs_v2/utilities/colorconvert/include/ |
D | pvvideoblend.h | 71 uint8 *pBuffer; /*!< contain the YUV data in contiguous manner */ member 84 uint8 *pBuffer; /*!< RGB565 data */ member
|