summaryrefslogtreecommitdiffstats
path: root/media/base/video_frame_pool.cc
diff options
context:
space:
mode:
authordongseong.hwang <dongseong.hwang@intel.com>2015-07-13 09:01:29 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-13 16:01:56 +0000
commit11edd34b171b78462c1a27ac6587d977833122ea (patch)
treec7496bf802d36cb29c6fa4e5351c08af48680232 /media/base/video_frame_pool.cc
parentb50a7cbab0df3cc66f1881dcb08e4cef18f96835 (diff)
downloadchromium_src-11edd34b171b78462c1a27ac6587d977833122ea.zip
chromium_src-11edd34b171b78462c1a27ac6587d977833122ea.tar.gz
chromium_src-11edd34b171b78462c1a27ac6587d977833122ea.tar.bz2
media: extract Format and ColorSpace enum from VideoFrame.
These enums are used in IPC as well as many classes. It's too big to include video_frame.h for only these enums. BUG=489744 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1165003008 Cr-Commit-Position: refs/heads/master@{#338514}
Diffstat (limited to 'media/base/video_frame_pool.cc')
-rw-r--r--media/base/video_frame_pool.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/base/video_frame_pool.cc b/media/base/video_frame_pool.cc
index ac02134..4951941 100644
--- a/media/base/video_frame_pool.cc
+++ b/media/base/video_frame_pool.cc
@@ -20,7 +20,7 @@ class VideoFramePool::PoolImpl
// Returns a frame from the pool that matches the specified
// parameters or creates a new frame if no suitable frame exists in
// the pool. The pool is drained if no matching frame is found.
- scoped_refptr<VideoFrame> CreateFrame(VideoFrame::Format format,
+ scoped_refptr<VideoFrame> CreateFrame(VideoPixelFormat format,
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
const gfx::Size& natural_size,
@@ -56,7 +56,7 @@ VideoFramePool::PoolImpl::~PoolImpl() {
}
scoped_refptr<VideoFrame> VideoFramePool::PoolImpl::CreateFrame(
- VideoFrame::Format format,
+ VideoPixelFormat format,
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
const gfx::Size& natural_size,
@@ -115,7 +115,7 @@ VideoFramePool::~VideoFramePool() {
}
scoped_refptr<VideoFrame> VideoFramePool::CreateFrame(
- VideoFrame::Format format,
+ VideoPixelFormat format,
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
const gfx::Size& natural_size,