Home
last modified time | relevance | path

Searched refs:extra_data (Results 1 – 25 of 59) sorted by relevance

123

/external/chromium_org/chrome/renderer/prerender/
Dprerender_dispatcher.cc111 const PrerenderExtraData& extra_data = in add() local
113 if (prerenders_.count(extra_data.prerender_id()) != 0) { in add()
118 prerenders_[extra_data.prerender_id()] = prerender; in add()
121 extra_data.prerender_id(), GURL(prerender.url()), in add()
124 extra_data.size(), extra_data.render_view_route_id())); in add()
128 const PrerenderExtraData& extra_data = in cancel() local
131 new PrerenderHostMsg_CancelLinkRelPrerender(extra_data.prerender_id())); in cancel()
136 prerenders_.erase(extra_data.prerender_id()); in cancel()
140 const PrerenderExtraData& extra_data = in abandon() local
143 new PrerenderHostMsg_AbandonLinkRelPrerender(extra_data.prerender_id())); in abandon()
[all …]
/external/chromium_org/media/base/
Dvideo_decoder_config.cc25 const uint8* extra_data, in VideoDecoderConfig() argument
29 extra_data, extra_data_size, is_encrypted, true); in VideoDecoderConfig()
62 const uint8* extra_data, in Initialize() argument
66 CHECK((extra_data_size != 0) == (extra_data != NULL)); in Initialize()
89 extra_data_.assign(extra_data, extra_data + extra_data_size); in Initialize()
109 (!extra_data() || !memcmp(extra_data(), config.extra_data(), in Matches()
127 << " has extra data? " << (extra_data() ? "true" : "false") in AsHumanReadableString()
156 const uint8* VideoDecoderConfig::extra_data() const { in extra_data() function in media::VideoDecoderConfig
Daudio_decoder_config.cc30 const uint8* extra_data, in AudioDecoderConfig() argument
34 extra_data, extra_data_size, is_encrypted, true, in AudioDecoderConfig()
42 const uint8* extra_data, in Initialize() argument
48 CHECK((extra_data_size != 0) == (extra_data != NULL)); in Initialize()
71 extra_data_.assign(extra_data, extra_data + extra_data_size); in Initialize()
100 (!extra_data() || !memcmp(extra_data(), config.extra_data(), in Matches()
Daudio_decoder_config.h59 const uint8* extra_data, size_t extra_data_size,
67 const uint8* extra_data, size_t extra_data_size,
92 const uint8* extra_data() const { in extra_data() function
Dvideo_decoder_config.h82 const uint8* extra_data, size_t extra_data_size,
94 const uint8* extra_data, size_t extra_data_size,
129 const uint8* extra_data() const;
/external/chromium_org/media/filters/
Dopus_audio_decoder.cc205 OpusExtraData* extra_data) { in ParseOpusExtraData() argument
211 extra_data->channels = *(data + kOpusExtraDataChannelsOffset); in ParseOpusExtraData()
213 if (extra_data->channels <= 0 || extra_data->channels > kMaxVorbisChannels) { in ParseOpusExtraData()
215 << extra_data->channels; in ParseOpusExtraData()
219 extra_data->skip_samples = in ParseOpusExtraData()
221 extra_data->gain_db = static_cast<int16>( in ParseOpusExtraData()
224 extra_data->channel_mapping = *(data + kOpusExtraDataChannelMappingOffset); in ParseOpusExtraData()
226 if (!extra_data->channel_mapping) { in ParseOpusExtraData()
227 if (extra_data->channels > kMaxChannelsWithDefaultLayout) { in ParseOpusExtraData()
232 extra_data->num_streams = 1; in ParseOpusExtraData()
[all …]
/external/chromium_org/content/public/renderer/
Dmedia_stream_audio_sink.cc19 MediaStreamTrackExtraData* extra_data = in AddToAudioTrack() local
22 DCHECK(extra_data->is_local_track()); in AddToAudioTrack()
24 static_cast<WebRtcLocalAudioTrack*>(extra_data->track().get()); in AddToAudioTrack()
31 MediaStreamTrackExtraData* extra_data = in RemoveFromAudioTrack() local
34 DCHECK(extra_data->is_local_track()); in RemoveFromAudioTrack()
36 static_cast<WebRtcLocalAudioTrack*>(extra_data->track().get()); in RemoveFromAudioTrack()
/external/chromium_org/content/renderer/media/
Dmedia_stream_center.cc83 MediaStreamSourceExtraData* extra_data = in didStopMediaStreamTrack() local
85 if (!extra_data) { in didStopMediaStreamTrack()
90 extra_data->OnLocalSourceStop(); in didStopMediaStreamTrack()
97 MediaStreamExtraData* extra_data = in didStopLocalMediaStream() local
99 if (!extra_data) { in didStopLocalMediaStream()
120 extra_data->OnLocalStreamStop(); in didStopLocalMediaStream()
Dmedia_stream_dependency_factory_unittest.cc131 content::MediaStreamExtraData* extra_data = in VerifyMediaStream() local
133 ASSERT_TRUE(extra_data && extra_data->stream().get()); in VerifyMediaStream()
134 EXPECT_TRUE(extra_data->is_local()); in VerifyMediaStream()
135 EXPECT_EQ(num_audio_tracks, extra_data->stream()->GetAudioTracks().size()); in VerifyMediaStream()
136 EXPECT_EQ(num_video_tracks, extra_data->stream()->GetVideoTracks().size()); in VerifyMediaStream()
Dmedia_stream_impl.cc59 content::MediaStreamExtraData* extra_data = in GetNativeMediaStream() local
61 if (!extra_data) in GetNativeMediaStream()
63 return extra_data->stream().get(); in GetNativeMediaStream()
250 MediaStreamExtraData* extra_data = in GetAudioRenderer() local
253 if (extra_data->is_local()) { in GetAudioRenderer()
265 webrtc::MediaStreamInterface* stream = extra_data->stream().get(); in GetAudioRenderer()
276 renderer = CreateRemoteAudioRenderer(extra_data->stream().get()); in GetAudioRenderer()
548 MediaStreamSourceExtraData* extra_data = in FindLocalSource() local
551 const StreamDeviceInfo& active_device = extra_data->device_info(); in FindLocalSource()
717 MediaStreamSourceExtraData* extra_data = in StopLocalSource() local
[all …]
Dmedia_stream_impl_unittest.cc89 content::MediaStreamExtraData* extra_data = in RequestLocalMediaStream() local
91 if (!extra_data || !extra_data->stream().get()) { in RequestLocalMediaStream()
96 EXPECT_EQ(1u, extra_data->stream()->GetAudioTracks().size()); in RequestLocalMediaStream()
97 EXPECT_EQ(1u, extra_data->stream()->GetVideoTracks().size()); in RequestLocalMediaStream()
98 EXPECT_NE(extra_data->stream()->GetAudioTracks()[0]->id(), in RequestLocalMediaStream()
99 extra_data->stream()->GetVideoTracks()[0]->id()); in RequestLocalMediaStream()
Dvideo_source_handler.cc119 MediaStreamExtraData* extra_data = in GetFirstVideoSource() local
121 if (!extra_data) { in GetFirstVideoSource()
125 webrtc::MediaStreamInterface* native_stream = extra_data->stream().get(); in GetFirstVideoSource()
Dvideo_destination_handler_unittest.cc115 MediaStreamExtraData* extra_data = in TEST_F() local
117 DCHECK(extra_data); in TEST_F()
118 webrtc::MediaStreamInterface* native_stream = extra_data->stream().get(); in TEST_F()
Dmedia_stream_source_observer.cc14 MediaStreamSourceExtraData* extra_data) in MediaStreamSourceObserver() argument
17 extra_data_(extra_data) { in MediaStreamSourceObserver()
Dmedia_stream_dependency_factory.cc400 MediaStreamExtraData* extra_data = in CreateNativeLocalMediaStream() local
402 web_stream->setExtraData(extra_data); in CreateNativeLocalMediaStream()
424 MediaStreamExtraData* extra_data = in CreateNativeLocalMediaStream() local
426 extra_data->SetLocalStreamStopCallback(stream_stop); in CreateNativeLocalMediaStream()
597 MediaStreamExtraData* extra_data = in RemoveNativeMediaStreamTrack() local
599 webrtc::MediaStreamInterface* native_stream = extra_data->stream().get(); in RemoveNativeMediaStreamTrack()
985 MediaStreamExtraData* extra_data = in GetNativeMediaStream() local
987 return extra_data ? extra_data->stream().get() : NULL; in GetNativeMediaStream()
995 MediaStreamTrackExtraData* extra_data = in GetNativeMediaStreamTrack() local
997 return extra_data ? extra_data->track().get() : NULL; in GetNativeMediaStreamTrack()
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/
Dpcy_node.c146 if (!tree->extra_data) in level_add_node()
147 tree->extra_data = sk_X509_POLICY_DATA_new_null(); in level_add_node()
148 if (!tree->extra_data) in level_add_node()
150 if (!sk_X509_POLICY_DATA_push(tree->extra_data, data)) in level_add_node()
/external/openssl/crypto/x509v3/
Dpcy_node.c146 if (!tree->extra_data) in level_add_node()
147 tree->extra_data = sk_X509_POLICY_DATA_new_null(); in level_add_node()
148 if (!tree->extra_data) in level_add_node()
150 if (!sk_X509_POLICY_DATA_push(tree->extra_data, data)) in level_add_node()
/external/chromium_org/chrome/browser/ui/app_modal_dialogs/
Djavascript_app_modal_dialog.cc169 ExtraDataMap::iterator extra_data = extra_data_map_->find(web_contents()); in NotifyDelegate() local
170 if (extra_data != extra_data_map_->end()) { in NotifyDelegate()
171 extra_data->second.last_javascript_message_dismissal_ = in NotifyDelegate()
173 extra_data->second.suppress_javascript_messages_ = suppress_js_messages; in NotifyDelegate()
/external/chromium_org/content/child/
Dresource_dispatcher.cc129 if (request_info.extra_data) { in IPCResourceLoaderBridge()
130 RequestExtraData* extra_data = in IPCResourceLoaderBridge() local
131 static_cast<RequestExtraData*>(request_info.extra_data); in IPCResourceLoaderBridge()
132 request_.render_frame_id = extra_data->render_frame_id(); in IPCResourceLoaderBridge()
133 request_.is_main_frame = extra_data->is_main_frame(); in IPCResourceLoaderBridge()
134 request_.frame_id = extra_data->frame_id(); in IPCResourceLoaderBridge()
135 request_.parent_is_main_frame = extra_data->parent_is_main_frame(); in IPCResourceLoaderBridge()
136 request_.parent_frame_id = extra_data->parent_frame_id(); in IPCResourceLoaderBridge()
137 request_.allow_download = extra_data->allow_download(); in IPCResourceLoaderBridge()
138 request_.transition_type = extra_data->transition_type(); in IPCResourceLoaderBridge()
[all …]
/external/chromium_org/media/webm/
Dwebm_audio_client.cc61 const uint8* extra_data = NULL; in InitializeConfig() local
64 extra_data = &codec_private[0]; in InitializeConfig()
72 samples_per_second, extra_data, extra_data_size, is_encrypted, true, in InitializeConfig()
Dwebm_video_client.cc92 const uint8* extra_data = NULL; in InitializeConfig() local
95 extra_data = &codec_private[0]; in InitializeConfig()
101 extra_data, extra_data_size, is_encrypted, true); in InitializeConfig()
/external/chromium_org/media/base/android/
Daudio_decoder_job.cc31 const uint8* extra_data, in Create() argument
36 if (codec && codec->Start(audio_codec, sample_rate, channel_count, extra_data, in Create()
Dmedia_codec_bridge.cc458 const uint8* extra_data, in Start() argument
477 if (!ConfigureMediaFormat(j_format.obj(), codec, extra_data, extra_data_size)) in Start()
490 const uint8* extra_data, in ConfigureMediaFormat() argument
498 if (extra_data[0] != 2) { in ConfigureMediaFormat()
500 << "header: " << extra_data[0]; in ConfigureMediaFormat()
508 const uint8* current_pos = extra_data; in ConfigureMediaFormat()
537 env, extra_data + total_length, extra_data_size - total_length); in ConfigureMediaFormat()
543 media::BitReader reader(extra_data, extra_data_size); in ConfigureMediaFormat()
/external/chromium_org/webkit/child/
Dftp_directory_listing_response_delegate.cc66 WebURLResponseExtraDataImpl* extra_data = in FtpDirectoryListingResponseDelegate() local
68 extra_data->set_is_ftp_directory_listing(true); in FtpDirectoryListingResponseDelegate()
Dweburlloader_impl.cc388 request_info.extra_data = request.extraData(); in Start()
722 WebURLResponseExtraDataImpl* extra_data = in PopulateURLResponse() local
724 response->setExtraData(extra_data); in PopulateURLResponse()
725 extra_data->set_was_fetched_via_spdy(info.was_fetched_via_spdy); in PopulateURLResponse()
726 extra_data->set_was_npn_negotiated(info.was_npn_negotiated); in PopulateURLResponse()
727 extra_data->set_was_alternate_protocol_available( in PopulateURLResponse()
729 extra_data->set_connection_info(info.connection_info); in PopulateURLResponse()
730 extra_data->set_was_fetched_via_proxy(info.was_fetched_via_proxy); in PopulateURLResponse()

123