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

Unified Diff: media/gpu/dxva_video_decode_accelerator_win.h

Issue 2105693003: Vp9 decoder mft support for AMD apu/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment update to reflect addition to the vpx vendor enum Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: media/gpu/dxva_video_decode_accelerator_win.h
diff --git a/media/gpu/dxva_video_decode_accelerator_win.h b/media/gpu/dxva_video_decode_accelerator_win.h
index 92eddf3d053abcaa6f9cd43a85811b183f33aa28..438dc1f2d320e6a47a91b4ca2432f3c08c376f3f 100644
--- a/media/gpu/dxva_video_decode_accelerator_win.h
+++ b/media/gpu/dxva_video_decode_accelerator_win.h
@@ -31,6 +31,7 @@
#include "base/threading/non_thread_safe.h"
#include "base/threading/thread.h"
#include "base/win/scoped_comptr.h"
+#include "gpu/command_buffer/service/gpu_preferences.h"
#include "media/filters/h264_parser.h"
#include "media/gpu/gpu_video_decode_accelerator_helpers.h"
#include "media/gpu/media_gpu_export.h"
@@ -491,7 +492,7 @@ class MEDIA_GPU_EXPORT DXVAVideoDecodeAccelerator
bool using_angle_device_;
// Enables experimental hardware acceleration for VP8/VP9 video decoding.
- const bool enable_accelerated_vpx_decode_;
+ const gpu::GpuPreferences::VpxDecodeVendors enable_accelerated_vpx_decode_;
// The media foundation H.264 decoder has problems handling changes like
// resolution change, bitrate change etc. If we reinitialize the decoder

Powered by Google App Engine
This is Rietveld 408576698