Home
last modified time | relevance | path

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

/frameworks/av/media/module/foundation/
DOpusHeader.cpp75 constexpr size_t kOpusHeaderStreamMapOffset = 21; variable
121 if (data_size < kOpusHeaderStreamMapOffset + header->channels) { in ParseOpusHeader()
136 uint8_t value = data[kOpusHeaderStreamMapOffset + i]; in ParseOpusHeader()
153 const size_t total_size = kOpusHeaderStreamMapOffset + header.channels; in WriteOpusHeader()
185 output[kOpusHeaderStreamMapOffset + i] = kOpusChannelMap[header.channels - 1][i]; in WriteOpusHeader()
187 return kOpusHeaderStreamMapOffset + header.channels + 1; in WriteOpusHeader()
/frameworks/av/media/module/foundation/tests/OpusHeader/
DOpusHeaderTest.cpp36 constexpr size_t kOpusHeaderStreamMapOffset = 21; variable
194 kOpusHeaderStreamMapOffset + channelNumber); in TEST_P()
278 kOpusHeaderStreamMapOffset + channelNumber); in TEST_P()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp341 const size_t kOpusHeaderStreamMapOffset = kOpusHeaderNumStreamsOffset + 2; in ParseOpusHeader() local
370 if (data_size < kOpusHeaderStreamMapOffset + header->channels) { in ParseOpusHeader()
382 header->stream_map[i] = *(data + kOpusHeaderStreamMapOffset + i); in ParseOpusHeader()