Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/tests/OpusHeader/
DOpusHeaderTest.cpp101 writtenHeader.num_streams = channels; in TEST_P()
174 ASSERT_EQ(writtenHeader.num_streams, parsedHeader.num_streams) in TEST_P()
180 ASSERT_EQ(parsedHeader.num_coupled + parsedHeader.num_streams, parsedHeader.channels); in TEST_P()
182 ASSERT_LE(parsedHeader.num_coupled, parsedHeader.num_streams) in TEST_P()
268 ASSERT_LE(header.num_coupled, header.num_streams) in TEST_P()
272 ASSERT_EQ(header.num_coupled + header.num_streams, header.channels); in TEST_P()
/frameworks/av/media/libstagefright/foundation/
DOpusHeader.cpp115 header->num_streams = 1; in ParseOpusHeader()
127 header->num_streams = data[kOpusHeaderNumStreamsOffset]; in ParseOpusHeader()
129 if (header->num_coupled > header->num_streams || in ParseOpusHeader()
130 header->num_streams + header->num_coupled != header->channels) { in ParseOpusHeader()
132 header->num_streams, header->num_coupled, header->channels); in ParseOpusHeader()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.h36 int num_streams; member
DSoftOpus.cpp364 header->num_streams = 1; in ParseOpusHeader()
375 header->num_streams = *(data + kOpusHeaderNumStreamsOffset); in ParseOpusHeader()
377 if (header->num_streams + header->num_coupled != header->channels) { in ParseOpusHeader()
472 mHeader->num_streams, in onQueueFilled()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DOpusHeader.h63 int num_streams; member
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputUtils.h46 uint32_t num_streams; member
DCamera3Device.cpp2658 config.num_streams = (mInputStream != NULL) + mOutputStreams.size(); in configureStreamsLocked()
2662 streams.setCapacity(config.num_streams); in configureStreamsLocked()
2663 std::vector<uint32_t> bufferSizes(config.num_streams, 0); in configureStreamsLocked()
2686 config.num_streams--; in configureStreamsLocked()
3270 requestedConfiguration3_2.streams.resize(config->num_streams); in configureStreams()
3271 requestedConfiguration3_4.streams.resize(config->num_streams); in configureStreams()
3272 requestedConfiguration3_7.streams.resize(config->num_streams); in configureStreams()
3273 for (size_t i = 0; i < config->num_streams; i++) { in configureStreams()
3478 for (size_t i = 0; i < config->num_streams; i++) { in configureStreams()
3575 requestedConfiguration3_2.streams.resize(config->num_streams); in configureInjectedStreams()
[all …]
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp285 mHeader.num_streams, in process()
DC2SoftOpusEnc.cpp443 opusHeader.num_streams = mChannelCount; in process()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp138 header.num_streams = nChannels; in audioTrack()