Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp57 bool mIsWide; member in android::AMRSource
153 if (!SniffAMR(mDataSource, &mIsWide, &confidence)) { in AMRExtractor()
159 mIsWide ? MEDIA_MIMETYPE_AUDIO_AMR_WB : MEDIA_MIMETYPE_AUDIO_AMR_NB); in AMRExtractor()
162 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mIsWide ? 16000 : 8000); in AMRExtractor()
164 off64_t offset = mIsWide ? 9 : 6; in AMRExtractor()
171 status_t status = getFrameSizeByOffset(source, offset, mIsWide, &frameSize); in AMRExtractor()
180 mOffsetTable[mOffsetTableLength] = offset - (mIsWide ? 9: 6); in AMRExtractor()
207 AMEDIAFORMAT_KEY_MIME, mIsWide ? MEDIA_MIMETYPE_AUDIO_AMR_WB : "audio/amr"); in getMetaData()
222 return new AMRSource(mDataSource, mMeta, mIsWide, in getTrack()
241 mIsWide(isWide), in AMRSource()
[all …]
DAMRExtractor.h50 bool mIsWide; variable
/frameworks/av/media/libstagefright/rtsp/
DAAMRAssembler.cpp63 : mIsWide(isWide), in AAMRAssembler()
167 || (mIsWide && FT > 9 && FT != 15) in addPacket()
168 || (!mIsWide && FT > 8 && FT != 15)) { in addPacket()
177 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f); in addPacket()
193 size_t frameSize = getFrameSize(mIsWide, (toc >> 3) & 0x0f); in addPacket()
DAAMRAssembler.h45 bool mIsWide;
DARawAudioAssembler.h47 bool mIsWide;
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrDec.cpp127 mIsWide = false; in C2SoftAmrDec()
129 mIsWide = true; in C2SoftAmrDec()
143 if (!mIsWide) { in onStop()
159 if (!mIsWide) { in onRelease()
179 if (!mIsWide) { in initDecoder()
282 mIsWide)) { in process()
294 int16_t outSamples = mIsWide ? kNumSamplesPerFrameWB : kNumSamplesPerFrameNB; in process()
322 if (!mIsWide) { in process()
DC2SoftAmrDec.h60 bool mIsWide; member