Home
last modified time | relevance | path

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

12345678910>>...21

/external/adhd/cras/src/tests/
Dtiming_unittest.cc49 const std::vector<StreamPtr>& streams, in SingleInputDevNextWake() argument
58 for (auto const& stream : streams) { in SingleInputDevNextWake()
90 std::vector<StreamPtr> streams; in TEST_F() local
91 streams.emplace_back(std::move(stream)); in TEST_F()
93 &format, streams); in TEST_F()
97 EXPECT_EQ(dev_time.tv_sec, streams[0]->rstream->next_cb_ts.tv_sec); in TEST_F()
98 EXPECT_EQ(dev_time.tv_nsec, streams[0]->rstream->next_cb_ts.tv_nsec); in TEST_F()
118 std::vector<StreamPtr> streams; in TEST_F() local
119 streams.emplace_back(std::move(stream)); in TEST_F()
121 dev_cb_threshold, dev_level, &start, &format, streams); in TEST_F()
[all …]
/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 …]
/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/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/kotlinc/lib/
Dkotlin-stdlib-jdk8.jar ... public void <init> () } kotlin/streams/ kotlin/streams/jdk8/ kotlin/streams ...
/external/pdfium/core/fxcrt/
Dcfx_seekablemultistream_unittest.cpp18 std::vector<CPDF_Stream*> streams; in TEST() local
19 auto fileread = pdfium::MakeRetain<CFX_SeekableMultiStream>(streams); in TEST()
28 std::vector<CPDF_Stream*> streams; in TEST() local
30 streams.push_back(stream1.get()); in TEST()
31 auto fileread = pdfium::MakeRetain<CFX_SeekableMultiStream>(streams); in TEST()
40 std::vector<CPDF_Stream*> streams; in TEST() local
53 streams.push_back(stream1.get()); in TEST()
54 streams.push_back(stream2.get()); in TEST()
55 streams.push_back(stream3.get()); in TEST()
56 auto fileread = pdfium::MakeRetain<CFX_SeekableMultiStream>(streams); in TEST()
/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.c342 if (pSMFData->streams[i].ticks < temp) in SMF_Event()
344 temp = pSMFData->streams[i].ticks; in SMF_Event()
345 pSMFData->nextStream = &pSMFData->streams[i]; in SMF_Event()
438 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close()
440 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
455 if (pSMFData->streams) in SMF_Close()
456 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); in SMF_Close()
504 …result = EAS_HWFileSeek(pEASData->hwInstData, pSMFData->streams[i].fileHandle, pSMFData->streams[i… in SMF_Reset()
508 pSMFData->streams[i].ticks = 0; in SMF_Reset()
511 EAS_InitMIDIStream(&pSMFData->streams[i].midiStream); in SMF_Reset()
[all …]
Deas_public.c289 if (pEASData->streams[0].handle != NULL) in EAS_AllocateStream()
299 if (pEASData->streams[streamNum].handle == NULL) in EAS_AllocateStream()
485 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) in EAS_Shutdown()
487 …t = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASData, pEASDat… in EAS_Shutdown()
594 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenJETStream()
595 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenJETStream()
665 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenFile()
666 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenFile()
742 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_MMAPIToneControl()
743 *ppStream = &pEASData->streams[streamNum]; in EAS_MMAPIToneControl()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_hlo_schedule_test.cc42 const HloModule& module, const StreamAssignment& streams) { in BuildGpuHloSchedule() argument
43 return GpuHloSchedule::Build(module, streams, /*pointer_size=*/8) in BuildGpuHloSchedule()
85 std::unique_ptr<StreamAssignment> streams = AssignStreams(*module); in TEST_F() local
86 EXPECT_EQ(streams->StreamNumberForHlo(*dot1), in TEST_F()
87 streams->StreamNumberForHlo(*dot2)); in TEST_F()
89 auto schedule = BuildGpuHloSchedule(*module, *streams); in TEST_F()
145 std::unique_ptr<StreamAssignment> streams = AssignStreams(*module); in TEST_F() local
146 EXPECT_EQ(streams->StreamNumberForHlo(*add1), in TEST_F()
147 streams->StreamNumberForHlo(*add2)); in TEST_F()
148 EXPECT_EQ(streams->StreamNumberForHlo(*add1), in TEST_F()
[all …]
/external/libbrillo/
Dlibbrillo.gypi25 'libbrillo-streams-<(libbase_ver)',
111 'libbrillo-streams-<(libbase_ver)',
144 'target_name': 'libbrillo-streams-<(libbase_ver)',
163 'brillo/streams/file_stream.cc',
164 'brillo/streams/input_stream_set.cc',
165 'brillo/streams/memory_containers.cc',
166 'brillo/streams/memory_stream.cc',
167 'brillo/streams/openssl_stream_bio.cc',
168 'brillo/streams/stream.cc',
169 'brillo/streams/stream_errors.cc',
[all …]
DAndroid.bp68 "brillo/streams/file_stream.cc",
69 "brillo/streams/input_stream_set.cc",
70 "brillo/streams/memory_containers.cc",
71 "brillo/streams/memory_stream.cc",
72 "brillo/streams/openssl_stream_bio.cc",
73 "brillo/streams/stream.cc",
74 "brillo/streams/stream_errors.cc",
75 "brillo/streams/stream_utils.cc",
76 "brillo/streams/tls_stream.cc",
83 "brillo/streams/fake_stream.cc",
[all …]
/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/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/adhd/cras/src/server/
Dstream_list.c13 struct cras_rstream *streams; member
74 return list->streams; in stream_list_get()
87 DL_APPEND(list->streams, *stream); in stream_list_add()
90 DL_DELETE(list->streams, *stream); in stream_list_add()
101 DL_SEARCH_SCALAR(list->streams, to_remove, stream_id, id); in stream_list_rm()
104 DL_DELETE(list->streams, to_remove); in stream_list_rm()
121 DL_FOREACH(list->streams, to_remove) { in stream_list_rm_all_client_streams()
123 DL_DELETE(list->streams, to_remove); in stream_list_rm_all_client_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/libopus/src/
Dopus_projection_decoder.c107 opus_int32 opus_projection_decoder_get_size(int channels, int streams, in opus_projection_decoder_get_size() argument
114 mapping_matrix_get_size(streams + coupled_streams, channels); in opus_projection_decoder_get_size()
118 decoder_size = opus_multistream_decoder_get_size(streams, coupled_streams); in opus_projection_decoder_get_size()
126 int channels, int streams, int coupled_streams, in opus_projection_decoder_init() argument
137 nb_input_streams = streams + coupled_streams; in opus_projection_decoder_init()
171 get_multistream_decoder(st), Fs, channels, streams, coupled_streams, mapping); in opus_projection_decoder_init()
177 opus_int32 Fs, int channels, int streams, int coupled_streams, in opus_projection_decoder_create() argument
185 size = opus_projection_decoder_get_size(channels, streams, coupled_streams); in opus_projection_decoder_create()
200 ret = opus_projection_decoder_init(st, Fs, channels, streams, coupled_streams, in opus_projection_decoder_create()
Dopus_projection_encoder.c102 int *streams, int *coupled_streams, in get_streams_from_channels() argument
109 if (streams) in get_streams_from_channels()
110 *streams = (channels + 1) / 2; in get_streams_from_channels()
204 int *streams, int *coupled_streams, in opus_projection_ambisonics_encoder_init() argument
215 if (streams == NULL || coupled_streams == NULL) { in opus_projection_ambisonics_encoder_init()
219 if (get_streams_from_channels(channels, mapping_family, streams, in opus_projection_ambisonics_encoder_init()
291 if (*streams + *coupled_streams > mixing_matrix->rows || in opus_projection_ambisonics_encoder_init()
294 *streams + *coupled_streams > demixing_matrix->cols) in opus_projection_ambisonics_encoder_init()
303 ret = opus_multistream_encoder_init(ms_encoder, Fs, channels, *streams, in opus_projection_ambisonics_encoder_init()
309 opus_int32 Fs, int channels, int mapping_family, int *streams, in opus_projection_ambisonics_encoder_create() argument
[all …]
/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/xz-java/src/org/tukaani/xz/
DSeekableXZInputStream.java105 private final ArrayList<IndexDecoder> streams field in SeekableXZInputStream
570 streams.add(index); in SeekableXZInputStream()
584 IndexDecoder prev = streams.get(streams.size() - 1); in SeekableXZInputStream()
585 for (int i = streams.size() - 2; i >= 0; --i) { in SeekableXZInputStream()
586 IndexDecoder cur = streams.get(i); in SeekableXZInputStream()
595 IndexDecoder first = streams.get(streams.size() - 1); in SeekableXZInputStream()
645 return streams.size(); in getStreamCount()
1084 index = streams.get(i); in locateBlockByPos()
1115 IndexDecoder index = 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/autotest/client/common_lib/cros/webrtc_scripts/
Dloopback-peerconnection.js26 this.streams = []; property
53 .then((stream) => this.streams.push(stream));
57 return this.onGetUserMediaSuccess_(this.streams[this.activeStreamIndex]);
104 if (this.streams.some((x) => !x.active)) {
119 const newStreamIndex = Math.floor(Math.random() * this.streams.length);
120 return this.addStream_(this.streams[newStreamIndex])
/external/swiftshader/third_party/llvm-7.0/llvm/docs/PDB/
Dindex.rst27 of the file, the various streams contained within, the format of individual
65 multiple streams (aka files) which can represent arbitrary data, and these
66 streams are divided into blocks which may not necessarily be contiguously
68 stream directory (aka MFT) which describes how the streams (files) are laid
78 The PDB format contains a number of streams which describe various information
80 of a program, as well as some additional streams containing hash tables that are
83 as the specific toolchain used, and more. A summary of streams contained in a
93 | | | - Map of named streams to stream indices |
99 | | | - Indices of individual module streams |
100 | | | - Indices of public / global streams |
[all …]
/external/lzma/C/
DXzIn.c244 p->streams = 0; in Xzs_Construct()
251 Xz_Free(&p->streams[i], alloc); in Xzs_Free()
252 ISzAlloc_Free(alloc, p->streams); in Xzs_Free()
254 p->streams = 0; in Xzs_Free()
262 num += p->streams[i].numBlocks; in Xzs_GetNumBlocks()
271 ADD_SIZE_CHECK(size, Xz_GetUnpackSize(&p->streams[i])); in Xzs_GetUnpackSize()
307 memcpy(data, p->streams, p->num * sizeof(CXzStream)); in Xzs_ReadBackward()
308 ISzAlloc_Free(alloc, p->streams); in Xzs_ReadBackward()
309 p->streams = (CXzStream *)data; in Xzs_ReadBackward()
311 p->streams[p->num++] = st; in Xzs_ReadBackward()

12345678910>>...21