Home
last modified time | relevance | path

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

/frameworks/av/media/module/foundation/tests/OpusHeader/
DOpusHeaderTest.cpp143 void *opusHeadBuf = nullptr; in TEST_P() local
146 bool status = GetOpusHeaderBuffers(headerData, headerSize, &opusHeadBuf, &opusHeadSize, in TEST_P()
158 status = ParseOpusHeader((uint8_t *)opusHeadBuf, opusHeadSize, &parsedHeader); in TEST_P()
193 mappedChannelNumber = *(reinterpret_cast<uint8_t *>(opusHeadBuf) + in TEST_P()
229 void *opusHeadBuf = nullptr; in TEST_P() local
232 bool status = GetOpusHeaderBuffers(mInputBuffer, fileSize, &opusHeadBuf, &opusHeadSize, in TEST_P()
236 ASSERT_EQ(opusHeadBuf, nullptr); in TEST_P()
238 ASSERT_NE(opusHeadBuf, nullptr); in TEST_P()
255 status = ParseOpusHeader((uint8_t *)opusHeadBuf, opusHeadSize, &header); in TEST_P()
277 mappedChannelNumber = *(reinterpret_cast<uint8_t *>(opusHeadBuf) + in TEST_P()
/frameworks/av/media/module/foundation/
DOpusHeader.cpp283 void **opusHeadBuf, size_t *opusHeadSize, in GetOpusHeaderBuffers() argument
290 *opusHeadBuf = NULL; in GetOpusHeaderBuffers()
303 *opusHeadBuf = (void *)data; in GetOpusHeaderBuffers()
327 *opusHeadBuf = csdBuf + AOPUS_MARKER_SIZE + AOPUS_LENGTH_SIZE; in GetOpusHeaderBuffers()
/frameworks/av/media/libstagefright/
DOggWriter.cpp325 void *opusHeadBuf = NULL; in threadFunc() local
329 buffer->range_length(), &opusHeadBuf, in threadFunc()
333 writeOggHeaderPackets((unsigned char *)opusHeadBuf, opusHeadSize); in threadFunc()
DUtils.cpp2243 void *opusHeadBuf = csd0->data(); in convertMessageToMetaData() local
2257 GetOpusHeaderBuffers(csd0->data(), csd0->size(), &opusHeadBuf, in convertMessageToMetaData()
2262 meta->setData(kKeyOpusHeader, 0, opusHeadBuf, opusHeadSize); in convertMessageToMetaData()
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DOpusHeader.h73 void **opusHeadBuf, size_t *opusHeadSize,
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp252 void *opusHeadBuf = NULL; in process() local
256 if (!GetOpusHeaderBuffers(data, inSize, &opusHeadBuf, in process()
266 if (!ParseOpusHeader((uint8_t *)opusHeadBuf, opusHeadSize, &mHeader)) { in process()
/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp664 void *opusHeadBuf = nullptr; in TEST_P() local
669 GetOpusHeaderBuffers((uint8_t *)csdBuffer, size, &opusHeadBuf, &opusHeadSize, in TEST_P()