Home
last modified time | relevance | path

Searched refs:mDstFormat (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DRecordBufferConverter.cpp87 mSrcSampleRate, mSrcFormat, mDstFormat); in convert()
106 mSrcSampleRate, mDstSampleRate, mSrcFormat, mDstFormat); in convert()
138 && mDstFormat == dstFormat in updateParameters()
161 mDstFormat = dstFormat; in updateParameters()
168 mDstFrameSize = mDstChannelCount * audio_bytes_per_sample(mDstFormat); in updateParameters()
198 } else if (mSrcChannelMask != mDstChannelMask && mDstFormat != mSrcFormat) { in updateParameters()
244 memcpy_by_audio_format(dst, mDstFormat, mBuf, AUDIO_FORMAT_PCM_FLOAT, in convertNoResampler()
260 memcpy_by_audio_format(dst, mDstFormat, convertBuf, mSrcFormat, in convertNoResampler()
284 if (mDstFormat != AUDIO_FORMAT_PCM_FLOAT) { in convertResampler()
285 memcpy_by_audio_format(src, mDstFormat, src, AUDIO_FORMAT_PCM_FLOAT, in convertResampler()
[all …]
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp71 mDstFormat(to), in ColorConverter()
84 if (mDstFormat == OMX_COLOR_FormatYUV444Y410) { in isValid()
89 return mDstFormat == OMX_COLOR_Format16bitRGB565 in isValid()
90 || mDstFormat == OMX_COLOR_Format32BitRGBA8888 in isValid()
91 || mDstFormat == OMX_COLOR_Format32bitBGRA8888; in isValid()
96 return mDstFormat == OMX_COLOR_Format16bitRGB565; in isValid()
100 return mDstFormat == OMX_COLOR_Format16bitRGB565 in isValid()
101 || mDstFormat == OMX_COLOR_Format32BitRGBA8888; in isValid()
103 return mDstFormat == OMX_COLOR_Format16bitRGB565; in isValid()
112 return isRGB(mDstFormat); in isDstRGB()
[all …]
/frameworks/av/media/libmediatranscoding/tests/
DTranscodingLogger_tests.cpp128 mDstFormat.reset(); in SetUp()
155 if (!mDstFormat) { in logSession()
156 mDstFormat = std::shared_ptr<AMediaFormat>(CreateDstFormat(), &AMediaFormat_delete); in logSession()
158 logSession(time, reason, status, mSrcFormat.get(), mDstFormat.get()); in logSession()
209 std::shared_ptr<AMediaFormat> mDstFormat; member in android::TranscodingLoggerTest
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h79 OMX_COLOR_FORMATTYPE dstFormat() const { return mDstFormat; } in dstFormat()
88 OMX_COLOR_FORMATTYPE mDstFormat; member
/frameworks/av/media/libaudioprocessing/include/media/
DRecordBufferConverter.h93 audio_format_t mDstFormat; variable
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h78 OMX_COLOR_FORMATTYPE mSrcFormat, mDstFormat; member
/frameworks/av/media/libmediatranscoding/include/media/
DTranscoderWrapper.h85 std::shared_ptr<AMediaFormat> mDstFormat; variable
/frameworks/av/media/libmediatranscoding/
DTranscoderWrapper.cpp448 mDstFormat = format; in setupTranscoder()
570 mDstFormat = nullptr; in cleanup()
582 mDstFormat.get()); in logSessionEnded()
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp251 mDstFormat(OMX_COLOR_Format16bitRGB565), in FrameDecoder()
283 &mDstFormat, &mCaptureFormat, &mDstBpp)) { in init()