Home
last modified time | relevance | path

Searched refs:isWide (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/module/extractors/amr/
DAMRExtractor.cpp39 bool isWide,
73 static size_t getFrameSize(bool isWide, unsigned FT) { in getFrameSize() argument
88 if (FT > 15 || (isWide && FT > 9 && FT < 14) || (!isWide && FT > 11 && FT < 15)) { in getFrameSize()
93 size_t frameSize = isWide ? kFrameSizeWB[FT] : kFrameSizeNB[FT]; in getFrameSize()
102 off64_t offset, bool isWide, size_t *frameSize) { in getFrameSizeByOffset() argument
113 *frameSize = getFrameSize(isWide, FT); in getFrameSizeByOffset()
121 DataSourceHelper *source, bool *isWide, float *confidence) { in SniffAMR() argument
129 if (isWide != nullptr) { in SniffAMR()
130 *isWide = false; in SniffAMR()
136 if (isWide != nullptr) { in SniffAMR()
[all …]
/frameworks/av/media/libstagefright/
DAMRWriter.cpp72 bool isWide = false; in addSource() local
74 isWide = true; in addSource()
84 CHECK_EQ(sampleRate, (isWide ? 16000 : 8000)); in addSource()
88 const char *kHeader = isWide ? "#!AMR-WB\n" : "#!AMR\n"; in addSource()
/frameworks/av/media/libstagefright/rtsp/
DAAMRAssembler.cpp61 const sp<AMessage> &notify, bool isWide, const AString &params) in AAMRAssembler() argument
62 : mIsWide(isWide), in AAMRAssembler()
80 static size_t getFrameSize(bool isWide, unsigned FT) { in getFrameSize() argument
92 size_t frameSize = isWide ? kFrameSizeWB[FT] : kFrameSizeNB[FT]; in getFrameSize()
DARTPWriter.cpp1520 static size_t getFrameSize(bool isWide, unsigned FT) { in getFrameSize() argument
1528 size_t frameSize = isWide ? kFrameSizeWB[FT] : kFrameSizeNB[FT]; in getFrameSize()
1544 const bool isWide = (mMode == AMR_WB); in sendAMRData() local
1558 CHECK((isWide && FT <= 8) || (!isWide && FT <= 7)); in sendAMRData()
1561 srcOffset += getFrameSize(isWide, FT); in sendAMRData()
1607 size_t frameSize = getFrameSize(isWide, FT); in sendAMRData()
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrDec.cpp198 static size_t getFrameSize(bool isWide, unsigned FM) { in getFrameSize() argument
213 if (FM > 15 || (isWide && FM > 9 && FM < 14) || (!isWide && FM > 11 && FM < 15)) { in getFrameSize()
218 return (isWide ? kFrameSizeWB[FM] : kFrameSizeNB[FM]) + 1; in getFrameSize()
222 std::vector<size_t> *frameSizeList, bool isWide) { in calculateNumFrames() argument
225 size_t frameSize = getFrameSize(isWide, FM); in calculateNumFrames()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DAAMRAssembler.h34 const sp<AMessage> &notify, bool isWide,