Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp1743 uint8_t opusInfo[AOPUS_OPUSHEAD_MAXSIZE]; in parseChunk() local
1753 data_offset, opusInfo, opusInfoSize) < opusInfoSize) { in parseChunk()
1759 strncpy((char *)opusInfo, "OpusHead", 8); in parseChunk()
1763 if (opusInfo[8]) { in parseChunk()
1768 opusInfo[8] = 1; in parseChunk()
1772 uint16_t pre_skip = U16_AT(&opusInfo[opusOffset]); in parseChunk()
1773 uint32_t sample_rate = U32_AT(&opusInfo[opusOffset + 2]); in parseChunk()
1774 uint16_t out_gain = U16_AT(&opusInfo[opusOffset + 6]); in parseChunk()
1779 memcpy(&opusInfo[opusOffset], &pre_skip, sizeof(pre_skip)); in parseChunk()
1780 memcpy(&opusInfo[opusOffset + 2], &sample_rate, sizeof(sample_rate)); in parseChunk()
[all …]