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

Issue 1801343002: Revert of H264 HW encode using VideoToolbox (Closed)

Created:
4 years, 9 months ago by dewittj
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, hbos_chromium, jam, mcasas+watch_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org, tkchin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of H264 HW encode using VideoToolbox (patchset #22 id:620001 of https://codereview.chromium.org/1636083003/ ) Reason for revert: This probably breaks Mac compile: https://build.chromium.org/p/chromium/builders/Mac/builds/13208/steps/compile/logs/stdio FAILED: /b/build/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/content/common/gpu/media/jpeg_decode_accelerator_unittest.jpeg_decode_accelerator_unittest.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=263324-1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_TOPCHROME_MD=1 -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DGTEST_HAS_POSIX_RE=0 -DGTEST_LANG_CXX11=0 -DMOJO_USE_SYSTEM_IMPL -DUNIT_TEST -DGTEST_HAS_RTTI=0 -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DMESA_EGL_NO_X11_HEADERS -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../../third_party/libva -I../../third_party/libyuv -I../../third_party/khronos -I../../gpu -I../.. -I../../skia/config -Igen/angle -I../../third_party/WebKit/Source -I../../third_party/opus/src/include -I../../testing/gtest/include -I../../third_party/libyuv/include -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/include/utils/mac -I../../skia/ext -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common -I../../third_party/mesa/src/include -I../../third_party/WebKit -isysroot /Applications/Xcode5.1.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -O2 -gdwarf-2 -fvisibility=hidden -Werror -mmacosx-version-min=10.6 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wpartial-availability -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -Xclang -load -Xclang /b/build/slave/Mac/build/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansion -fcolor-diagnostics -fno-strict-aliasing -c ../../content/common/gpu/media/jpeg_decode_accelerator_unittest.cc -o obj/content/common/gpu/media/jpeg_decode_accelerator_unittest.jpeg_decode_accelerator_unittest.o ../../content/common/gpu/media/jpeg_decode_accelerator_unittest.cc:152:2: error: The JpegDecodeAccelerator is not supported on this platform. #error The JpegDecodeAccelerator is not supported on this platform. ^ 1 error generated. ninja: build stopped: subcommand failed. Original issue's description: > H264 HW encode using VideoToolbox > > 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 > > Committed: https://crrev.com/3956fa1cac34dd5682c271d77463accdd7191102 > Cr-Commit-Position: refs/heads/master@{#381286} TBR=sandersd@chromium.org,jfroy@chromium.org,mcasas@chromium.org,miu@chromium.org,posciak@chromium.org,dalecurtis@chromium.org,avi@chromium.org,thakis@chromium.org,emircan@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=500605 Committed: https://crrev.com/36137188536e9e45a0033fe9edd0680a0dc267f6 Cr-Commit-Position: refs/heads/master@{#381312}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -1191 lines) Patch
M build/gn_migration.gypi View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/test/data/extensions/api_test/cast_streaming/end_to_end_sender.js View 1 chunk +0 lines, -1 line 0 comments Download
M content/common/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.cc View 3 chunks +0 lines, -14 lines 0 comments Download
M content/common/gpu/media/video_encode_accelerator_unittest.cc View 7 chunks +1 line, -38 lines 0 comments Download
D content/common/gpu/media/vt_video_encode_accelerator_mac.h View 1 chunk +0 lines, -142 lines 0 comments Download
D content/common/gpu/media/vt_video_encode_accelerator_mac.cc View 1 chunk +0 lines, -552 lines 0 comments Download
M content/content_common.gypi View 3 chunks +3 lines, -5 lines 0 comments Download
M content/content_tests.gypi View 1 chunk +1 line, -2 lines 0 comments Download
M media/base/mac/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M media/base/mac/videotoolbox_glue.h View 3 chunks +5 lines, -10 lines 0 comments Download
M media/base/mac/videotoolbox_glue.mm View 6 chunks +0 lines, -9 lines 0 comments Download
D media/base/mac/videotoolbox_helpers.h View 1 chunk +0 lines, -69 lines 0 comments Download
D media/base/mac/videotoolbox_helpers.cc View 1 chunk +0 lines, -304 lines 0 comments Download
M media/cast/sender/h264_vt_encoder.h View 2 chunks +5 lines, -1 line 0 comments Download
M media/cast/sender/h264_vt_encoder.cc View 8 chunks +209 lines, -28 lines 0 comments Download
M media/cast/sender/video_encoder.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/media.gyp View 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
dewittj
Created Revert of H264 HW encode using VideoToolbox
4 years, 9 months ago (2016-03-15 21:05:38 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801343002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801343002/1
4 years, 9 months ago (2016-03-15 21:05:57 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-15 21:07:18 UTC) #4
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 21:09:04 UTC) #6
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/36137188536e9e45a0033fe9edd0680a0dc267f6
Cr-Commit-Position: refs/heads/master@{#381312}

Powered by Google App Engine
This is Rietveld 408576698