Searched refs:buffCapacity (Results 1 – 4 of 4) sorted by relevance
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/android/ |
D | ImsMediaVideoSource.cpp | 376 size_t buffCapacity = 0; in onCameraFrame() local 377 uint8_t* encoderBuf = AMediaCodec_getInputBuffer(mCodec, index, &buffCapacity); in onCameraFrame() 378 if (!encoderBuf || !buffCapacity) in onCameraFrame() 381 buffCapacity); in onCameraFrame() 407 encoderBuf, buffCapacity, mCodecStride, yPlane, uvPlane, width, height); in onCameraFrame() 414 encoderBuf, buffCapacity, mCodecStride, yPlane, uvPlane, width, height); in onCameraFrame() 438 width, height, mWidth, mHeight, buffCapacity); in onCameraFrame() 513 size_t buffCapacity = 0; in EncodePauseImage() local 514 uint8_t* encoderBuf = AMediaCodec_getInputBuffer(mCodec, index, &buffCapacity); in EncodePauseImage() 515 if (!encoderBuf || !buffCapacity) in EncodePauseImage() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/ |
D | ImsMediaVideoUtil.cpp | 794 size_t buffCapacity = 0; in GenerateVideoSprop() local 795 uint8_t* buf = AMediaCodec_getOutputBuffer(pCodec, index, &buffCapacity); in GenerateVideoSprop() 796 IMLOGD1("[GenerateVideoSprop] getOutputBuffer returned buffCapacity[%d]", buffCapacity); in GenerateVideoSprop() 799 buffCapacity = info.size; in GenerateVideoSprop() 801 while (buf != nullptr && buffCapacity > 0) in GenerateVideoSprop() 804 uint8_t* tempBufPtr = FindAvcStartCode(buf, buffCapacity, &skipLen); in GenerateVideoSprop() 808 buffCapacity -= skipLen; in GenerateVideoSprop() 811 if (buf == nullptr || buffCapacity < START_CODE_PREFIX_LEN) in GenerateVideoSprop() 816 buffCapacity -= START_CODE_PREFIX_LEN; in GenerateVideoSprop() 821 int frameLen = buffCapacity; in GenerateVideoSprop() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/android/ |
D | ImsMediaAudioPlayer.cpp | 347 size_t buffCapacity; in decodeAmr() local 348 uint8_t* buf = AMediaCodec_getOutputBuffer(mCodec, index, &buffCapacity); in decodeAmr() 349 if (buf != nullptr && buffCapacity > 0) in decodeAmr()
|
D | ImsMediaAudioSource.cpp | 553 size_t buffCapacity; in dequeueOutputBuffer() local 554 uint8_t* buf = AMediaCodec_getOutputBuffer(mCodec, index, &buffCapacity); in dequeueOutputBuffer()
|