/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
SoftGSM.cpp | 200 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 205 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 208 notifyEmptyBufferDone(inHeader); 219 if (inHeader->nFilledLen > kMaxNumSamplesPerFrame) { 220 ALOGE("input buffer too large (%d).", inHeader->nFilledLen); 225 if(((inHeader->nFilledLen / kMSGSMFrameSize) * kMSGSMFrameSize) != inHeader->nFilledLen) { 226 ALOGE("input buffer not multiple of %d (%d).", kMSGSMFrameSize, inHeader->nFilledLen); 231 if (outHeader->nAllocLen < (inHeader->nFilledLen / kMSGSMFrameSize) * 320) { 239 uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
SoftMP3.cpp | 245 OMX_BUFFERHEADERTYPE *inHeader = NULL; 248 inHeader = inInfo->mHeader; 255 if (inHeader) { 256 if (inHeader->nOffset == 0 && inHeader->nFilledLen) { 257 mAnchorTimeUs = inHeader->nTimeStamp; 261 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 266 inHeader->pBuffer + inHeader->nOffset; 268 mConfig->inputBufferCurrentLength = inHeader->nFilledLen [all...] |
/frameworks/av/media/libstagefright/codecs/raw/ |
SoftRaw.cpp | 201 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 206 CHECK_GE(outHeader->nAllocLen, inHeader->nFilledLen); 208 inHeader->pBuffer + inHeader->nOffset, 209 inHeader->nFilledLen); 211 outHeader->nFlags = inHeader->nFlags; 213 outHeader->nFilledLen = inHeader->nFilledLen; 214 outHeader->nTimeStamp = inHeader->nTimeStamp; 216 bool sawEOS = (inHeader->nFlags & OMX_BUFFERFLAG_EOS) != 0; 220 notifyEmptyBufferDone(inHeader); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
SoftAMR.cpp | 307 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 312 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 315 notifyEmptyBufferDone(inHeader); 326 if (inHeader->nFilledLen == 0) { 329 notifyEmptyBufferDone(inHeader); 333 if (inHeader->nOffset == 0) { 334 mAnchorTimeUs = inHeader->nTimeStamp; 338 const uint8_t *inputPtr = inHeader->pBuffer + inHeader->nOffset; 355 if (inHeader->nFilledLen < frameSize) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
SoftAMRNBEncoder.cpp | 325 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 327 const void *inData = inHeader->pBuffer + inHeader->nOffset; 330 if (copy > inHeader->nFilledLen) { 331 copy = inHeader->nFilledLen; 335 mInputTimeUs = inHeader->nTimeStamp; 341 inHeader->nOffset += copy; 342 inHeader->nFilledLen -= copy; 346 inHeader->nTimeStamp += 349 if (inHeader->nFilledLen == 0) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
SoftAMRWBEncoder.cpp | 372 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 374 const void *inData = inHeader->pBuffer + inHeader->nOffset; 377 if (copy > inHeader->nFilledLen) { 378 copy = inHeader->nFilledLen; 382 mInputTimeUs = inHeader->nTimeStamp; 388 inHeader->nOffset += copy; 389 inHeader->nFilledLen -= copy; 393 inHeader->nTimeStamp += 396 if (inHeader->nFilledLen == 0) [all...] |
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
SoftFlacEncoder.cpp | 304 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 309 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 312 notifyEmptyBufferDone(inHeader); 324 if (inHeader->nFilledLen > kMaxInputBufferSize) { 325 ALOGE("input buffer too large (%d).", inHeader->nFilledLen); 335 mCurrentInputTimeStamp = inHeader->nTimeStamp; 337 const unsigned nbInputFrames = inHeader->nFilledLen / (2 * mNumChannels); 338 const unsigned nbInputSamples = inHeader->nFilledLen / 2; 339 const OMX_S16 * const pcm16 = reinterpret_cast<OMX_S16 *>(inHeader->pBuffer); 373 notifyEmptyBufferDone(inHeader); [all...] |
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
SoftG711.cpp | 217 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 222 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 225 notifyEmptyBufferDone(inHeader); 236 if (inHeader->nFilledLen > kMaxNumSamplesPerFrame) { 237 ALOGE("input buffer too large (%d).", inHeader->nFilledLen); 243 if (inHeader->nFilledLen * sizeof(int16_t) > outHeader->nAllocLen) { 252 const uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; 257 inputptr, inHeader->nFilledLen); 261 inputptr, inHeader->nFilledLen) [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
SoftMPEG4Encoder.cpp | 404 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 437 info.mTimeUs = inHeader->nTimeStamp; 438 info.mFlags = inHeader->nFlags; 441 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 445 if (inHeader->nFilledLen > 0) { 451 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, 460 inputData = (const uint8_t *)inHeader->pBuffer + inHeader->nOffset [all...] |
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
SoftVorbis.cpp | 331 OMX_BUFFERHEADERTYPE *inHeader = NULL; 334 inHeader = inInfo->mHeader; 342 if (inHeader) { 343 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 347 if (inHeader->nFilledLen || !mSawInputEos) { 348 if (inHeader->nFilledLen < sizeof(numPageSamples)) { 352 inHeader->nFilledLen, sizeof(numPageSamples)); 356 inHeader->pBuffer 357 + inHeader->nOffset + inHeader->nFilledLen - 4 [all...] |
/external/icu/icu4c/source/common/ |
ucol_swp.cpp | 127 const UCATableHeader *inHeader=(const UCATableHeader *)inData; 138 header.size=udata_readInt32(ds, inHeader->size); 139 } else if((length<(42*4) || length<(header.size=udata_readInt32(ds, inHeader->size)))) { 143 header.magic=ds->readUInt32(inHeader->magic); 146 inHeader->formatVersion[0]==3 /*&& 147 inHeader->formatVersion[1]>=0*/ 152 if(inHeader->isBigEndian!=ds->inIsBigEndian || inHeader->charSetFamily!=ds->inCharset) { 169 const UCATableHeader *inHeader; 187 inHeader=(const UCATableHeader *)inData [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
SoftAACEncoder.cpp | 461 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 463 const void *inData = inHeader->pBuffer + inHeader->nOffset; 466 if (copy > inHeader->nFilledLen) { 467 copy = inHeader->nFilledLen; 475 mInputTimeUs = inHeader->nTimeStamp; 481 inHeader->nOffset += copy; 482 inHeader->nFilledLen -= copy; 486 inHeader->nTimeStamp += 490 if (inHeader->nFilledLen == 0) [all...] |
SoftAACEncoder2.cpp | 549 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 551 const void *inData = inHeader->pBuffer + inHeader->nOffset; 554 if (copy > inHeader->nFilledLen) { 555 copy = inHeader->nFilledLen; 563 mInputTimeUs = inHeader->nTimeStamp; 569 inHeader->nOffset += copy; 570 inHeader->nFilledLen -= copy; 574 inHeader->nTimeStamp += 578 if (inHeader->nFilledLen == 0) [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
SoftAVCEncoder.cpp | 509 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 571 info.mTimeUs = inHeader->nTimeStamp; 572 info.mFlags = inHeader->nFlags; 574 mPrevTimestampUs = inHeader->nTimeStamp; 576 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 580 if (inHeader->nFilledLen > 0) { 585 videoInput.coding_timestamp = (inHeader->nTimeStamp + 500) / 1000; // in ms 591 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
SoftMPEG4.cpp | 105 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 106 if (inHeader == NULL) { 117 if (inHeader->nFilledLen == 0) { 120 notifyEmptyBufferDone(inHeader); 124 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 144 uint8_t *bitstream = inHeader->pBuffer + inHeader->nOffset; 158 if ((inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) || volHeader) { 160 vol_size = inHeader->nFilledLen; 188 if (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) [all...] |
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
SoftVPX.cpp | 247 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 252 if (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { 257 notifyEmptyBufferDone(inHeader); 266 mTimeStamps[mTimeStampIdx] = inHeader->nTimeStamp; 268 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 273 if (inHeader->nFilledLen > 0) { 275 (vpx_codec_ctx_t *)mCtx, inHeader->pBuffer + inHeader->nOffset, 276 inHeader->nFilledLen, &mTimeStamps[mTimeStampIdx], 0); 281 notifyEmptyBufferDone(inHeader); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
SoftAVC.cpp | 132 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 137 header->nTimeStamp = inHeader->nTimeStamp; 138 header->nFlags = inHeader->nFlags; 148 inPicture.dataLen = inHeader->nFilledLen; 149 inPicture.pStream = inHeader->pBuffer + inHeader->nOffset; 198 notifyEmptyBufferDone(inHeader);
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
SoftOpus.cpp | 420 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 423 if (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { 426 notifyEmptyBufferDone(inHeader); 433 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 436 notifyEmptyBufferDone(inHeader); 447 if (inHeader->nOffset == 0) { 448 mAnchorTimeUs = inHeader->nTimeStamp; 455 if (inHeader->nTimeStamp == 0) { 459 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset [all...] |
/frameworks/av/media/libstagefright/codecs/avcdec/ |
SoftAVCDec.cpp | 430 OMX_BUFFERHEADERTYPE *inHeader, 442 * inHeader is set to zero. Hence check for non-null */ 443 if (inHeader) { 446 inHeader->pBuffer + inHeader->nOffset; 447 ps_dec_ip->u4_num_Bytes = inHeader->nFilledLen; 545 OMX_BUFFERHEADERTYPE *inHeader; 552 inHeader = NULL; 557 inHeader = inInfo->mHeader; 558 if (inHeader == NULL) [all...] |
/external/icu/icu4c/source/test/cintltst/ |
udatatst.c | [all...] |
/frameworks/av/media/libstagefright/codecs/aacdec/ |
SoftAAC2.cpp | 561 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 563 mEndOfInput = (inHeader->nFlags & OMX_BUFFERFLAG_EOS) != 0; 565 if (mInputBufferCount == 0 && !(inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG)) { 567 inHeader->nFlags |= OMX_BUFFERFLAG_CODECCONFIG; 569 if ((inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) != 0) { 571 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 573 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; 574 inBufferLength[0] = inHeader->nFilledLen; 595 notifyEmptyBufferDone(inHeader); [all...] |
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
SoftHEVC.cpp | 390 OMX_BUFFERHEADERTYPE *inHeader, 402 * inHeader is set to zero. Hence check for non-null */ 403 if (inHeader) { 405 ps_dec_ip->pv_stream_buffer = inHeader->pBuffer 406 + inHeader->nOffset; 407 ps_dec_ip->u4_num_Bytes = inHeader->nFilledLen; 506 OMX_BUFFERHEADERTYPE *inHeader; 513 inHeader = NULL; 518 inHeader = inInfo->mHeader; 530 if (inHeader != NULL && (inHeader->nFlags & OMX_BUFFERFLAG_EOS)) [all...] |
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
SoftMPEG2.cpp | 517 OMX_BUFFERHEADERTYPE *inHeader, 529 * inHeader is set to zero. Hence check for non-null */ 530 if (inHeader) { 532 ps_dec_ip->pv_stream_buffer = inHeader->pBuffer 533 + inHeader->nOffset; 534 ps_dec_ip->u4_num_Bytes = inHeader->nFilledLen; 604 OMX_BUFFERHEADERTYPE *inHeader; 611 inHeader = NULL; 616 inHeader = inInfo->mHeader; 628 if (inHeader != NULL && (inHeader->nFlags & OMX_BUFFERFLAG_EOS)) [all...] |
/prebuilts/tools/common/m2/repository/itext/itext/2.0.8/ |
itext-2.0.8.jar | |
/external/opencv3/samples/java/sbt/sbt/ |
sbt-launch.jar | |