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

Unified Diff: media/gpu/BUILD.gn

Issue 2058413003: H264 HW encode using MediaFoundation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wuchengli@ and ananta@ comments. 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/BUILD.gn
diff --git a/media/gpu/BUILD.gn b/media/gpu/BUILD.gn
index b928d0b960e87724a33724b5768156f394745526..18f7df032499122befec0f489014dc85263441ac 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",
@@ -432,7 +437,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",

Powered by Google App Engine
This is Rietveld 408576698