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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp9/vp9_frame_buffer_pool.h

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 11
12 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_FRAME_BUFFER_POOL_H_ 12 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_FRAME_BUFFER_POOL_H_
13 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_FRAME_BUFFER_POOL_H_ 13 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_FRAME_BUFFER_POOL_H_
14 14
15 #include <vector> 15 #include <vector>
16 16
17 #include "webrtc/base/basictypes.h" 17 #include "webrtc/rtc_base/basictypes.h"
18 #include "webrtc/base/buffer.h" 18 #include "webrtc/rtc_base/buffer.h"
19 #include "webrtc/base/criticalsection.h" 19 #include "webrtc/rtc_base/criticalsection.h"
20 #include "webrtc/base/refcount.h" 20 #include "webrtc/rtc_base/refcount.h"
21 #include "webrtc/base/scoped_ref_ptr.h" 21 #include "webrtc/rtc_base/scoped_ref_ptr.h"
22 22
23 struct vpx_codec_ctx; 23 struct vpx_codec_ctx;
24 struct vpx_codec_frame_buffer; 24 struct vpx_codec_frame_buffer;
25 25
26 namespace webrtc { 26 namespace webrtc {
27 27
28 // This memory pool is used to serve buffers to libvpx for decoding purposes in 28 // This memory pool is used to serve buffers to libvpx for decoding purposes in
29 // VP9, which is set up in InitializeVPXUsePool. After the initialization any 29 // VP9, which is set up in InitializeVPXUsePool. After the initialization any
30 // time libvpx wants to decode a frame it will use buffers provided and released 30 // time libvpx wants to decode a frame it will use buffers provided and released
31 // through VpxGetFrameBuffer and VpxReleaseFrameBuffer. 31 // through VpxGetFrameBuffer and VpxReleaseFrameBuffer.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // would have to be by application code. Decoded frames should not be 115 // would have to be by application code. Decoded frames should not be
116 // referenced for longer than necessary. If we allow ~60 additional buffers 116 // referenced for longer than necessary. If we allow ~60 additional buffers
117 // then the application has ~1 second to e.g. render each frame of a 60 fps 117 // then the application has ~1 second to e.g. render each frame of a 60 fps
118 // video. 118 // video.
119 static const size_t max_num_buffers_ = 68; 119 static const size_t max_num_buffers_ = 68;
120 }; 120 };
121 121
122 } // namespace webrtc 122 } // namespace webrtc
123 123
124 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_FRAME_BUFFER_POOL_H_ 124 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_VP9_FRAME_BUFFER_POOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698