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

Side by Side Diff: media/gpu/gpu_video_decode_accelerator_factory.h

Issue 2534313004: Add prototype D3D11VideoDecodeAccelerator. (Closed)
Patch Set: rename d3d11_video_decoder.cc and other changes Created 4 years 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ 5 #ifndef MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_
6 #define MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ 6 #define MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const gpu::GpuPreferences& gpu_preferences); 79 const gpu::GpuPreferences& gpu_preferences);
80 80
81 private: 81 private:
82 GpuVideoDecodeAcceleratorFactory( 82 GpuVideoDecodeAcceleratorFactory(
83 const GetGLContextCallback& get_gl_context_cb, 83 const GetGLContextCallback& get_gl_context_cb,
84 const MakeGLContextCurrentCallback& make_context_current_cb, 84 const MakeGLContextCurrentCallback& make_context_current_cb,
85 const BindGLImageCallback& bind_image_cb, 85 const BindGLImageCallback& bind_image_cb,
86 const GetGLES2DecoderCallback& get_gles2_decoder_cb); 86 const GetGLES2DecoderCallback& get_gles2_decoder_cb);
87 87
88 #if defined(OS_WIN) 88 #if defined(OS_WIN)
89 std::unique_ptr<VideoDecodeAccelerator> CreateD3D11VDA(
90 const gpu::GpuDriverBugWorkarounds& workarounds,
91 const gpu::GpuPreferences& gpu_preferences) const;
89 std::unique_ptr<VideoDecodeAccelerator> CreateDXVAVDA( 92 std::unique_ptr<VideoDecodeAccelerator> CreateDXVAVDA(
90 const gpu::GpuDriverBugWorkarounds& workarounds, 93 const gpu::GpuDriverBugWorkarounds& workarounds,
91 const gpu::GpuPreferences& gpu_preferences) const; 94 const gpu::GpuPreferences& gpu_preferences) const;
92 #endif 95 #endif
93 #if defined(OS_CHROMEOS) && defined(USE_V4L2_CODEC) 96 #if defined(OS_CHROMEOS) && defined(USE_V4L2_CODEC)
94 std::unique_ptr<VideoDecodeAccelerator> CreateV4L2VDA( 97 std::unique_ptr<VideoDecodeAccelerator> CreateV4L2VDA(
95 const gpu::GpuDriverBugWorkarounds& workarounds, 98 const gpu::GpuDriverBugWorkarounds& workarounds,
96 const gpu::GpuPreferences& gpu_preferences) const; 99 const gpu::GpuPreferences& gpu_preferences) const;
97 std::unique_ptr<VideoDecodeAccelerator> CreateV4L2SVDA( 100 std::unique_ptr<VideoDecodeAccelerator> CreateV4L2SVDA(
98 const gpu::GpuDriverBugWorkarounds& workarounds, 101 const gpu::GpuDriverBugWorkarounds& workarounds,
(...skipping 21 matching lines...) Expand all
120 const GetGLES2DecoderCallback get_gles2_decoder_cb_; 123 const GetGLES2DecoderCallback get_gles2_decoder_cb_;
121 124
122 base::ThreadChecker thread_checker_; 125 base::ThreadChecker thread_checker_;
123 126
124 DISALLOW_IMPLICIT_CONSTRUCTORS(GpuVideoDecodeAcceleratorFactory); 127 DISALLOW_IMPLICIT_CONSTRUCTORS(GpuVideoDecodeAcceleratorFactory);
125 }; 128 };
126 129
127 } // namespace media 130 } // namespace media
128 131
129 #endif // MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ 132 #endif // MEDIA_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_
OLDNEW
« no previous file with comments | « media/gpu/d3d11_video_decode_accelerator_win.cc ('k') | media/gpu/gpu_video_decode_accelerator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698