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

Unified Diff: webrtc/common_video/include/video_frame.h

Issue 2993923002: Removing VCMCodecDataBase::Codec and VideoCodingModule::Codec. (Closed)
Patch Set: Remove deprate - let sprang handle when method is removed Created 3 years, 4 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/api/video_codecs/video_encoder.cc ('k') | webrtc/common_video/video_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_video/include/video_frame.h
diff --git a/webrtc/common_video/include/video_frame.h b/webrtc/common_video/include/video_frame.h
index 10dfb47cc94e705ed9062d63e4dbdf5cfea18efb..a5f0e52da01ec9e43bb7ee5337ab8ac0366b1151 100644
--- a/webrtc/common_video/include/video_frame.h
+++ b/webrtc/common_video/include/video_frame.h
@@ -30,16 +30,10 @@ class EncodedImage {
// number of additional bytes (due to over-reading byte readers).
static size_t GetBufferPaddingBytes(VideoCodecType codec_type);
- EncodedImage() : EncodedImage(nullptr, 0, 0) {}
+ EncodedImage();
+ EncodedImage(uint8_t* buffer, size_t length, size_t size);
- EncodedImage(uint8_t* buffer, size_t length, size_t size)
- : _buffer(buffer), _length(length), _size(size) {}
-
- void SetEncodeTime(int64_t encode_start_ms, int64_t encode_finish_ms) const {
- timing_.is_timing_frame = true;
- timing_.encode_start_ms = encode_start_ms;
- timing_.encode_finish_ms = encode_finish_ms;
- }
+ void SetEncodeTime(int64_t encode_start_ms, int64_t encode_finish_ms) const;
// TODO(kthelgason): get rid of this struct as it only has a single member
// remaining.
« no previous file with comments | « webrtc/api/video_codecs/video_encoder.cc ('k') | webrtc/common_video/video_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698