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

Side by Side Diff: webrtc/modules/video_coding/main/source/encoded_frame.cc

Issue 1415693002: Remove VideoFrameType aliases for FrameType. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 2 months 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 delete [] _buffer; 82 delete [] _buffer;
83 _buffer = NULL; 83 _buffer = NULL;
84 } 84 }
85 } 85 }
86 86
87 void VCMEncodedFrame::Reset() 87 void VCMEncodedFrame::Reset()
88 { 88 {
89 _renderTimeMs = -1; 89 _renderTimeMs = -1;
90 _timeStamp = 0; 90 _timeStamp = 0;
91 _payloadType = 0; 91 _payloadType = 0;
92 _frameType = kDeltaFrame; 92 _frameType = kVideoFrameDelta;
93 _encodedWidth = 0; 93 _encodedWidth = 0;
94 _encodedHeight = 0; 94 _encodedHeight = 0;
95 _completeFrame = false; 95 _completeFrame = false;
96 _missingFrame = false; 96 _missingFrame = false;
97 _length = 0; 97 _length = 0;
98 _codecSpecificInfo.codecType = kVideoCodecUnknown; 98 _codecSpecificInfo.codecType = kVideoCodecUnknown;
99 _codec = kVideoCodecUnknown; 99 _codec = kVideoCodecUnknown;
100 _rotation = kVideoRotation_0; 100 _rotation = kVideoRotation_0;
101 _rotation_set = false; 101 _rotation_set = false;
102 } 102 }
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // copy old data 220 // copy old data
221 memcpy(newBuffer, _buffer, _size); 221 memcpy(newBuffer, _buffer, _size);
222 delete [] _buffer; 222 delete [] _buffer;
223 } 223 }
224 _buffer = newBuffer; 224 _buffer = newBuffer;
225 _size = minimumSize; 225 _size = minimumSize;
226 } 226 }
227 } 227 }
228 228
229 } // namespace webrtc 229 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc ('k') | webrtc/modules/video_coding/main/source/media_optimization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698