Chromium Code Reviews

Unified Diff: chrome/renderer/media/gles2_video_decode_context.h

Issue 4113006: Rename UploadToVideoFrame to ConvertToVideoFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/gpu/media/mft_angle_video_device.cc ('k') | chrome/renderer/media/gles2_video_decode_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/gles2_video_decode_context.h
diff --git a/chrome/renderer/media/gles2_video_decode_context.h b/chrome/renderer/media/gles2_video_decode_context.h
index 3b8c64981c748edc816b81c8be2f8e5faf0c86a0..3fe9889fb000cbd1a2a74b8d26f95ec6a21ea5f2 100644
--- a/chrome/renderer/media/gles2_video_decode_context.h
+++ b/chrome/renderer/media/gles2_video_decode_context.h
@@ -37,7 +37,7 @@ class Context;
// bwith the GPU process). An additional step of uploading the content to
// video memory is needed. Since VideoDecodeEngine is unaware of the video
// memory, this upload operation is performed by calling
-// UploadToVideoFrame().
+// ConvertToVideoFrame().
//
// After the content is uploaded to video memory, WebKit will see the video
// frame as textures and will perform the necessary operations for
@@ -86,9 +86,9 @@ class Gles2VideoDecodeContext : public media::VideoDecodeContext {
media::VideoFrame::Format format,
std::vector<scoped_refptr<media::VideoFrame> >* frames_out, Task* task);
virtual void ReleaseAllVideoFrames();
- virtual void UploadToVideoFrame(void* buffer,
- scoped_refptr<media::VideoFrame> frame,
- Task* task);
+ virtual void ConvertToVideoFrame(void* buffer,
+ scoped_refptr<media::VideoFrame> frame,
+ Task* task);
virtual void Destroy(Task* task);
// Accessor of the current mode of this decode context.
« no previous file with comments | « chrome/gpu/media/mft_angle_video_device.cc ('k') | chrome/renderer/media/gles2_video_decode_context.cc » ('j') | no next file with comments »

Powered by Google App Engine