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

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

Issue 2541863002: Delete VideoFrame default constructor, and IsZeroSize method. (Closed)
Patch Set: Initialize pixel data in VideoBroadcasterTest.OnFrame test. 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // 124 //
125 // Return value : WEBRTC_VIDEO_CODEC_OK if OK. 125 // Return value : WEBRTC_VIDEO_CODEC_OK if OK.
126 // <0 - Error 126 // <0 - Error
127 int Release() override; 127 int Release() override;
128 128
129 private: 129 private:
130 static const uint8_t* ExtractHeader(const uint8_t* buffer, 130 static const uint8_t* ExtractHeader(const uint8_t* buffer,
131 uint16_t* width, 131 uint16_t* width,
132 uint16_t* height); 132 uint16_t* height);
133 133
134 VideoFrame _decodedImage;
135 int _width; 134 int _width;
136 int _height; 135 int _height;
137 bool _inited; 136 bool _inited;
138 DecodedImageCallback* _decodeCompleteCallback; 137 DecodedImageCallback* _decodeCompleteCallback;
139 }; // class I420Decoder 138 }; // class I420Decoder
140 139
141 } // namespace webrtc 140 } // namespace webrtc
142 141
143 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_I420_INCLUDE_I420_H_ 142 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_I420_INCLUDE_I420_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc ('k') | webrtc/modules/video_coding/codecs/test/videoprocessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698