Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(814)

Unified Diff: media/cast/video_receiver/video_receiver.h

Issue 288103002: [Cast] EncodedAudioFrame+EncodedVideoFrame+reference_time --> EncodedFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/video_receiver/video_decoder_unittest.cc ('k') | media/cast/video_receiver/video_receiver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/video_receiver/video_receiver.h
diff --git a/media/cast/video_receiver/video_receiver.h b/media/cast/video_receiver/video_receiver.h
index 697657e92e3ebb40700b8ba114d86080f6a16a2d..ff7ccda9e455ade847b167a9fb5cffb49226e26b 100644
--- a/media/cast/video_receiver/video_receiver.h
+++ b/media/cast/video_receiver/video_receiver.h
@@ -76,7 +76,7 @@ class VideoReceiver : public RtpReceiver,
//
// The given |callback| is guaranteed to be run at some point in the future,
// even if to respond with NULL at shutdown time.
- void GetEncodedVideoFrame(const VideoFrameEncodedCallback& callback);
+ void GetEncodedVideoFrame(const FrameEncodedCallback& callback);
// Deliver another packet, possibly a duplicate, and possibly out-of-order.
void IncomingPacket(scoped_ptr<Packet> packet);
@@ -102,12 +102,11 @@ class VideoReceiver : public RtpReceiver,
// EmitAvailableEncodedFrames().
void EmitAvailableEncodedFramesAfterWaiting();
- // Feeds an EncodedVideoFrame into |video_decoder_|. GetRawVideoFrame() uses
- // this as a callback for GetEncodedVideoFrame().
+ // Feeds an EncodedFrame into |video_decoder_|. GetRawVideoFrame() uses this
+ // as a callback for GetEncodedVideoFrame().
void DecodeEncodedVideoFrame(
const VideoFrameDecodedCallback& callback,
- scoped_ptr<transport::EncodedVideoFrame> encoded_frame,
- const base::TimeTicks& playout_time);
+ scoped_ptr<transport::EncodedFrame> encoded_frame);
// Return the playout time based on the current time and rtp timestamp.
base::TimeTicks GetPlayoutTime(base::TimeTicks now, uint32 rtp_timestamp);
@@ -160,7 +159,7 @@ class VideoReceiver : public RtpReceiver,
transport::TransportEncryptionHandler decryptor_;
// Outstanding callbacks to run to deliver on client requests for frames.
- std::list<VideoFrameEncodedCallback> frame_request_queue_;
+ std::list<FrameEncodedCallback> frame_request_queue_;
// True while there's an outstanding task to re-invoke
// EmitAvailableEncodedFrames().
« no previous file with comments | « media/cast/video_receiver/video_decoder_unittest.cc ('k') | media/cast/video_receiver/video_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698