| OLD | NEW | 
|    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  Loading... | 
|  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 | 
| OLD | NEW |