Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DOpusHeader.cpp75 constexpr size_t kOpusHeaderStreamMapOffset = 21; variable
121 if (data_size < kOpusHeaderStreamMapOffset + header->channels) { in ParseOpusHeader()
134 header->stream_map[i] = data[kOpusHeaderStreamMapOffset + i]; in ParseOpusHeader()
141 const size_t total_size = kOpusHeaderStreamMapOffset + header.channels; in WriteOpusHeader()
173 output[kOpusHeaderStreamMapOffset + i] = kOpusChannelMap[header.channels - 1][i]; in WriteOpusHeader()
175 return kOpusHeaderStreamMapOffset + header.channels + 1; in WriteOpusHeader()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp338 const size_t kOpusHeaderStreamMapOffset = kOpusHeaderNumStreamsOffset + 2; in ParseOpusHeader() local
367 if (data_size < kOpusHeaderStreamMapOffset + header->channels) { in ParseOpusHeader()
379 header->stream_map[i] = *(data + kOpusHeaderStreamMapOffset + i); in ParseOpusHeader()