summaryrefslogtreecommitdiffstats
path: root/chrome/gpu/gpu_video_decoder.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-05 08:34:49 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-05 08:34:49 +0000
commitc3c9af1cbf896627bc9dfcc224ee83c23b79b6be (patch)
treeeb2170260e899732a17df200d79f3fe1e7c1fff2 /chrome/gpu/gpu_video_decoder.h
parentbfe0d724ef301309eceb431767658f4cbe7b08c1 (diff)
downloadchromium_src-c3c9af1cbf896627bc9dfcc224ee83c23b79b6be.zip
chromium_src-c3c9af1cbf896627bc9dfcc224ee83c23b79b6be.tar.gz
chromium_src-c3c9af1cbf896627bc9dfcc224ee83c23b79b6be.tar.bz2
Rename all FillThisBuffer and EmptyThisBuffer to something more meaningful
The FillThisBuffer and EmptyThisBuffer names are very confusing. Anyone new working on the code probably won't understand the code at all. I'm changing the names to something more meaningful, which state the actual action taken by the methods. It is also easier to tell whether the method is for input pin or for output pin by their names. Review URL: http://codereview.chromium.org/3201013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/gpu/gpu_video_decoder.h')
-rw-r--r--chrome/gpu/gpu_video_decoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/gpu/gpu_video_decoder.h b/chrome/gpu/gpu_video_decoder.h
index d47085a..728222c 100644
--- a/chrome/gpu/gpu_video_decoder.h
+++ b/chrome/gpu/gpu_video_decoder.h
@@ -45,8 +45,8 @@ class GpuVideoDecoder
virtual void OnSeekComplete();
virtual void OnError();
virtual void OnFormatChange(VideoStreamInfo stream_info);
- virtual void OnEmptyBufferCallback(scoped_refptr<Buffer> buffer);
- virtual void OnFillBufferCallback(scoped_refptr<VideoFrame> frame);
+ virtual void ProduceVideoSample(scoped_refptr<Buffer> buffer);
+ virtual void ConsumeVideoFrame(scoped_refptr<VideoFrame> frame);
GpuVideoDecoder(const GpuVideoDecoderInfoParam* param,
GpuChannel* channel_,