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

Unified Diff: webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h

Issue 2558453002: Revert of H.264 packetization mode 0 (try 3) (Closed)
Patch Set: Created 4 years 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/codecs/h264/h264_encoder_impl.h
diff --git a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h
index a455259bf2b93c42f3d8bb3b78a1947d6543bce7..aab16acf368eb6fbbc5705f1f4db1eacb86bf098 100644
--- a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h
+++ b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h
@@ -27,7 +27,7 @@
class H264EncoderImpl : public H264Encoder {
public:
- explicit H264EncoderImpl(const cricket::VideoCodec& codec);
+ H264EncoderImpl();
~H264EncoderImpl() override;
// |max_payload_size| is ignored.
@@ -39,7 +39,7 @@
// - height
int32_t InitEncode(const VideoCodec* codec_settings,
int32_t number_of_cores,
- size_t max_payload_size) override;
+ size_t /*max_payload_size*/) override;
int32_t Release() override;
int32_t RegisterEncodeCompleteCallback(
@@ -61,11 +61,6 @@
int32_t SetChannelParameters(uint32_t packet_loss, int64_t rtt) override;
int32_t SetPeriodicKeyFrames(bool enable) override;
- // Exposed for testing.
- H264PacketizationMode PacketizationModeForTesting() const {
- return packetization_mode_;
- }
-
private:
bool IsInitialized() const;
SEncParamExt CreateEncoderParams() const;
@@ -86,9 +81,7 @@
// H.264 specifc parameters
bool frame_dropping_on_;
int key_frame_interval_;
- H264PacketizationMode packetization_mode_;
- size_t max_payload_size_;
int32_t number_of_cores_;
EncodedImage encoded_image_;
« no previous file with comments | « webrtc/modules/video_coding/codecs/h264/h264.cc ('k') | webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698