summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authoremircan <emircan@chromium.org>2016-03-15 18:02:17 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-16 01:03:37 +0000
commitecfe5eced92b99fb8dc2351cd2afd533c2bfb953 (patch)
tree787ad397495412bc33ff73de0564d8a131e1649d /build
parentb5841b612f8c01518fc64b81ab31210d9bdc7abb (diff)
downloadchromium_src-ecfe5eced92b99fb8dc2351cd2afd533c2bfb953.zip
chromium_src-ecfe5eced92b99fb8dc2351cd2afd533c2bfb953.tar.gz
chromium_src-ecfe5eced92b99fb8dc2351cd2afd533c2bfb953.tar.bz2
Reland: H264 HW encode using VideoToolbox
Reland CL: https://codereview.chromium.org/1636083003/ This CL adds VTVideoEncodeAccelerator which enables H264 encode support using VideoToolbox on mac. Also, it includes a refactor of common VideoToolbox classes under video_toolbox_helpers.*. Note that, this is the first CL and H264 codec is still behind a flag. More patches will follow adding additional codec profiles and support for bitrate adaptations. Design Doc: https://docs.google.com/document/d/1oUTyZdNh8QstKRds-8wHEF_hqKryMiUpEOW8M57sUGU/edit?usp=sharing BUG=500605 TEST= Tested AppRTC loopback with Chrome flag "--enable-webrtc-hw-h264-encoding" on https://apprtc.appspot.com/?debug=loopback&vsc=h264 TBR=avi@chromium.org, jfroy@chromium.org, sandersd@chromium.org, thakis@chromium.org, posciak@chromium.org, miu@chromium.org Review URL: https://codereview.chromium.org/1805723002 Cr-Commit-Position: refs/heads/master@{#381373}
Diffstat (limited to 'build')
-rw-r--r--build/gn_migration.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/gn_migration.gypi b/build/gn_migration.gypi
index ef543ea..05bd91d 100644
--- a/build/gn_migration.gypi
+++ b/build/gn_migration.gypi
@@ -682,6 +682,10 @@
['chromeos==1', {
'dependencies': [
'../content/content_shell_and_tests.gyp:jpeg_decode_accelerator_unittest',
+ ],
+ }],
+ ['chromeos==1 or OS=="mac"', {
+ 'dependencies': [
'../content/content_shell_and_tests.gyp:video_encode_accelerator_unittest',
],
}],