Home
last modified time | relevance | path

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

123456789

/external/chromium_org/media/base/
Dpipeline_unittest.cc139 void InitializeDemuxer(MockDemuxerStreamVector* streams, in InitializeDemuxer() argument
147 for (size_t i = 0; i < streams->size(); ++i) { in InitializeDemuxer()
148 DemuxerStream* stream = (*streams)[i]; in InitializeDemuxer()
154 void InitializeDemuxer(MockDemuxerStreamVector* streams) { in InitializeDemuxer() argument
156 InitializeDemuxer(streams, base::TimeDelta::FromSeconds(10)); in InitializeDemuxer()
430 MockDemuxerStreamVector streams; in TEST_F() local
431 streams.push_back(audio_stream()); in TEST_F()
433 InitializeDemuxer(&streams); in TEST_F()
443 MockDemuxerStreamVector streams; in TEST_F() local
444 streams.push_back(video_stream()); in TEST_F()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dstreamparams.cc132 bool GetStream(const StreamParamsVec& streams, in GetStream() argument
135 for (StreamParamsVec::const_iterator stream = streams.begin(); in GetStream()
136 stream != streams.end(); ++stream) { in GetStream()
147 bool GetStreamBySsrc(const StreamParamsVec& streams, uint32 ssrc, in GetStreamBySsrc() argument
149 return GetStream(streams, StreamSelector(ssrc), stream_out); in GetStreamBySsrc()
152 bool GetStreamByIds(const StreamParamsVec& streams, in GetStreamByIds() argument
156 return GetStream(streams, StreamSelector(groupid, id), stream_out); in GetStreamByIds()
159 bool RemoveStream(StreamParamsVec* streams, in RemoveStream() argument
162 for (StreamParamsVec::iterator stream = streams->begin(); in RemoveStream()
163 stream != streams->end(); ) { in RemoveStream()
[all …]
Dstreamparams.h197 bool GetStream(const StreamParamsVec& streams,
200 bool GetStreamBySsrc(const StreamParamsVec& streams, uint32 ssrc,
202 bool GetStreamByIds(const StreamParamsVec& streams,
209 bool RemoveStream(StreamParamsVec* streams,
211 bool RemoveStreamBySsrc(StreamParamsVec* streams, uint32 ssrc);
212 bool RemoveStreamByIds(StreamParamsVec* streams,
/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/sonivox/arm-fm-22k/lib_src/
Deas_smf.c333 if (pSMFData->streams[i].ticks < temp) in SMF_Event()
335 temp = pSMFData->streams[i].ticks; in SMF_Event()
336 pSMFData->nextStream = &pSMFData->streams[i]; in SMF_Event()
429 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close()
431 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
446 if (pSMFData->streams) in SMF_Close()
447 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); in SMF_Close()
495 …result = EAS_HWFileSeek(pEASData->hwInstData, pSMFData->streams[i].fileHandle, pSMFData->streams[i… in SMF_Reset()
499 pSMFData->streams[i].ticks = 0; in SMF_Reset()
502 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()
482 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) in EAS_Shutdown()
484 …t = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASData, pEASDat… in EAS_Shutdown()
591 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenJETStream()
592 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenJETStream()
656 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenFile()
657 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenFile()
728 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_MMAPIToneControl()
729 *ppStream = &pEASData->streams[streamNum]; in EAS_MMAPIToneControl()
[all …]
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_smf.c333 if (pSMFData->streams[i].ticks < temp) in SMF_Event()
335 temp = pSMFData->streams[i].ticks; in SMF_Event()
336 pSMFData->nextStream = &pSMFData->streams[i]; in SMF_Event()
429 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close()
431 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
446 if (pSMFData->streams) in SMF_Close()
447 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); in SMF_Close()
495 …result = EAS_HWFileSeek(pEASData->hwInstData, pSMFData->streams[i].fileHandle, pSMFData->streams[i… in SMF_Reset()
499 pSMFData->streams[i].ticks = 0; in SMF_Reset()
502 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()
482 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) in EAS_Shutdown()
484 …t = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASData, pEASDat… in EAS_Shutdown()
591 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenJETStream()
592 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenJETStream()
656 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenFile()
657 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenFile()
728 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_MMAPIToneControl()
729 *ppStream = &pEASData->streams[streamNum]; in EAS_MMAPIToneControl()
[all …]
/external/chromium_org/third_party/opus/src/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/chromium_org/courgette/
Dencoded_program.cc309 CheckBool EncodedProgram::WriteTo(SinkStreamSet* streams) { in WriteTo() argument
323 if (!streams->stream(kStreamMisc)->WriteVarint32( in WriteTo()
333 streams->stream(kStreamAbs32Addresses)); in WriteTo()
338 streams->stream(kStreamRel32Addresses)); in WriteTo()
342 success &= WriteVector(origins_, streams->stream(kStreamOriginAddresses)); in WriteTo()
346 success &= streams->stream(kStreamOps)->Reserve(ops_.size() + 5); in WriteTo()
347 success &= WriteVector(ops_, streams->stream(kStreamOps)); in WriteTo()
351 success &= WriteVector(copy_counts_, streams->stream(kStreamCopyCounts)); in WriteTo()
354 success &= WriteVectorU8(copy_bytes_, streams->stream(kStreamBytes)); in WriteTo()
357 success &= WriteVector(abs32_ix_, streams->stream(kStreamAbs32Indexes)); in WriteTo()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediamessages.cc47 void AddStream(std::vector<StreamParams>* streams, const StreamParams& stream) { in AddStream() argument
48 streams->push_back(stream); in AddStream()
115 void MediaStreams::CopyFrom(const MediaStreams& streams) { in CopyFrom() argument
116 audio_ = streams.audio_; in CopyFrom()
117 video_ = streams.video_; in CopyFrom()
118 data_ = streams.data_; in CopyFrom()
216 std::vector<StreamParams>* streams, in ParseSsrcAsLegacyStream() argument
225 streams->push_back(StreamParams::CreateLegacy(ssrc)); in ParseSsrcAsLegacyStream()
265 std::vector<StreamParams>* streams, in ParseJingleStream() argument
281 streams->push_back(stream); in ParseJingleStream()
[all …]
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdyConnection.java93 private final Map<Integer, SpdyStream> streams = new HashMap<Integer, SpdyStream>(); field in SpdyConnection
125 return streams.size(); in openStreamCount()
129 return streams.get(id); in getStream()
133 SpdyStream stream = streams.remove(streamId); in removeStream()
134 if (stream != null && streams.isEmpty()) { in removeStream()
180 streams.put(streamId, stream); in newStream()
330 if (!streams.isEmpty()) { in close()
331 streamsToClose = streams.values().toArray(new SpdyStream[streams.size()]); in close()
332 streams.clear(); in close()
461 previous = streams.put(streamId, synStream); in synStream()
[all …]
/external/chromium_org/net/quic/
Dquic_client_session_test.cc115 std::vector<QuicReliableClientStream*> streams; in TEST_F() local
119 streams.push_back(stream); in TEST_F()
124 session_.CloseStream(streams[0]->id()); in TEST_F()
131 std::vector<QuicReliableClientStream*> streams; in TEST_F() local
135 streams.push_back(stream); in TEST_F()
146 session_.CloseStream(streams[0]->id()); in TEST_F()
/external/chromium_org/third_party/npapi/npspy/
Danalyze_streams.py46 streams = []
59 streams.append(s)
67 for stream in streams:
83 for stream in streams:
95 for stream in streams:
/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()
294 memcpy(data, p->streams, p->num * sizeof(CXzStream)); in Xzs_ReadBackward()
295 alloc->Free(alloc, p->streams); in Xzs_ReadBackward()
296 p->streams = (CXzStream *)data; in Xzs_ReadBackward()
298 p->streams[p->num++] = st; in Xzs_ReadBackward()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediastreamsignaling.cc373 UpdateRemoteStreamsList(desc->streams(), desc->type(), new_streams); in OnRemoteDescriptionChanged()
375 desc->direction() == cricket::MD_SENDRECV && desc->streams().empty(); in OnRemoteDescriptionChanged()
385 UpdateRemoteStreamsList(desc->streams(), desc->type(), new_streams); in OnRemoteDescriptionChanged()
387 desc->direction() == cricket::MD_SENDRECV && desc->streams().empty(); in OnRemoteDescriptionChanged()
398 UpdateRemoteRtpDataChannels(data_desc->streams()); in OnRemoteDescriptionChanged()
430 UpdateLocalTracks(audio_desc->streams(), audio_desc->type()); in OnLocalDescriptionChanged()
442 UpdateLocalTracks(video_desc->streams(), video_desc->type()); in OnLocalDescriptionChanged()
453 UpdateLocalRtpDataChannels(data_desc->streams()); in OnLocalDescriptionChanged()
500 options_.streams.clear(); in UpdateSessionOptions()
548 const cricket::StreamParamsVec& streams, in UpdateRemoteStreamsList() argument
[all …]
Dmediastreamsignaling.h299 const std::vector<cricket::StreamParams>& streams,
339 void UpdateLocalTracks(const std::vector<cricket::StreamParams>& streams,
363 void UpdateLocalRtpDataChannels(const cricket::StreamParamsVec& streams);
364 void UpdateRemoteRtpDataChannels(const cricket::StreamParamsVec& streams);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DSequenceInputStreamTest.java69 InputStream streams[] = new InputStream[2]; in test_ConstructorLjava_util_Enumeration() field in SequenceInputStreamTest.StreamEnumerator
74 streams[0] = new ByteArrayInputStream(s1.getBytes("UTF-8")); in test_ConstructorLjava_util_Enumeration()
75 streams[1] = new ByteArrayInputStream(s2.getBytes("UTF-8")); in test_ConstructorLjava_util_Enumeration()
79 return count < streams.length; in test_ConstructorLjava_util_Enumeration()
83 return streams[count++]; in test_ConstructorLjava_util_Enumeration()
/external/chromium_org/third_party/opus/src/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/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/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/chromium/third_party/libjingle/source/talk/base/
Ddiskcache.cc147 entry->streams = stdmax(entry->streams, index + 1); in WriteResource()
176 if (index >= entry->streams) in ReadResource()
190 return (NULL != entry) && (entry->streams > 0); in HasResource()
195 if ((NULL == entry) || (index >= entry->streams)) in HasResourceStream()
212 for (size_t index = 0; index < entry->streams; ++index) { in DeleteResource()
325 e.streams = 0; in GetOrCreateEntry()
/external/chromium_org/third_party/libjingle/source/talk/base/
Ddiskcache.cc147 entry->streams = stdmax(entry->streams, index + 1); in WriteResource()
176 if (index >= entry->streams) in ReadResource()
190 return (NULL != entry) && (entry->streams > 0); in HasResource()
195 if ((NULL == entry) || (index >= entry->streams)) in HasResourceStream()
212 for (size_t index = 0; index < entry->streams; ++index) { in DeleteResource()
325 e.streams = 0; in GetOrCreateEntry()

123456789