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

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

Issue 2187673003: Don't mark VP9 as supported for hardware decoding if it's blacklisted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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
« no previous file with comments | « no previous file | media/gpu/dxva_video_decode_accelerator_win.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ 5 #ifndef MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_
6 #define MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ 6 #define MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_
7 7
8 #include <d3d11.h> 8 #include <d3d11.h>
9 #include <d3d9.h> 9 #include <d3d9.h>
10 #include <initguid.h> 10 #include <initguid.h>
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void ReusePictureBuffer(int32_t picture_buffer_id) override; 123 void ReusePictureBuffer(int32_t picture_buffer_id) override;
124 void Flush() override; 124 void Flush() override;
125 void Reset() override; 125 void Reset() override;
126 void Destroy() override; 126 void Destroy() override;
127 bool TryToSetupDecodeOnSeparateThread( 127 bool TryToSetupDecodeOnSeparateThread(
128 const base::WeakPtr<Client>& decode_client, 128 const base::WeakPtr<Client>& decode_client,
129 const scoped_refptr<base::SingleThreadTaskRunner>& decode_task_runner) 129 const scoped_refptr<base::SingleThreadTaskRunner>& decode_task_runner)
130 override; 130 override;
131 GLenum GetSurfaceInternalFormat() const override; 131 GLenum GetSurfaceInternalFormat() const override;
132 132
133 static VideoDecodeAccelerator::SupportedProfiles GetSupportedProfiles(); 133 static VideoDecodeAccelerator::SupportedProfiles GetSupportedProfiles(
134 const gpu::GpuPreferences& gpu_preferences);
134 135
135 // Preload dlls required for decoding. 136 // Preload dlls required for decoding.
136 static void PreSandboxInitialization(); 137 static void PreSandboxInitialization();
137 138
138 private: 139 private:
139 friend class DXVAPictureBuffer; 140 friend class DXVAPictureBuffer;
140 friend class EGLStreamCopyPictureBuffer; 141 friend class EGLStreamCopyPictureBuffer;
141 friend class EGLStreamPictureBuffer; 142 friend class EGLStreamPictureBuffer;
142 friend class PbufferPictureBuffer; 143 friend class PbufferPictureBuffer;
143 typedef void* EGLConfig; 144 typedef void* EGLConfig;
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 512
512 // Function pointer for the MFCreateDXGIDeviceManager API. 513 // Function pointer for the MFCreateDXGIDeviceManager API.
513 static CreateDXGIDeviceManager create_dxgi_device_manager_; 514 static CreateDXGIDeviceManager create_dxgi_device_manager_;
514 515
515 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator); 516 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator);
516 }; 517 };
517 518
518 } // namespace media 519 } // namespace media
519 520
520 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ 521 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | media/gpu/dxva_video_decode_accelerator_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698