Home
last modified time | relevance | path

Searched refs:streams (Results 1 – 25 of 240) sorted by relevance

12345678910

/external/webrtc/talk/media/webrtc/
Dsimulcast.cc178 int GetTotalMaxBitrateBps(const std::vector<webrtc::VideoStream>& streams) { in GetTotalMaxBitrateBps() argument
180 for (size_t s = 0; s < streams.size() - 1; ++s) { in GetTotalMaxBitrateBps()
181 total_max_bitrate_bps += streams[s].target_bitrate_bps; in GetTotalMaxBitrateBps()
183 total_max_bitrate_bps += streams.back().max_bitrate_bps; in GetTotalMaxBitrateBps()
204 std::vector<webrtc::VideoStream> streams; in GetSimulcastConfig() local
205 streams.resize(simulcast_layers); in GetSimulcastConfig()
215 streams[s].width = width; in GetSimulcastConfig()
216 streams[s].height = height; in GetSimulcastConfig()
218 streams[s].temporal_layer_thresholds_bps.resize( in GetSimulcastConfig()
220 streams[s].max_bitrate_bps = in GetSimulcastConfig()
[all …]
/external/webrtc/talk/media/base/
Dstreamparams.h276 const StreamParams* GetStream(const StreamParamsVec& streams, in GetStream() argument
279 std::find_if(streams.begin(), streams.end(), condition); in GetStream()
280 return found == streams.end() ? nullptr : &(*found); in GetStream()
283 inline const StreamParams* GetStreamBySsrc(const StreamParamsVec& streams, in GetStreamBySsrc() argument
285 return GetStream(streams, in GetStreamBySsrc()
289 inline const StreamParams* GetStreamByIds(const StreamParamsVec& streams, in GetStreamByIds() argument
292 return GetStream(streams, in GetStreamByIds()
298 inline const StreamParams* GetStream(const StreamParamsVec& streams, in GetStream() argument
300 return GetStream(streams, in GetStream()
305 bool RemoveStream(StreamParamsVec* streams, Condition condition) { in RemoveStream() argument
[all …]
Dstreamparams.cc37 void AddStream(std::vector<StreamParams>* streams, const StreamParams& stream) { in AddStream() argument
38 streams->push_back(stream); in AddStream()
46 bool GetStream(const StreamParamsVec& streams, in GetStream() argument
49 const StreamParams* found = GetStream(streams, selector); in GetStream()
70 void MediaStreams::CopyFrom(const MediaStreams& streams) { in CopyFrom() argument
71 audio_ = streams.audio_; in CopyFrom()
72 video_ = streams.video_; in CopyFrom()
73 data_ = streams.data_; in CopyFrom()
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dmixing_test.cc145 void StartLocalStreams(const std::vector<int>& streams) { in StartLocalStreams() argument
146 for (size_t i = 0; i < streams.size(); ++i) { in StartLocalStreams()
147 EXPECT_EQ(0, voe_base_->StartPlayout(streams[i])); in StartLocalStreams()
148 EXPECT_EQ(0, voe_file_->StartPlayingFileLocally(streams[i], in StartLocalStreams()
153 void StopLocalStreams(const std::vector<int>& streams) { in StopLocalStreams() argument
154 for (size_t i = 0; i < streams.size(); ++i) { in StopLocalStreams()
155 EXPECT_EQ(0, voe_base_->StopPlayout(streams[i])); in StopLocalStreams()
156 EXPECT_EQ(0, voe_base_->DeleteChannel(streams[i])); in StopLocalStreams()
161 void StartRemoteStreams(const std::vector<int>& streams, in StartRemoteStreams() argument
169 StartRemoteStream(streams[i], codec_inst, 1234 + 2 * i); in StartRemoteStreams()
[all …]
/external/webrtc/webrtc/video/
Dvideo_send_stream.cc301 const std::vector<VideoStream>& streams = config.streams; in ReconfigureVideoEncoder() local
302 RTC_DCHECK(!streams.empty()); in ReconfigureVideoEncoder()
303 RTC_DCHECK_GE(config_.rtp.ssrcs.size(), streams.size()); in ReconfigureVideoEncoder()
323 if (config.streams.size() == 1 && in ReconfigureVideoEncoder()
324 config.streams[0].temporal_layer_thresholds_bps.size() == 1) { in ReconfigureVideoEncoder()
326 config.streams[0].temporal_layer_thresholds_bps[0] / 1000; in ReconfigureVideoEncoder()
346 streams.back().temporal_layer_thresholds_bps.size() + 1); in ReconfigureVideoEncoder()
360 streams.back().temporal_layer_thresholds_bps.size() + 1); in ReconfigureVideoEncoder()
378 static_cast<unsigned char>(streams.size()); in ReconfigureVideoEncoder()
379 video_codec.minBitrate = streams[0].min_bitrate_bps / 1000; in ReconfigureVideoEncoder()
[all …]
/external/webrtc/webrtc/call/
Dcall_unittest.cc68 std::list<AudioSendStream*> streams; in TEST() local
75 streams.push_back(stream); in TEST()
77 streams.push_front(stream); in TEST()
80 for (auto s : streams) { in TEST()
83 streams.clear(); in TEST()
91 std::list<AudioReceiveStream*> streams; in TEST() local
98 streams.push_back(stream); in TEST()
100 streams.push_front(stream); in TEST()
103 for (auto s : streams) { in TEST()
106 streams.clear(); in TEST()
/external/sonivox/arm-wt-22k/lib_src/
Deas_smf.c338 if (pSMFData->streams[i].ticks < temp) in SMF_Event()
340 temp = pSMFData->streams[i].ticks; in SMF_Event()
341 pSMFData->nextStream = &pSMFData->streams[i]; in SMF_Event()
434 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close()
436 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
451 if (pSMFData->streams) in SMF_Close()
452 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); in SMF_Close()
500 …result = EAS_HWFileSeek(pEASData->hwInstData, pSMFData->streams[i].fileHandle, pSMFData->streams[i… in SMF_Reset()
504 pSMFData->streams[i].ticks = 0; in SMF_Reset()
507 EAS_InitMIDIStream(&pSMFData->streams[i].midiStream); in SMF_Reset()
[all …]
Deas_public.c286 if (pEASData->streams[0].handle != NULL) in EAS_AllocateStream()
296 if (pEASData->streams[streamNum].handle == NULL) in EAS_AllocateStream()
483 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) in EAS_Shutdown()
485 …t = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASData, pEASDat… in EAS_Shutdown()
592 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenJETStream()
593 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenJETStream()
663 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenFile()
664 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenFile()
740 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_MMAPIToneControl()
741 *ppStream = &pEASData->streams[streamNum]; in EAS_MMAPIToneControl()
[all …]
/external/libbrillo/
Dlibbrillo.gypi26 'libbrillo-streams-<(libbase_ver)',
100 'libbrillo-streams-<(libbase_ver)',
126 'target_name': 'libbrillo-streams-<(libbase_ver)',
145 'brillo/streams/file_stream.cc',
146 'brillo/streams/input_stream_set.cc',
147 'brillo/streams/memory_containers.cc',
148 'brillo/streams/memory_stream.cc',
149 'brillo/streams/openssl_stream_bio.cc',
150 'brillo/streams/stream.cc',
151 'brillo/streams/stream_errors.cc',
[all …]
DAndroid.mk83 brillo/streams/file_stream.cc \
84 brillo/streams/input_stream_set.cc \
85 brillo/streams/memory_containers.cc \
86 brillo/streams/memory_stream.cc \
87 brillo/streams/openssl_stream_bio.cc \
88 brillo/streams/stream.cc \
89 brillo/streams/stream_errors.cc \
90 brillo/streams/stream_utils.cc \
91 brillo/streams/tls_stream.cc \
97 brillo/streams/fake_stream.cc \
[all …]
/external/vogar/test/vogar/testing/
DInterceptOutputStreams.java71 private final EnumSet<Stream> streams; field in InterceptOutputStreams
77 public InterceptOutputStreams(Stream... streams) { in InterceptOutputStreams() argument
78 this.streams = EnumSet.of(streams[0], streams); in InterceptOutputStreams()
91 if (!streams.contains(stream)) { in contents()
92 EnumSet<Stream> extra = streams.clone(); in contents()
115 for (Stream stream : streams) { in apply()
/external/autotest/client/tests/parallel_dd/
Dparallel_dd.py9 def initialize(self, fs, fstype = 'ext2', megabytes = 1000, streams = 2, argument
13 self.blocks_per_file = self.blocks / streams
16 self.streams = streams
26 streams)
48 for i in range(self.streams):
53 logging.info("Waiting for %d streams", self.streams)
55 for i in range(self.streams):
66 for i in range(self.streams):
76 logging.info("Waiting for %d streams", self.streams)
78 for i in range(self.streams):
/external/libopus/include/
Dopus_multistream.h204 int streams,
260 int streams,
271 int *streams,
330 int streams,
341 int *streams,
471 int streams,
507 int streams,
551 int streams,
/external/autotest/server/tests/netperf2/
Dcontrol.stress.srv11 of supported tests and streams, and will take about 1 hour to run.
12 You can adjust the streams by changing the values of the streams list in the
21 stream_list - A list containing the number of streams to run the test for. If
24 bidirectional streams.
34 streams = [1, 10, 20, 40, 60, 80, 100, 200]
38 stream_list=streams, cycles=1)
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DSeekableXZInputStream.java100 private final ArrayList streams = new ArrayList(); field in SeekableXZInputStream
427 streams.add(index); in SeekableXZInputStream()
441 IndexDecoder prev = (IndexDecoder)streams.get(streams.size() - 1); in SeekableXZInputStream()
442 for (int i = streams.size() - 2; i >= 0; --i) { in SeekableXZInputStream()
443 IndexDecoder cur = (IndexDecoder)streams.get(i); in SeekableXZInputStream()
452 IndexDecoder first = (IndexDecoder)streams.get(streams.size() - 1); in SeekableXZInputStream()
502 return streams.size(); in getStreamCount()
901 index = (IndexDecoder)streams.get(i); in locateBlockByPos()
932 IndexDecoder index = (IndexDecoder)streams.get(i);
/external/libbrillo/brillo/http/
Dhttp_form_data.cc86 bool TextFormField::ExtractDataStreams(std::vector<StreamPtr>* streams) { in ExtractDataStreams() argument
87 streams->push_back(MemoryStream::OpenCopyOf(data_, nullptr)); in ExtractDataStreams()
108 bool FileFormField::ExtractDataStreams(std::vector<StreamPtr>* streams) { in ExtractDataStreams() argument
111 streams->push_back(std::move(stream_)); in ExtractDataStreams()
127 bool MultiPartFormField::ExtractDataStreams(std::vector<StreamPtr>* streams) { in ExtractDataStreams() argument
130 streams->push_back(MemoryStream::OpenCopyOf(data, nullptr)); in ExtractDataStreams()
131 if (!part->ExtractDataStreams(streams)) in ExtractDataStreams()
134 streams->push_back(MemoryStream::OpenRef("\r\n", nullptr)); in ExtractDataStreams()
138 streams->push_back(MemoryStream::OpenCopyOf(data, nullptr)); in ExtractDataStreams()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java83 private final Map<Integer, FramedStream> streams = new HashMap<>(); field in FramedConnection
187 return streams.size(); in openStreamCount()
191 return streams.get(id); in getStream()
195 FramedStream stream = streams.remove(streamId); in removeStream()
196 if (stream != null && streams.isEmpty()) { in removeStream()
264 streams.put(streamId, stream); in newStream()
316 if (!streams.containsKey(streamId)) { in writeData()
461 if (!streams.isEmpty()) { in close()
462 streamsToClose = streams.values().toArray(new FramedStream[streams.size()]); in close()
463 streams.clear(); in close()
[all …]
/external/lzma/C/
DXzIn.c232 p->streams = 0; in Xzs_Construct()
239 Xz_Free(&p->streams[i], alloc); in Xzs_Free()
240 alloc->Free(alloc, p->streams); in Xzs_Free()
242 p->streams = 0; in Xzs_Free()
250 num += p->streams[i].numBlocks; in Xzs_GetNumBlocks()
259 ADD_SIZE_CHECH(size, Xz_GetUnpackSize(&p->streams[i])); in Xzs_GetUnpackSize()
295 memcpy(data, p->streams, p->num * sizeof(CXzStream)); in Xzs_ReadBackward()
296 alloc->Free(alloc, p->streams); in Xzs_ReadBackward()
297 p->streams = (CXzStream *)data; in Xzs_ReadBackward()
299 p->streams[p->num++] = st; in Xzs_ReadBackward()
/external/autotest/client/site_tests/audio_ActiveStreamStress/
Dcontrol7 PURPOSE = "Verifies active audio streams"
9 Test will fail if cras active stream count doesn't match to open active streams.
24 Test opens/closes audio streams and verifies active stream.
27 streams for a long time.
/external/webrtc/webrtc/modules/audio_processing/include/
Daudio_processing.h566 return streams[StreamName::kInputStream]; in input_stream()
569 return streams[StreamName::kOutputStream]; in output_stream()
572 return streams[StreamName::kReverseInputStream]; in reverse_input_stream()
575 return streams[StreamName::kReverseOutputStream]; in reverse_output_stream()
578 StreamConfig& input_stream() { return streams[StreamName::kInputStream]; } in input_stream()
579 StreamConfig& output_stream() { return streams[StreamName::kOutputStream]; } in output_stream()
581 return streams[StreamName::kReverseInputStream]; in reverse_input_stream()
584 return streams[StreamName::kReverseOutputStream]; in reverse_output_stream()
589 if (this->streams[i] != other.streams[i]) {
600 StreamConfig streams[StreamName::kNumStreamNames]; variable
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3lexer.c357 …if (lexer->rec->state->streams != NULL && lexer->rec->state->streams->size(lexer->rec->state->str… in nextToken()
568 if (lexer->rec->state->streams == NULL) in pushCharStream()
573 lexer->rec->state->streams = antlr3StackNew(0); in pushCharStream()
575 if (lexer->rec->state->streams == NULL) in pushCharStream()
588 lexer->rec->state->streams->push(lexer->rec->state->streams, lexer->input, NULL); in pushCharStream()
617 …if (lexer->rec->state->streams != NULL && lexer->rec->state->streams->size(lexer->rec->state->stre… in popCharStream()
625 input = (pANTLR3_INPUT_STREAM)(lexer->rec->state->streams->top); in popCharStream()
626 lexer->rec->state->streams->pop(lexer->rec->state->streams); in popCharStream()
696 if (lexer->rec->state->streams != NULL) in freeLexer()
698 lexer->rec->state->streams->free(lexer->rec->state->streams); in freeLexer()
/external/libopus/src/
Dopus_multistream_decoder.c67 int streams, in opus_multistream_decoder_init() argument
77 if ((channels>255) || (channels<1) || (coupled_streams>streams) || in opus_multistream_decoder_init()
78 (coupled_streams+streams>255) || (streams<1) || (coupled_streams<0)) in opus_multistream_decoder_init()
82 st->layout.nb_streams = streams; in opus_multistream_decoder_init()
113 int streams, in opus_multistream_decoder_create() argument
121 if ((channels>255) || (channels<1) || (coupled_streams>streams) || in opus_multistream_decoder_create()
122 (coupled_streams+streams>255) || (streams<1) || (coupled_streams<0)) in opus_multistream_decoder_create()
128 st = (OpusMSDecoder *)opus_alloc(opus_multistream_decoder_get_size(streams, coupled_streams)); in opus_multistream_decoder_create()
135 ret = opus_multistream_decoder_init(st, Fs, channels, streams, coupled_streams, mapping); in opus_multistream_decoder_create()
Dopus_multistream_encoder.c398 int streams, in opus_multistream_encoder_init_impl() argument
410 if ((channels>255) || (channels<1) || (coupled_streams>streams) || in opus_multistream_encoder_init_impl()
411 (coupled_streams+streams>255) || (streams<1) || (coupled_streams<0)) in opus_multistream_encoder_init_impl()
415 st->layout.nb_streams = streams; in opus_multistream_encoder_init_impl()
460 int streams, in opus_multistream_encoder_init() argument
466 …return opus_multistream_encoder_init_impl(st, Fs, channels, streams, coupled_streams, mapping, app… in opus_multistream_encoder_init()
474 int *streams, in opus_multistream_surround_encoder_init() argument
487 *streams=1; in opus_multistream_surround_encoder_init()
492 *streams=1; in opus_multistream_surround_encoder_init()
501 *streams=vorbis_mappings[channels-1].nb_streams; in opus_multistream_surround_encoder_init()
[all …]
/external/libvorbis/
DCHANGES23 * Additional decode setup hardening against malicious streams
34 * additional decoder hardening against malicious streams
42 * Improved robustness with corrupt streams.
45 * Fix an encoder bug with multichannel streams.
48 * Fix a problem encoding some streams between 14 and 28 kHz.
57 * libvorbisfile now handles multiplexed streams
58 * improve robustness to corrupt input streams
/external/netperf/doc/examples/
Drunemomniagg2.sh88 echo $i concurrent streams id $NETUUID;
103 echo $i concurrent streams id $NETUUID;
119 echo $i concurrent streams id $NETUUID;
134 echo $i concurrent streams id $NETUUID;

12345678910