Home
last modified time | relevance | path

Searched refs:mSrcFormat (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DRecordBufferConverter.cpp87 mSrcSampleRate, mSrcFormat, mDstFormat); in convert()
106 mSrcSampleRate, mDstSampleRate, mSrcFormat, mDstFormat); in convert()
135 if (mSrcFormat == srcFormat in updateParameters()
158 mSrcFormat = srcFormat; in updateParameters()
198 } else if (mSrcChannelMask != mDstChannelMask && mDstFormat != mSrcFormat) { in updateParameters()
199 mBufFrameSize = mDstChannelCount * audio_bytes_per_sample(mSrcFormat); in updateParameters()
208 if (mRequiresFloat && mSrcFormat != AUDIO_FORMAT_PCM_FLOAT) { in updateParameters()
211 mSrcFormat, in updateParameters()
253 src, mSrcChannelCount, mIdxAry, audio_bytes_per_sample(mSrcFormat), frames); in convertNoResampler()
260 memcpy_by_audio_format(dst, mDstFormat, convertBuf, mSrcFormat, in convertNoResampler()
/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingLogger_tests.cpp127 mSrcFormat.reset(); in SetUp()
152 if (!mSrcFormat) { in logSession()
153 mSrcFormat = std::shared_ptr<AMediaFormat>(CreateSrcFormat(), &AMediaFormat_delete); in logSession()
158 logSession(time, reason, status, mSrcFormat.get(), mDstFormat.get()); in logSession()
208 std::shared_ptr<AMediaFormat> mSrcFormat; member in android::TranscodingLoggerTest
/frameworks/av/media/libaudioprocessing/include/media/
DRecordBufferConverter.h90 audio_format_t mSrcFormat; variable
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp463 : mSrcFormat(from), in ColorConverter()
508 switch ((int32_t)mSrcFormat) { in isValid()
551 if (isRGB(mSrcFormat)) { in setSrcColorSpace()
653 mSrcFormat); in convert()
671 switch ((int32_t)mSrcFormat) { in convert()
725 ALOGD("%s image took %lld us", asString_ColorFormat(mSrcFormat,"Unknown"), in convert()
734 const bool is10Bit = (mSrcFormat == COLOR_FormatYUVP010 in getMatrix()
735 || mSrcFormat == OMX_COLOR_FormatYUV420Planar16); in getMatrix()
1300 mSrcImage->getMediaImage2(), mSrcFormat); in convertYUVMediaImage()
1342 auto readFromSrcImage = getReadFromImage(mSrcImage->getMediaImage2(), mSrcFormat); in convertYUVMediaImage()
[all …]
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscoderWrapper.h84 std::shared_ptr<AMediaFormat> mSrcFormat; variable
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h164 OMX_COLOR_FORMATTYPE mSrcFormat, mDstFormat; member
/frameworks/av/media/module/libmediatranscoding/
DTranscoderWrapper.cpp447 mSrcFormat = trackFormats[i]; in setupTranscoder()
569 mSrcFormat = nullptr; in cleanup()
581 mLogger->logSessionEnded(reason, mCurrentCallingUid, error, transcodeDuration, mSrcFormat.get(), in logSessionEnded()