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

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

Issue 1417283007: modules/video_coding refactorings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix the other copy of the mock include header Created 5 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
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
11 #include "webrtc/modules/video_coding/main/interface/video_coding_defines.h" 11 #include "webrtc/modules/video_coding/include/video_coding_defines.h"
12 #include "webrtc/modules/video_coding/main/source/encoded_frame.h" 12 #include "webrtc/modules/video_coding/encoded_frame.h"
13 #include "webrtc/modules/video_coding/main/source/generic_encoder.h" 13 #include "webrtc/modules/video_coding/generic_encoder.h"
14 #include "webrtc/modules/video_coding/main/source/jitter_buffer_common.h" 14 #include "webrtc/modules/video_coding/jitter_buffer_common.h"
15 15
16 namespace webrtc { 16 namespace webrtc {
17 17
18 VCMEncodedFrame::VCMEncodedFrame() 18 VCMEncodedFrame::VCMEncodedFrame()
19 : webrtc::EncodedImage(), 19 : webrtc::EncodedImage(),
20 _renderTimeMs(-1), 20 _renderTimeMs(-1),
21 _payloadType(0), 21 _payloadType(0),
22 _missingFrame(false), 22 _missingFrame(false),
23 _codec(kVideoCodecUnknown), 23 _codec(kVideoCodecUnknown),
24 _fragmentation(), 24 _fragmentation(),
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // copy old data 226 // copy old data
227 memcpy(newBuffer, _buffer, _size); 227 memcpy(newBuffer, _buffer, _size);
228 delete [] _buffer; 228 delete [] _buffer;
229 } 229 }
230 _buffer = newBuffer; 230 _buffer = newBuffer;
231 _size = minimumSize; 231 _size = minimumSize;
232 } 232 }
233 } 233 }
234 234
235 } // namespace webrtc 235 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/encoded_frame.h ('k') | webrtc/modules/video_coding/fec_tables_xor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698