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

Unified Diff: webrtc/modules/video_coding/frame_object.h

Issue 2453143003: Delete method FrameObject::GetBitstream. (Closed)
Patch Set: Created 4 years, 2 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 | « webrtc/modules/video_coding/frame_buffer2_unittest.cc ('k') | webrtc/modules/video_coding/frame_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/frame_object.h
diff --git a/webrtc/modules/video_coding/frame_object.h b/webrtc/modules/video_coding/frame_object.h
index a63ae996b8dff1331500954110a6f7dd9b3ea121..f8c4e851ec67cc4ed4472d8904be52722b51f607 100644
--- a/webrtc/modules/video_coding/frame_object.h
+++ b/webrtc/modules/video_coding/frame_object.h
@@ -25,8 +25,6 @@ class FrameObject : public webrtc::VCMEncodedFrame {
FrameObject();
virtual ~FrameObject() {}
- virtual bool GetBitstream(uint8_t* destination) const = 0;
-
// The capture timestamp of this frame.
virtual uint32_t Timestamp() const = 0;
@@ -36,6 +34,7 @@ class FrameObject : public webrtc::VCMEncodedFrame {
// When this frame should be rendered.
virtual int64_t RenderTime() const = 0;
+ size_t size() { return _size; }
// The tuple (|picture_id|, |spatial_layer|) uniquely identifies a frame
// object. For codec types that don't necessarily have picture ids they
@@ -47,8 +46,6 @@ class FrameObject : public webrtc::VCMEncodedFrame {
size_t num_references;
uint16_t references[kMaxFrameReferences];
bool inter_layer_predicted;
-
- size_t size;
};
class PacketBuffer;
@@ -68,7 +65,6 @@ class RtpFrameObject : public FrameObject {
int times_nacked() const;
enum FrameType frame_type() const;
VideoCodecType codec_type() const;
- bool GetBitstream(uint8_t* destination) const override;
uint32_t Timestamp() const override;
int64_t ReceivedTime() const override;
int64_t RenderTime() const override;
« no previous file with comments | « webrtc/modules/video_coding/frame_buffer2_unittest.cc ('k') | webrtc/modules/video_coding/frame_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698