OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
6 #define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 6 #define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 gfx::BufferUsage usage) override; | 74 gfx::BufferUsage usage) override; |
75 | 75 |
76 bool ShouldUseGpuMemoryBuffersForVideoFrames() const override; | 76 bool ShouldUseGpuMemoryBuffersForVideoFrames() const override; |
77 unsigned ImageTextureTarget() override; | 77 unsigned ImageTextureTarget() override; |
78 media::VideoPixelFormat VideoFrameOutputFormat() override; | 78 media::VideoPixelFormat VideoFrameOutputFormat() override; |
79 scoped_ptr<media::GpuVideoAcceleratorFactories::ScopedGLContextLock> | 79 scoped_ptr<media::GpuVideoAcceleratorFactories::ScopedGLContextLock> |
80 GetGLContextLock() override; | 80 GetGLContextLock() override; |
81 scoped_ptr<base::SharedMemory> CreateSharedMemory(size_t size) override; | 81 scoped_ptr<base::SharedMemory> CreateSharedMemory(size_t size) override; |
82 scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() override; | 82 scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() override; |
83 | 83 |
| 84 media::VideoDecodeAccelerator::Capabilities |
| 85 GetVideoDecodeAcceleratorCapabilities() override; |
84 std::vector<media::VideoDecodeAccelerator::SupportedProfile> | 86 std::vector<media::VideoDecodeAccelerator::SupportedProfile> |
85 GetVideoDecodeAcceleratorSupportedProfiles() override; | 87 GetVideoDecodeAcceleratorSupportedProfiles() override; |
86 std::vector<media::VideoEncodeAccelerator::SupportedProfile> | 88 std::vector<media::VideoEncodeAccelerator::SupportedProfile> |
87 GetVideoEncodeAcceleratorSupportedProfiles() override; | 89 GetVideoEncodeAcceleratorSupportedProfiles() override; |
88 | 90 |
89 void ReleaseContextProvider(); | 91 void ReleaseContextProvider(); |
90 | 92 |
91 ~RendererGpuVideoAcceleratorFactories() override; | 93 ~RendererGpuVideoAcceleratorFactories() override; |
92 | 94 |
93 private: | 95 private: |
(...skipping 30 matching lines...) Expand all Loading... |
124 | 126 |
125 // For sending requests to allocate shared memory in the Browser process. | 127 // For sending requests to allocate shared memory in the Browser process. |
126 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 128 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
127 | 129 |
128 DISALLOW_COPY_AND_ASSIGN(RendererGpuVideoAcceleratorFactories); | 130 DISALLOW_COPY_AND_ASSIGN(RendererGpuVideoAcceleratorFactories); |
129 }; | 131 }; |
130 | 132 |
131 } // namespace content | 133 } // namespace content |
132 | 134 |
133 #endif // CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 135 #endif // CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
OLD | NEW |