Home
last modified time | relevance | path

Searched refs:is_audio (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/media/cast/logging/
Draw_event_subscriber_bundle.cc15 bool is_audio, in RawEventSubscriberBundleForStream() argument
19 is_audio ? AUDIO_EVENT : VIDEO_EVENT, in RawEventSubscriberBundleForStream()
20 is_audio ? kMaxAudioEventEntries : kMaxVideoEventEntries), in RawEventSubscriberBundleForStream()
22 is_audio ? AUDIO_EVENT : VIDEO_EVENT, in RawEventSubscriberBundleForStream()
54 void RawEventSubscriberBundle::AddEventSubscribers(bool is_audio) { in AddEventSubscribers() argument
60 SubscribersMapByStream::iterator it = subscribers_.find(is_audio); in AddEventSubscribers()
65 is_audio, in AddEventSubscribers()
67 cast_environment_, is_audio, receiver_offset_estimator_.get())))); in AddEventSubscribers()
70 void RawEventSubscriberBundle::RemoveEventSubscribers(bool is_audio) { in RemoveEventSubscribers() argument
71 SubscribersMapByStream::iterator it = subscribers_.find(is_audio); in RemoveEventSubscribers()
[all …]
Draw_event_subscriber_bundle.h34 bool is_audio,
61 void AddEventSubscribers(bool is_audio);
62 void RemoveEventSubscribers(bool is_audio);
64 bool is_audio);
65 StatsEventSubscriber* GetStatsEventSubscriber(bool is_audio);
Dlog_deserializer.cc158 if (metadata.is_audio()) { in DoDeserializeEvents()
/external/chromium_org/media/base/android/
Dmedia_source_player_unittest.cc185 MediaDecoderJob* GetMediaDecoderJob(bool is_audio) { in GetMediaDecoderJob() argument
186 if (is_audio) { in GetMediaDecoderJob()
196 MediaCodecBridge* GetMediaCodecBridge(bool is_audio) { in GetMediaCodecBridge() argument
197 if (is_audio) in GetMediaCodecBridge()
204 bool IsPrerolling(bool is_audio) { in IsPrerolling() argument
205 return GetMediaDecoderJob(is_audio)->prerolling_; in IsPrerolling()
375 AccessUnit CreateAccessUnitWithData(bool is_audio, int audio_packet_id, in CreateAccessUnitWithData() argument
381 if (is_audio) { in CreateAccessUnitWithData()
391 if (is_audio) { in CreateAccessUnitWithData()
418 DemuxerData CreateEOSAck(bool is_audio) { in CreateEOSAck() argument
[all …]
Dmedia_source_player.cc432 bool is_audio, MediaCodecStatus status, in MediaDecoderCallback() argument
435 DVLOG(1) << __FUNCTION__ << ": " << is_audio << ", " << status; in MediaDecoderCallback()
438 if (is_audio) { in MediaDecoderCallback()
456 bool is_clock_manager = is_audio || !HasAudio(); in MediaDecoderCallback()
485 PlaybackCompleted(is_audio); in MediaDecoderCallback()
515 if (prerolling_ && IsPrerollFinished(is_audio)) { in MediaDecoderCallback()
516 if (IsPrerollFinished(!is_audio)) { in MediaDecoderCallback()
534 if (is_audio) in MediaDecoderCallback()
540 bool MediaSourcePlayer::IsPrerollFinished(bool is_audio) const { in IsPrerollFinished()
541 if (is_audio) in IsPrerollFinished()
[all …]
Dmedia_source_player.h84 void PlaybackCompleted(bool is_audio);
88 bool is_audio, MediaCodecStatus status,
92 bool IsPrerollFinished(bool is_audio) const;
/external/chromium_org/chrome/renderer/media/
Dcast_session.cc102 void CastSession::ToggleLogging(bool is_audio, bool enable) { in ToggleLogging() argument
107 is_audio, in ToggleLogging()
112 bool is_audio, const std::string& extra_data, in GetEventLogsAndReset() argument
118 is_audio, in GetEventLogsAndReset()
123 void CastSession::GetStatsAndReset(bool is_audio, in GetStatsAndReset() argument
129 is_audio, in GetStatsAndReset()
Dcast_session_delegate.cc112 void CastSessionDelegate::ToggleLogging(bool is_audio, bool enable) { in ToggleLogging() argument
118 event_subscribers_->AddEventSubscribers(is_audio); in ToggleLogging()
120 event_subscribers_->RemoveEventSubscribers(is_audio); in ToggleLogging()
124 bool is_audio, in GetEventLogsAndReset() argument
135 event_subscribers_->GetEncodingEventSubscriber(is_audio); in GetEventLogsAndReset()
179 void CastSessionDelegate::GetStatsAndReset(bool is_audio, in GetStatsAndReset() argument
189 event_subscribers_->GetStatsEventSubscriber(is_audio); in GetStatsAndReset()
Dcast_session.h80 void ToggleLogging(bool is_audio, bool enable);
85 void GetEventLogsAndReset(bool is_audio,
90 void GetStatsAndReset(bool is_audio, const StatsCallback& callback);
Dcast_session_delegate.h83 void ToggleLogging(bool is_audio, bool enable);
84 void GetEventLogsAndReset(bool is_audio,
86 void GetStatsAndReset(bool is_audio, const StatsCallback& callback);
/external/chromium_org/content/browser/renderer_host/media/
Dmedia_stream_track_metrics_host.cc50 bool is_audio, in OnAddTrack() argument
55 TrackInfo info = {is_audio, is_remote, base::TimeTicks::Now()}; in OnAddTrack()
71 if (info.is_audio) { in ReportDuration()
79 if (info.is_audio) { in ReportDuration()
Dmedia_stream_track_metrics_host.h40 void OnAddTrack(uint64 id, bool is_audio, bool is_remote);
49 bool is_audio; member
/external/chromium_org/content/renderer/media/android/
Dmedia_source_delegate.cc381 bool is_audio = (type == DemuxerStream::AUDIO); in OnBufferReady() local
385 << (is_audio ? "Audio" : "Video") << ", index " << index in OnBufferReady()
400 CHECK((is_audio && audio_stream_) || (!is_audio && video_stream_)); in OnBufferReady()
402 CHECK(GetDemuxerConfigFromStream(&data->demuxer_configs[0], is_audio)); in OnBufferReady()
403 if (!is_audio) { in OnBufferReady()
422 if (is_audio) { in OnBufferReady()
434 if (is_audio && media::kCodecVorbis == in OnBufferReady()
724 media::DemuxerConfigs* configs, bool is_audio) { in GetDemuxerConfigFromStream() argument
728 if (is_audio && audio_stream_) { in GetDemuxerConfigFromStream()
739 if (!is_audio && video_stream_) { in GetDemuxerConfigFromStream()
Dmedia_source_delegate.h175 bool is_audio);
/external/chromium_org/media/formats/mp4/
Dtrack_run_iterator.cc32 bool is_audio; member
52 is_audio(false), in TrackRunInfo()
255 tri.is_audio = (stsd.type == kAudio); in Init()
256 if (tri.is_audio) { in Init()
457 bool TrackRunIterator::is_audio() const { in is_audio() function in media::mp4::TrackRunIterator
459 return run_itr_->is_audio; in is_audio()
463 DCHECK(is_audio()); in audio_description()
469 DCHECK(!is_audio()); in video_description()
511 if (is_audio()) in track_encryption()
Dtrack_run_iterator.h71 bool is_audio() const;
/external/chromium_org/media/cast/net/pacing/
Dpaced_sender.cc331 bool is_audio; in LogPacketEvent() local
333 is_audio = true; in LogPacketEvent()
335 is_audio = false; in LogPacketEvent()
341 EventMediaType media_type = is_audio ? AUDIO_EVENT : VIDEO_EVENT; in LogPacketEvent()
/external/chromium_org/media/formats/mp2t/
Dmp2t_stream_parser.cc334 bool is_audio = false; in RegisterPes() local
355 is_audio = true; in RegisterPes()
366 is_audio = true; in RegisterPes()
376 is_audio ? PidState::kPidAudioPes : PidState::kPidVideoPes; in RegisterPes()
/external/chromium_org/media/cast/sender/
Dframe_sender.h26 bool is_audio,
Dframe_sender.cc26 bool is_audio, in FrameSender() argument
49 is_audio_(is_audio), in FrameSender()
/external/chromium_org/media/cast/logging/proto/
Draw_events.proto84 optional bool is_audio = 1; field
/external/chromium_org/media/filters/
Dffmpeg_demuxer.cc298 const bool is_audio = type() == AUDIO; in EnqueuePacket() local
303 if (fixup_negative_ogg_timestamps_ && !is_audio && in EnqueuePacket()
318 if (fixup_negative_ogg_timestamps_ && is_audio && in EnqueuePacket()