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

Side by Side Diff: media/base/video_frame_pool.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « media/base/video_frame_metadata.h ('k') | media/base/video_renderer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_VIDEO_FRAME_POOL_H_ 5 #ifndef MEDIA_BASE_VIDEO_FRAME_POOL_H_
6 #define MEDIA_BASE_VIDEO_FRAME_POOL_H_ 6 #define MEDIA_BASE_VIDEO_FRAME_POOL_H_
7 7
8 #include "base/macros.h"
8 #include "media/base/media_export.h" 9 #include "media/base/media_export.h"
9 #include "media/base/video_frame.h" 10 #include "media/base/video_frame.h"
10 11
11 namespace media { 12 namespace media {
12 13
13 // Simple VideoFrame pool used to avoid unnecessarily allocating and destroying 14 // Simple VideoFrame pool used to avoid unnecessarily allocating and destroying
14 // VideoFrame objects. The pool manages the memory for the VideoFrame 15 // VideoFrame objects. The pool manages the memory for the VideoFrame
15 // returned by CreateFrame(). When one of these VideoFrames is destroyed, 16 // returned by CreateFrame(). When one of these VideoFrames is destroyed,
16 // the memory is returned to the pool for use by a subsequent CreateFrame() 17 // the memory is returned to the pool for use by a subsequent CreateFrame()
17 // call. The memory in the pool is retained for the life of the 18 // call. The memory in the pool is retained for the life of the
(...skipping 25 matching lines...) Expand all
43 private: 44 private:
44 class PoolImpl; 45 class PoolImpl;
45 scoped_refptr<PoolImpl> pool_; 46 scoped_refptr<PoolImpl> pool_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(VideoFramePool); 48 DISALLOW_COPY_AND_ASSIGN(VideoFramePool);
48 }; 49 };
49 50
50 } // namespace media 51 } // namespace media
51 52
52 #endif // MEDIA_BASE_VIDEO_FRAME_POOL_H_ 53 #endif // MEDIA_BASE_VIDEO_FRAME_POOL_H_
OLDNEW
« no previous file with comments | « media/base/video_frame_metadata.h ('k') | media/base/video_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698