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

Side by Side Diff: webrtc/modules/video_coding/codecs/i420/include/i420.h

Issue 2398963003: Move usage of QualityScaler to ViEEncoder. (Closed)
Patch Set: rebase 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 63
64 // Free encoder memory. 64 // Free encoder memory.
65 // 65 //
66 // Return value : WEBRTC_VIDEO_CODEC_OK if OK, < 0 otherwise. 66 // Return value : WEBRTC_VIDEO_CODEC_OK if OK, < 0 otherwise.
67 int Release() override; 67 int Release() override;
68 68
69 int SetChannelParameters(uint32_t /*packetLoss*/, int64_t /*rtt*/) override { 69 int SetChannelParameters(uint32_t /*packetLoss*/, int64_t /*rtt*/) override {
70 return WEBRTC_VIDEO_CODEC_OK; 70 return WEBRTC_VIDEO_CODEC_OK;
71 } 71 }
72 72
73 void OnDroppedFrame() override {}
74
75 private: 73 private:
76 static uint8_t* InsertHeader(uint8_t* buffer, 74 static uint8_t* InsertHeader(uint8_t* buffer,
77 uint16_t width, 75 uint16_t width,
78 uint16_t height); 76 uint16_t height);
79 77
80 bool _inited; 78 bool _inited;
81 EncodedImage _encodedImage; 79 EncodedImage _encodedImage;
82 EncodedImageCallback* _encodedCompleteCallback; 80 EncodedImageCallback* _encodedCompleteCallback;
83 }; // class I420Encoder 81 }; // class I420Encoder
84 82
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 VideoFrame _decodedImage; 134 VideoFrame _decodedImage;
137 int _width; 135 int _width;
138 int _height; 136 int _height;
139 bool _inited; 137 bool _inited;
140 DecodedImageCallback* _decodeCompleteCallback; 138 DecodedImageCallback* _decodeCompleteCallback;
141 }; // class I420Decoder 139 }; // class I420Decoder
142 140
143 } // namespace webrtc 141 } // namespace webrtc
144 142
145 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_I420_INCLUDE_I420_H_ 143 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_I420_INCLUDE_I420_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698