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

Side by Side Diff: chrome/gpu/media/gpu_video_device.h

Issue 4113006: Rename UploadToVideoFrame to ConvertToVideoFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/gpu/media/fake_gl_video_device.cc ('k') | chrome/gpu/media/mft_angle_video_device.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_GPU_MEDIA_GPU_VIDEO_DEVICE_H_ 5 #ifndef CHROME_GPU_MEDIA_GPU_VIDEO_DEVICE_H_
6 #define CHROME_GPU_MEDIA_GPU_VIDEO_DEVICE_H_ 6 #define CHROME_GPU_MEDIA_GPU_VIDEO_DEVICE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "media/base/video_frame.h" 10 #include "media/base/video_frame.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 scoped_refptr<media::VideoFrame>* frame) = 0; 42 scoped_refptr<media::VideoFrame>* frame) = 0;
43 43
44 // Release VideoFrame generated. 44 // Release VideoFrame generated.
45 virtual void ReleaseVideoFrame( 45 virtual void ReleaseVideoFrame(
46 const scoped_refptr<media::VideoFrame>& frame) = 0; 46 const scoped_refptr<media::VideoFrame>& frame) = 0;
47 47
48 // Upload a device specific buffer to a VideoFrame object that can be used in 48 // Upload a device specific buffer to a VideoFrame object that can be used in
49 // the GPU process. 49 // the GPU process.
50 // 50 //
51 // Return true if successful. 51 // Return true if successful.
52 // TODO(hclam): Rename this to ConvertToVideoFrame(). 52 virtual bool ConvertToVideoFrame(void* buffer,
53 virtual bool UploadToVideoFrame(void* buffer, 53 scoped_refptr<media::VideoFrame> frame) = 0;
54 scoped_refptr<media::VideoFrame> frame) = 0;
55 }; 54 };
56 55
57 #endif // CHROME_GPU_MEDIA_GPU_VIDEO_DEVICE_H_ 56 #endif // CHROME_GPU_MEDIA_GPU_VIDEO_DEVICE_H_
OLDNEW
« no previous file with comments | « chrome/gpu/media/fake_gl_video_device.cc ('k') | chrome/gpu/media/mft_angle_video_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698