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

Issue 2463313002: Add a webrtc{en,de}coderfactory implementation for VideoToolbox (Closed)

Created:
4 years, 1 month ago by kthelgason
Modified:
4 years, 1 month ago
Reviewers:
magjed_webrtc, holmer, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add a webrtc{en,de}coderfactory implementation for VideoToolbox This CL removes the coupling of the VideoToolbox h264 implementation to the generic h264 code. The files have been moved into sdb/obj/Framework and all dependency on them has been removed from the rest of WebRTC. We now add it as an external encoder via a factory supplied to the CreatePeerConnectionFactory call. This also brings the iOS implementation closer to what we do on Android for MediaCodec. BUG=webrtc:6619 Committed: https://crrev.com/6a5047dad31f14f53dd9f8bc1ecde19e1dede2e4 Cr-Commit-Position: refs/heads/master@{#14953}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -2019 lines) Patch
M webrtc/modules/BUILD.gn View 1 chunk +1 line, -4 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 chunks +0 lines, -59 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264.cc View 4 chunks +0 lines, -28 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264.gypi View 1 2 chunks +0 lines, -45 lines 0 comments Download
D webrtc/modules/video_coding/codecs/h264/h264_objc.mm View 1 1 chunk +0 lines, -32 lines 0 comments Download
D webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.h View 1 chunk +0 lines, -62 lines 0 comments Download
D webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc View 1 chunk +0 lines, -281 lines 0 comments Download
D webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.h View 1 chunk +0 lines, -98 lines 0 comments Download
D webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.mm View 1 chunk +0 lines, -663 lines 0 comments Download
D webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h View 1 chunk +0 lines, -111 lines 0 comments Download
D webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc View 1 chunk +0 lines, -397 lines 0 comments Download
D webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc View 1 chunk +0 lines, -195 lines 0 comments Download
M webrtc/sdk/BUILD.gn View 6 chunks +60 lines, -3 lines 0 comments Download
M webrtc/sdk/DEPS View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm View 1 2 chunks +8 lines, -1 line 0 comments Download
A + webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_decoder.h View 2 chunks +3 lines, -6 lines 0 comments Download
A + webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_decoder.cc View 3 chunks +2 lines, -6 lines 0 comments Download
A + webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h View 3 chunks +3 lines, -6 lines 0 comments Download
A + webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm View 3 chunks +2 lines, -6 lines 0 comments Download
A + webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu.h View 2 chunks +3 lines, -6 lines 0 comments Download
A + webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu.cc View 2 chunks +1 line, -5 lines 0 comments Download
A + webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu_unittest.cc View 2 chunks +1 line, -5 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h View 1 chunk +50 lines, -0 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc View 1 1 chunk +103 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
kthelgason
4 years, 1 month ago (2016-11-01 08:57:25 UTC) #2
kthelgason
added holmer@ as an owner
4 years, 1 month ago (2016-11-01 09:08:50 UTC) #6
magjed_webrtc
Thanks a lot, you fixed it fast and the CL is very clean! https://codereview.webrtc.org/2463313002/diff/1/webrtc/DEPS File ...
4 years, 1 month ago (2016-11-01 14:00:21 UTC) #9
kthelgason
Thanks for the review magjed@. I think I addressed all of your comments. Care to ...
4 years, 1 month ago (2016-11-01 15:14:31 UTC) #10
magjed_webrtc
lgtm
4 years, 1 month ago (2016-11-01 15:28:21 UTC) #11
magjed_webrtc
holmer - ping. I would like to get this in soon since it's blocking other ...
4 years, 1 month ago (2016-11-03 13:32:04 UTC) #12
stefan-webrtc
lgtm
4 years, 1 month ago (2016-11-07 13:44:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2463313002/20001
4 years, 1 month ago (2016-11-07 13:48:06 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-07 15:26:03 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/6a5047dad31f14f53dd9f8bc1ecde19e1dede2e4 Cr-Commit-Position: refs/heads/master@{#14953}
4 years, 1 month ago (2016-11-07 15:26:10 UTC) #19
kwiberg-webrtc
4 years, 1 month ago (2016-11-08 16:49:34 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.webrtc.org/2484913003/ by kwiberg@webrtc.org.

The reason for reverting is: Broke dependent project because the .gn changes
weren't accompanied by corresponding .gyp changes..

Powered by Google App Engine
This is Rietveld 408576698