Home
last modified time | relevance | path

Searched refs:mFramer (Results 1 – 5 of 5) sorted by relevance

/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp34 : mFramer(NULL) in SPDIFEncoder()
49 mFramer = new AC3FrameScanner(format); in SPDIFEncoder()
53 mFramer = new DTSFrameScanner(); in SPDIFEncoder()
60 LOG_ALWAYS_FATAL_IF((mFramer == NULL), in SPDIFEncoder()
65 * mFramer->getMaxSampleFramesPerSyncFrame(); in SPDIFEncoder()
81 delete mFramer; in ~SPDIFEncoder()
166 size_t burstSize = mFramer->getSampleFramesPerSyncFrame() * sizeof(uint16_t) in sendZeroPad()
183 if (mFramer != NULL) { in reset()
184 mFramer->resetBurst(); in reset()
196 mBurstBuffer[3] = mFramer->convertBytesToLengthCode(numBytes); in flushBurstBuffer()
[all …]
DSPDIFDecoder.cpp30 : mFramer(std::make_unique<SPDIFFrameScanner>(format)) in SPDIFDecoder()
32 * mFramer->getMaxSampleFramesPerSyncFrame()) in SPDIFDecoder()
51 if (mFramer != NULL) { in reset()
52 mFramer->resetBurst(); in reset()
87 if (!mBurstDataBuffer.empty() && mFramer->scan(mBurstDataBuffer.readByte())) { in read()
88 mPayloadBytesPending = mFramer->getFrameSizeBytes(); in read()
/system/media/audio_utils/include/audio_utils/spdif/
DSPDIFDecoder.h58 uint32_t getRateMultiplier() const { return mFramer->getRateMultiplier(); } in getRateMultiplier()
74 std::unique_ptr<FrameScanner> mFramer; variable
DSPDIFEncoder.h93 FrameScanner *mFramer; variable
/system/media/audio_utils/tests/
Dspdif_tests.cpp46 FrameScanner *getFramer() const { return mFramer; } in getFramer()
59 mFramer->getSampleFramesPerSyncFrame() * kSpdifEncodedChannelCount * sizeof(int16_t))) { in MySPDIFDecoder()
72 FrameScanner &getFramer() const { return *mFramer; } in getFramer()