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 e96d99578150f7b531445e14cb35f46995070801..438dd1ddf819e6ae5cfaff716a2da5fc3f6e7c2d 100644 |
--- a/webrtc/modules/video_coding/generic_encoder.h |
+++ b/webrtc/modules/video_coding/generic_encoder.h |
@@ -16,6 +16,7 @@ |
#include "webrtc/modules/video_coding/include/video_codec_interface.h" |
#include "webrtc/modules/video_coding/include/video_coding_defines.h" |
+#include "webrtc/modules/video_coding/utility/ivf_file_writer.h" |
#include "webrtc/base/criticalsection.h" |
@@ -71,17 +72,22 @@ class VCMEncodedFrameCallback : public EncodedImageCallback { |
const char* encoder_implementation_name); |
private: |
- VCMPacketizationCallback* send_callback_; |
- media_optimization::MediaOptimization* _mediaOpt; |
- uint8_t _payloadType; |
- bool _internalSource; |
- VideoRotation _rotation; |
+ friend class VCMGenericEncoder; |
- EncodedImageCallback* post_encode_callback_; |
+ int GetLayer(const CodecSpecificInfo& codec_specific); |
-#ifdef DEBUG_ENCODER_BIT_STREAM |
- FILE* _bitStreamAfterEncoder; |
-#endif |
+ static const bool kEnableFrameRecording = false; |
pbos-webrtc
2016/04/04 11:22:23
I think this should be plumbed further out through
sprang_webrtc
2016/04/05 10:35:38
Done.
|
+ static const int kMaxLayers = 3; |
+ VideoCodecType codec_type_ = kVideoCodecVP8; |
+ std::unique_ptr<IvfFileWriter> file_writers_[kMaxLayers]; |
+ |
+ VCMPacketizationCallback* send_callback_; |
+ media_optimization::MediaOptimization* _mediaOpt; |
+ uint8_t _payloadType; |
+ bool _internalSource; |
+ VideoRotation _rotation; |
+ |
+ EncodedImageCallback* post_encode_callback_; |
}; // end of VCMEncodeFrameCallback class |
/******************************/ |