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

Unified Diff: media/filters/video_decoder_impl.h

Issue 1226001: Merged VideoSurface, VideoFrame and VideoFrameImpl in VideoFrame. (Closed)
Patch Set: Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/video_decode_engine.h ('k') | media/filters/video_decoder_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_decoder_impl.h
diff --git a/media/filters/video_decoder_impl.h b/media/filters/video_decoder_impl.h
index 959b5b0cd1031e3b9366579475b408a7fc10de82..7f34912c6d5deee3dd2b44005c869623d12d1e15 100644
--- a/media/filters/video_decoder_impl.h
+++ b/media/filters/video_decoder_impl.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,6 +7,7 @@
#include "base/time.h"
#include "media/base/pts_heap.h"
+#include "media/base/video_frame.h"
#include "media/filters/decoder_base.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
@@ -60,14 +61,14 @@ class VideoDecoderImpl : public DecoderBase<VideoDecoder, VideoFrame> {
virtual void DoSeek(base::TimeDelta time, Task* done_cb);
virtual void DoDecode(Buffer* buffer, Task* done_cb);
- virtual bool EnqueueVideoFrame(VideoSurface::Format surface_format,
+ virtual bool EnqueueVideoFrame(VideoFrame::Format surface_format,
const TimeTuple& time,
const AVFrame* frame);
// Create an empty video frame and queue it.
virtual void EnqueueEmptyFrame();
- virtual void CopyPlane(size_t plane, const VideoSurface& surface,
+ virtual void CopyPlane(size_t plane, const VideoFrame& video_frame,
const AVFrame* frame);
// Methods that pickup after the decode engine has finished its action.
« no previous file with comments | « media/filters/video_decode_engine.h ('k') | media/filters/video_decoder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698