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

Side by Side Diff: content/common/gpu/media/mft_angle_video_device.h

Issue 6825055: Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad indentation, rebase Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/utils.cc ('k') | media/tools/mfdecoder/main.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_GPU_MEDIA_MFT_ANGLE_VIDEO_DEVICE_H_ 5 #ifndef CONTENT_GPU_MEDIA_MFT_ANGLE_VIDEO_DEVICE_H_
6 #define CONTENT_GPU_MEDIA_MFT_ANGLE_VIDEO_DEVICE_H_ 6 #define CONTENT_GPU_MEDIA_MFT_ANGLE_VIDEO_DEVICE_H_
7 7
8 #include "base/scoped_comptr_win.h" 8 #include "base/win/scoped_comptr.h"
9 #include "content/common/gpu/media/gpu_video_device.h" 9 #include "content/common/gpu/media/gpu_video_device.h"
10 10
11 struct IDirect3DDevice9; 11 struct IDirect3DDevice9;
12 extern "C" const GUID IID_IDirect3DDevice9; 12 extern "C" const GUID IID_IDirect3DDevice9;
13 13
14 namespace media { 14 namespace media {
15 class VideoFrame; 15 class VideoFrame;
16 } // namespace media 16 } // namespace media
17 17
18 // This class is used to provide hardware video device, video frames and 18 // This class is used to provide hardware video device, video frames and
(...skipping 10 matching lines...) Expand all
29 virtual bool CreateVideoFrameFromGlTextures( 29 virtual bool CreateVideoFrameFromGlTextures(
30 size_t width, size_t height, media::VideoFrame::Format format, 30 size_t width, size_t height, media::VideoFrame::Format format,
31 const std::vector<media::VideoFrame::GlTexture>& textures, 31 const std::vector<media::VideoFrame::GlTexture>& textures,
32 scoped_refptr<media::VideoFrame>* frame); 32 scoped_refptr<media::VideoFrame>* frame);
33 virtual void ReleaseVideoFrame( 33 virtual void ReleaseVideoFrame(
34 const scoped_refptr<media::VideoFrame>& frame); 34 const scoped_refptr<media::VideoFrame>& frame);
35 virtual bool ConvertToVideoFrame(void* buffer, 35 virtual bool ConvertToVideoFrame(void* buffer,
36 scoped_refptr<media::VideoFrame> frame); 36 scoped_refptr<media::VideoFrame> frame);
37 37
38 private: 38 private:
39 ScopedComPtr<IDirect3DDevice9, &IID_IDirect3DDevice9> device_; 39 base::win::ScopedComPtr<IDirect3DDevice9, &IID_IDirect3DDevice9> device_;
40 }; 40 };
41 41
42 #endif // CONTENT_GPU_MEDIA_MFT_ANGLE_VIDEO_DEVICE_H_ 42 #endif // CONTENT_GPU_MEDIA_MFT_ANGLE_VIDEO_DEVICE_H_
OLDNEW
« no previous file with comments | « chrome_frame/utils.cc ('k') | media/tools/mfdecoder/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698