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

Unified Diff: media/gpu/BUILD.gn

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/media_switches.cc ('k') | media/gpu/d3d11_h264_accelerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/BUILD.gn
diff --git a/media/gpu/BUILD.gn b/media/gpu/BUILD.gn
index 2faa92b96928f963ab8158e73cc19d3a1a7bef2a..d3770829ba3171dc2e1489ac409a5547136f3255 100644
--- a/media/gpu/BUILD.gn
+++ b/media/gpu/BUILD.gn
@@ -238,13 +238,17 @@ component("gpu") {
}
}
- if (is_chromeos) {
+ if (is_chromeos || is_win) {
sources += [
"accelerated_video_decoder.h",
"h264_decoder.cc",
"h264_decoder.h",
"h264_dpb.cc",
"h264_dpb.h",
+ ]
+ }
+ if (is_chromeos) {
+ sources += [
"vp8_decoder.cc",
"vp8_decoder.h",
"vp8_picture.cc",
@@ -332,6 +336,10 @@ component("gpu") {
if (is_win) {
sources += [
+ "d3d11_h264_accelerator.cc",
+ "d3d11_h264_accelerator.h",
+ "d3d11_video_decode_accelerator_win.cc",
+ "d3d11_video_decode_accelerator_win.h",
"dxva_picture_buffer_win.cc",
"dxva_picture_buffer_win.h",
"dxva_video_decode_accelerator_win.cc",
« no previous file with comments | « media/base/media_switches.cc ('k') | media/gpu/d3d11_h264_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698