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

Unified Diff: media/gpu/BUILD.gn

Issue 2173153002: Reland2: H264 HW encode using MediaFoundation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added static_casts. 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
« no previous file with comments | « media/base/win/mf_helpers.cc ('k') | media/gpu/dxva_video_decode_accelerator_win.cc » ('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 57ec14a6dcf6cf56e0c3b1bc8041b51389ffb2c6..e8c264454dae52a164c9a23e1401fbb268aea355 100644
--- a/media/gpu/BUILD.gn
+++ b/media/gpu/BUILD.gn
@@ -337,6 +337,8 @@ component("gpu") {
"dxva_picture_buffer_win.h",
"dxva_video_decode_accelerator_win.cc",
"dxva_video_decode_accelerator_win.h",
+ "media_foundation_video_encode_accelerator_win.cc",
+ "media_foundation_video_encode_accelerator_win.h",
]
configs += [
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
@@ -344,7 +346,10 @@ component("gpu") {
"//third_party/khronos:khronos_headers",
]
public_deps += [ "//media/base/win" ]
- deps += [ "//third_party/angle:includes" ]
+ deps += [
+ "//third_party/angle:includes",
+ "//third_party/libyuv",
+ ]
libs += [
"d3d9.lib",
"d3d11.lib",
@@ -434,7 +439,7 @@ if (is_win || is_android || is_chromeos) {
}
}
-if (is_chromeos || is_mac) {
+if (is_chromeos || is_mac || is_win) {
test("video_encode_accelerator_unittest") {
deps = [
"//base",
« no previous file with comments | « media/base/win/mf_helpers.cc ('k') | media/gpu/dxva_video_decode_accelerator_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698