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

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

Issue 1900193004: Remove VCMPacketizationCallback (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
Index: webrtc/modules/video_coding/generic_encoder.h
diff --git a/webrtc/modules/video_coding/generic_encoder.h b/webrtc/modules/video_coding/generic_encoder.h
index 89d07e2fb65290bd74893210803a7eae0cc5c2a8..3887d0f680c4b33e7ebd82b8c85b215ba2263254 100644
--- a/webrtc/modules/video_coding/generic_encoder.h
+++ b/webrtc/modules/video_coding/generic_encoder.h
@@ -42,20 +42,16 @@ class VCMEncodedFrameCallback : public EncodedImageCallback {
int32_t Encoded(const EncodedImage& encoded_image,
const CodecSpecificInfo* codec_specific,
const RTPFragmentationHeader* fragmentation_header) override;
- int32_t SetTransportCallback(VCMPacketizationCallback* transport);
void SetMediaOpt(media_optimization::MediaOptimization* media_opt);
void SetInternalSource(bool internal_source) {
internal_source_ = internal_source;
}
- void SignalLastEncoderImplementationUsed(
- const char* encoder_implementation_name);
private:
- VCMPacketizationCallback* send_callback_;
media_optimization::MediaOptimization* media_opt_;
bool internal_source_;
- EncodedImageCallback* post_encode_callback_;
+ EncodedImageCallback* const post_encode_callback_;
};
class VCMGenericEncoder {
@@ -75,6 +71,8 @@ class VCMGenericEncoder {
const CodecSpecificInfo* codec_specific,
const std::vector<FrameType>& frame_types);
+ const char* ImplementationName() const;
+
void SetEncoderParameters(const EncoderParameters& params);
EncoderParameters GetEncoderParameters() const;
« no previous file with comments | « no previous file | webrtc/modules/video_coding/generic_encoder.cc » ('j') | webrtc/modules/video_coding/video_sender.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698