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

Side by Side Diff: webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h

Issue 2468903003: Remove webrtc::Video from H264 encoder internals (Closed)
Patch Set: Another rename (reland) Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 */
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 bool IsInitialized() const; 63 bool IsInitialized() const;
64 SEncParamExt CreateEncoderParams() const; 64 SEncParamExt CreateEncoderParams() const;
65 65
66 webrtc::H264BitstreamParser h264_bitstream_parser_; 66 webrtc::H264BitstreamParser h264_bitstream_parser_;
67 QualityScaler quality_scaler_; 67 QualityScaler quality_scaler_;
68 // Reports statistics with histograms. 68 // Reports statistics with histograms.
69 void ReportInit(); 69 void ReportInit();
70 void ReportError(); 70 void ReportError();
71 71
72 ISVCEncoder* openh264_encoder_; 72 ISVCEncoder* openh264_encoder_;
73 VideoCodec codec_settings_; 73 // Settings that are used by this encoder.
74 int width_;
75 int height_;
76 float max_frame_rate_;
77 unsigned int target_bps_;
78 unsigned int max_bps_;
79 VideoCodecMode mode_;
80 // H.264 specifc parameters
81 bool frame_dropping_on_;
82 int key_frame_interval_;
83
74 int32_t number_of_cores_; 84 int32_t number_of_cores_;
75 85
76 EncodedImage encoded_image_; 86 EncodedImage encoded_image_;
77 std::unique_ptr<uint8_t[]> encoded_image_buffer_; 87 std::unique_ptr<uint8_t[]> encoded_image_buffer_;
78 EncodedImageCallback* encoded_image_callback_; 88 EncodedImageCallback* encoded_image_callback_;
79 89
80 bool has_reported_init_; 90 bool has_reported_init_;
81 bool has_reported_error_; 91 bool has_reported_error_;
82 }; 92 };
83 93
84 } // namespace webrtc 94 } // namespace webrtc
85 95
86 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_H264_ENCODER_IMPL_H_ 96 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_H264_ENCODER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | 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