/external/chromium_org/content/renderer/input/ |
H A D | input_handler_proxy_unittest.cc | 41 WebGestureEvent CreateFling(base::TimeTicks timestamp, argument 50 fling.timeStampSeconds = (timestamp - base::TimeTicks()).InSecondsF(); 225 void StartFling(base::TimeTicks timestamp, argument 246 CreateFling(timestamp, source_device, velocity, position, position, 0); 253 void CancelFling(base::TimeTicks timestamp) { argument 254 gesture_.timeStampSeconds = InSecondsF(timestamp); 1084 // timestamp. 1282 // With an animation timestamp equivalent to the starting timestamp, the
|
/external/chromium_org/content/renderer/media/webrtc/ |
H A D | media_stream_remote_video_source.cc | 74 base::TimeDelta timestamp = base::TimeDelta::FromMicroseconds( local 82 video_frame->set_timestamp(timestamp); 86 media::VideoFrame::YV12, size, gfx::Rect(size), size, timestamp);
|
H A D | video_destination_handler.cc | 137 const base::TimeDelta timestamp = base::TimeDelta::FromMicroseconds( local 146 gfx::Rect(frame_size), frame_size, timestamp);
|
/external/chromium_org/content/renderer/p2p/ |
H A D | socket_client_impl.cc | 228 const base::TimeTicks& timestamp) { 237 timestamp)); 242 const base::TimeTicks& timestamp) { 245 delegate_->OnDataReceived(address, data, timestamp); 226 OnDataReceived(const net::IPEndPoint& address, const std::vector<char>& data, const base::TimeTicks& timestamp) argument 240 DeliverOnDataReceived( const net::IPEndPoint& address, const std::vector<char>& data, const base::TimeTicks& timestamp) argument
|
H A D | socket_dispatcher.cc | 176 const base::TimeTicks& timestamp) { 179 client->OnDataReceived(address, data, timestamp); 173 OnDataReceived( int socket_id, const net::IPEndPoint& address, const std::vector<char>& data, const base::TimeTicks& timestamp) argument
|
/external/chromium_org/content/renderer/pepper/ |
H A D | pepper_video_source_host.cc | 251 // Convert a video timestamp to a PP_TimeTicks (a double, in seconds). 252 const PP_TimeTicks timestamp = frame->timestamp().InSecondsF(); local 260 host_resource, shared_image_desc_, timestamp)); 270 ppapi::HostResource(), PP_ImageDataDesc(), 0.0 /* timestamp */));
|
/external/chromium_org/extensions/shell/browser/ |
H A D | shell_desktop_controller.cc | 220 const base::TimeTicks& timestamp) { 218 PowerButtonEventReceived( bool down, const base::TimeTicks& timestamp) argument
|
/external/chromium_org/media/base/ |
H A D | audio_splicer.cc | 21 // when the buffer timestamps are slightly off because of timestamp rounding 25 // AudioBuffer::TrimStart() is not as accurate as the timestamp helper, so 26 // manually adjust the duration and timestamp after trimming. 53 // resetting the timestamp helper. 56 // Similar to Reset(), but initializes the timestamp helper with the given 123 DCHECK(input->timestamp() != kNoTimestamp()); 128 output_timestamp_helper_.SetBaseTimestamp(input->timestamp()); 130 if (output_timestamp_helper_.base_timestamp() > input->timestamp()) { 131 DVLOG(1) << "Input timestamp is before the base timestamp 135 const base::TimeDelta timestamp = input->timestamp(); local [all...] |
H A D | demuxer_perftest.cc | 54 // present in |demuxer| in as-close-to-monotonically-increasing timestamp order. 73 base::TimeDelta* timestamp, 114 base::TimeDelta timestamp; local 118 base::MessageLoop::current(), &end_of_stream, ×tamp)); 121 CHECK(end_of_stream || timestamp != media::kNoTimestamp()); 123 last_read_timestamp_[index] = timestamp; 138 base::TimeDelta* timestamp, 144 *timestamp = *end_of_stream ? media::kNoTimestamp() : buffer->timestamp(); 135 OnReadDone( base::MessageLoop* message_loop, bool* end_of_stream, base::TimeDelta* timestamp, media::DemuxerStream::Status status, const scoped_refptr<media::DecoderBuffer>& buffer) argument
|
H A D | stream_parser_buffer.h | 17 // Simple wrapper around base::TimeDelta that represents a decode timestamp. 79 // are being converted to a decode timestamp. 80 static DecodeTimestamp FromPresentationTime(base::TimeDelta timestamp) { argument 81 return DecodeTimestamp(timestamp); 93 explicit DecodeTimestamp(base::TimeDelta timestamp) : ts_(timestamp) { } argument 121 // Decode timestamp. If not explicitly set, or set to kNoTimestamp(), the 122 // value will be taken from the normal timestamp. 124 void SetDecodeTimestamp(DecodeTimestamp timestamp); 165 // All future timestamp, decod [all...] |
H A D | test_helpers.cc | 159 base::TimeDelta timestamp) { 167 output->set_timestamp(timestamp); 213 base::TimeDelta timestamp, base::TimeDelta duration) { 218 pickle.WriteInt64(timestamp.InMilliseconds()); 223 buffer->set_timestamp(timestamp); 152 MakeAudioBuffer(SampleFormat format, ChannelLayout channel_layout, size_t channel_count, int sample_rate, T start, T increment, size_t frames, base::TimeDelta timestamp) argument 211 CreateFakeVideoBufferForTest( const VideoDecoderConfig& config, base::TimeDelta timestamp, base::TimeDelta duration) argument
|
H A D | video_frame.h | 79 base::TimeDelta timestamp); 108 base::TimeDelta timestamp, 133 base::TimeDelta timestamp, 154 base::TimeDelta timestamp, 164 // timestamp. If information is missing or is incompatible (for example, a 169 base::TimeDelta timestamp); 188 base::TimeDelta timestamp, 207 base::TimeDelta timestamp); 291 base::TimeDelta timestamp() const { function in class:media::VideoFrame 294 void set_timestamp(const base::TimeDelta& timestamp) { argument [all...] |
/external/chromium_org/media/cast/test/utility/ |
H A D | audio_utility.cc | 69 // Each bit of the timestamp is stored as a frequency, where the 96 bool EncodeTimestamp(uint16 timestamp, argument 104 timestamp = (timestamp >> 1) ^ timestamp; 107 if ((timestamp >> i) & 1) { 150 bool DecodeTimestamp(const float* samples, size_t length, uint16* timestamp) { argument 181 *timestamp = gray_coded;
|
/external/chromium_org/media/cdm/ppapi/external_clear_key/ |
H A D | ffmpeg_cdm_audio_decoder.cc | 229 base::TimeDelta timestamp = local 235 if (is_vorbis && timestamp < base::TimeDelta()) { 239 0.5 + -timestamp.InSecondsF() * samples_per_second_); 242 last_input_timestamp_ = timestamp; 244 } else if (timestamp != kNoTimestamp()) { 245 if (timestamp < last_input_timestamp_) { 246 base::TimeDelta diff = timestamp - last_input_timestamp_; 248 << " ts " << timestamp.InMicroseconds() << " us" 253 last_input_timestamp_ = timestamp; 287 << "Error decoding an audio frame with timestamp 363 const int64 timestamp = output_timestamp.InMicroseconds(); local [all...] |
H A D | ffmpeg_cdm_video_decoder.cc | 212 int64_t timestamp, 225 // Let FFmpeg handle presentation timestamp reordering. 226 codec_context_->reordered_opaque = timestamp; 242 LOG(ERROR) << "DecodeFrame(): Error decoding video frame with timestamp: " 243 << timestamp << " us, packet size: " << packet.size << " bytes"; 209 DecodeFrame( const uint8_t* compressed_frame, int32_t compressed_frame_size, int64_t timestamp, cdm::VideoFrame* decoded_frame) argument
|
/external/chromium_org/media/ffmpeg/ |
H A D | ffmpeg_common.cc | 53 int64 timestamp) { 54 int64 microseconds = av_rescale_q(timestamp, time_base, kMicrosBase); 59 const base::TimeDelta& timestamp) { 60 return av_rescale_q(timestamp.InMicroseconds(), kMicrosBase, time_base); 52 ConvertFromTimeBase(const AVRational& time_base, int64 timestamp) argument 58 ConvertToTimeBase(const AVRational& time_base, const base::TimeDelta& timestamp) argument
|
/external/chromium_org/media/filters/ |
H A D | gpu_video_decoder.h | 172 base::TimeDelta timestamp; member in struct:media::GpuVideoDecoder::BufferData
|
H A D | video_renderer_impl.cc | 95 void VideoRendererImpl::StartPlayingFrom(base::TimeDelta timestamp) { argument 96 DVLOG(1) << __FUNCTION__ << "(" << timestamp.InMicroseconds() << ")"; 105 start_timestamp_ = timestamp; 228 base::TimeDelta target_paint_timestamp = ready_frames_.front()->timestamp(); 270 last_timestamp_ = next_frame->timestamp(); 271 last_painted_timestamp_ = next_frame->timestamp(); 285 last_timestamp_ = ready_frames_.front()->timestamp(); 334 if (frame->timestamp() <= start_timestamp_)
|
H A D | vpx_video_decoder.cc | 368 int64 timestamp = buffer->timestamp().InMicroseconds(); local 369 void* user_priv = reinterpret_cast<void*>(×tamp); 388 if (vpx_image->user_priv != reinterpret_cast<void*>(×tamp)) { 389 LOG(ERROR) << "Invalid output timestamp."; 396 int64 timestamp_alpha = buffer->timestamp().InMicroseconds(); 424 LOG(ERROR) << "Invalid output timestamp on alpha."; 431 (*video_frame)->set_timestamp(base::TimeDelta::FromMicroseconds(timestamp));
|
/external/chromium_org/media/midi/ |
H A D | midi_manager_mac.cc | 105 double timestamp) { 113 client, port_index, data, timestamp)); 166 double timestamp) { 170 MIDITimeStamp coremidi_timestamp = SecondsToMIDITimeStamp(timestamp); 239 double MidiManagerMac::MIDITimeStampToSeconds(MIDITimeStamp timestamp) { argument 240 UInt64 nanoseconds = AudioConvertHostTimeToNanos(timestamp); 102 DispatchSendMidiData(MidiManagerClient* client, uint32 port_index, const std::vector<uint8>& data, double timestamp) argument 163 SendMidiData(MidiManagerClient* client, uint32 port_index, const std::vector<uint8>& data, double timestamp) argument
|
/external/chromium_org/net/cert/ |
H A D | signed_certificate_timestamp.h | 114 base::Time timestamp; member in struct:net::ct::SignedCertificateTimestamp
|
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | index_table_v3.h | 69 void SetTimestamp(int timestamp); 123 // timestamp. When this structure is passed to GetNextCells(), the caller sets 124 // the initial timestamp and direction; whet it is used with GetOldest, the 131 int timestamp; // The current low resolution timestamp for |cells|. member in struct:disk_cache::IndexIterator 196 // Returns an IndexTable timestamp for a given absolute time. The actual 197 // resolution of the timestamp should be considered an implementation detail, 199 // of cells will share the same timestamp (see IndexIterator). 202 // Returns the equivalent time for a cell timestamp. 203 base::Time TimeFromTimestamp(int timestamp); [all...] |
H A D | index_table_v3_unittest.cc | 154 int timestamp = 123456; local 168 entry.SetTimestamp(timestamp); 178 EXPECT_EQ(timestamp, entry.GetTimestamp()); 192 EXPECT_EQ(timestamp, entry2.GetTimestamp()); 202 timestamp = 0xfffff; // 20 bits. 522 iterator.timestamp = index.CalculateTimestamp(time) + 1; 549 iterator.timestamp = 0;
|
/external/chromium_org/ppapi/tests/ |
H A D | test_media_stream_audio_track.cc | 149 PP_TimeDelta timestamp = 0.0; local 162 ASSERT_GE(buffer.GetTimestamp(), timestamp); 163 timestamp = buffer.GetTimestamp(); 195 PP_TimeDelta timestamp = 0.0; local 207 ASSERT_GE(buffer.GetTimestamp(), timestamp); 208 timestamp = buffer.GetTimestamp(); 409 PP_TimeDelta timestamp = 0.0; local 424 ASSERT_GE(buffer.GetTimestamp(), timestamp); 425 timestamp = buffer.GetTimestamp();
|
/external/chromium_org/remoting/host/linux/ |
H A D | x_server_clipboard.cc | 141 Time timestamp) { 265 // Respond with the timestamp of our selection; we always return 269 // TODO(lambroslambrou): Should use a proper timestamp here instead of 271 // and getting a timestamp from the subsequent PropertyNotify event. 140 OnSetSelectionOwnerNotify(Atom selection, Time timestamp) argument
|