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 d7493e04b23b68fa6454aff26aeaf6fb23ed5de8..6cfa4e467040487d9d4a7291d191a29e8ecdcc0b 100644 |
--- a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h |
+++ b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h |
@@ -12,11 +12,14 @@ |
#ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_H264_ENCODER_IMPL_H_ |
#define WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_H264_ENCODER_IMPL_H_ |
-#include "webrtc/modules/video_coding/codecs/h264/include/h264.h" |
- |
#include <memory> |
#include <vector> |
+#include "webrtc/modules/video_coding/codecs/h264/include/h264.h" |
+#include "webrtc/modules/video_coding/utility/h264_bitstream_parser.h" |
+#include "webrtc/modules/video_coding/utility/quality_scaler.h" |
+ |
+#include "third_party/openh264/src/codec/api/svc/codec_app_def.h" |
class ISVCEncoder; |
@@ -56,13 +59,17 @@ class H264EncoderImpl : public H264Encoder { |
private: |
bool IsInitialized() const; |
+ SEncParamExt CreateEncoderParams() const; |
+ webrtc::H264BitstreamParser h264_bitstream_parser_; |
+ QualityScaler quality_scaler_; |
// Reports statistics with histograms. |
void ReportInit(); |
void ReportError(); |
ISVCEncoder* openh264_encoder_; |
VideoCodec codec_settings_; |
+ int32_t number_of_cores_; |
EncodedImage encoded_image_; |
std::unique_ptr<uint8_t[]> encoded_image_buffer_; |