| OLD | NEW | 
|   1 /* |   1 /* | 
|   2  *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |   2  *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 
|   3  * |   3  * | 
|   4  *  Use of this source code is governed by a BSD-style license |   4  *  Use of this source code is governed by a BSD-style license | 
|   5  *  that can be found in the LICENSE file in the root of the source |   5  *  that can be found in the LICENSE file in the root of the source | 
|   6  *  tree. An additional intellectual property rights grant can be found |   6  *  tree. An additional intellectual property rights grant can be found | 
|   7  *  in the file PATENTS.  All contributing project authors may |   7  *  in the file PATENTS.  All contributing project authors may | 
|   8  *  be found in the AUTHORS file in the root of the source tree. |   8  *  be found in the AUTHORS file in the root of the source tree. | 
|   9  * |   9  * | 
|  10  */ |  10  */ | 
|  11  |  11  | 
|  12 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_H264_ENCODER_IMPL_H_ |  12 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_H264_ENCODER_IMPL_H_ | 
|  13 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_H264_ENCODER_IMPL_H_ |  13 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_H264_ENCODER_IMPL_H_ | 
|  14  |  14  | 
|  15 #include <memory> |  15 #include <memory> | 
|  16 #include <vector> |  16 #include <vector> | 
|  17  |  17  | 
 |  18 #include "webrtc/common_video/h264/h264_bitstream_parser.h" | 
|  18 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h" |  19 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h" | 
|  19 #include "webrtc/modules/video_coding/utility/h264_bitstream_parser.h" |  | 
|  20 #include "webrtc/modules/video_coding/utility/quality_scaler.h" |  20 #include "webrtc/modules/video_coding/utility/quality_scaler.h" | 
|  21  |  21  | 
|  22 #include "third_party/openh264/src/codec/api/svc/codec_app_def.h" |  22 #include "third_party/openh264/src/codec/api/svc/codec_app_def.h" | 
|  23  |  23  | 
|  24 class ISVCEncoder; |  24 class ISVCEncoder; | 
|  25  |  25  | 
|  26 namespace webrtc { |  26 namespace webrtc { | 
|  27  |  27  | 
|  28 class H264EncoderImpl : public H264Encoder { |  28 class H264EncoderImpl : public H264Encoder { | 
|  29  public: |  29  public: | 
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  77   std::unique_ptr<uint8_t[]> encoded_image_buffer_; |  77   std::unique_ptr<uint8_t[]> encoded_image_buffer_; | 
|  78   EncodedImageCallback* encoded_image_callback_; |  78   EncodedImageCallback* encoded_image_callback_; | 
|  79  |  79  | 
|  80   bool has_reported_init_; |  80   bool has_reported_init_; | 
|  81   bool has_reported_error_; |  81   bool has_reported_error_; | 
|  82 }; |  82 }; | 
|  83  |  83  | 
|  84 }  // namespace webrtc |  84 }  // namespace webrtc | 
|  85  |  85  | 
|  86 #endif  // WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_H264_ENCODER_IMPL_H_ |  86 #endif  // WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_H264_ENCODER_IMPL_H_ | 
| OLD | NEW |