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

Issue 2356793002: Add support for 3-byte headers in VideoToolbox NALU parser. (Closed)

Created:
4 years, 3 months ago by kthelgason
Modified:
4 years, 1 month ago
Reviewers:
tommi, tkchin_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman, sprang_webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add support for 3-byte headers in VideoToolbox NALU parser. BUG=webrtc:6278 R=tkchin@webrtc.org, tommi@webrtc.org Committed: https://crrev.com/cb18ee61270694e743970100bf2871bd67a44906 Cr-Commit-Position: refs/heads/master@{#14889}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Code review #

Total comments: 9

Patch Set 3 : Alphabetize using statements #

Patch Set 4 : Add back check #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -50 lines) Patch
M webrtc/common_video/h264/h264_common.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h View 2 chunks +6 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc View 1 2 3 5 chunks +14 lines, -42 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc View 1 2 3 4 3 chunks +18 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
kthelgason
There may be some work left to fully support this. I'm not sure how to ...
4 years, 3 months ago (2016-09-20 14:52:23 UTC) #2
tommi
lgtm https://codereview.webrtc.org/2356793002/diff/1/webrtc/common_video/h264/h264_common.cc File webrtc/common_video/h264/h264_common.cc (right): https://codereview.webrtc.org/2356793002/diff/1/webrtc/common_video/h264/h264_common.cc#newcode25 webrtc/common_video/h264/h264_common.cc:25: if (buffer_size < kNaluShortStartSequenceSize) { nit: no {} ...
4 years, 3 months ago (2016-09-20 16:34:41 UTC) #5
tkchin_webrtc
https://codereview.webrtc.org/2356793002/diff/20001/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc File webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc (left): https://codereview.webrtc.org/2356793002/diff/20001/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc#oldcode61 webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc:61: RTC_DCHECK_EQ(nalu_header_size, 4); why is this removed? Perhaps should be ...
4 years, 2 months ago (2016-09-27 11:29:35 UTC) #8
kthelgason
https://codereview.webrtc.org/2356793002/diff/20001/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc File webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc (left): https://codereview.webrtc.org/2356793002/diff/20001/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc#oldcode61 webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc:61: RTC_DCHECK_EQ(nalu_header_size, 4); On 2016/09/27 11:29:35, tkchin_webrtc wrote: > why ...
4 years, 2 months ago (2016-09-28 08:48:27 UTC) #9
tkchin_webrtc
https://codereview.webrtc.org/2356793002/diff/20001/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc File webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc (left): https://codereview.webrtc.org/2356793002/diff/20001/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc#oldcode61 webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc:61: RTC_DCHECK_EQ(nalu_header_size, 4); On 2016/09/28 08:48:27, kthelgason wrote: > On ...
4 years, 2 months ago (2016-09-28 11:33:24 UTC) #10
kthelgason
> iiuc nalu_header_size here is not the 0001/001. It is the length byte for avcc ...
4 years, 2 months ago (2016-09-28 11:40:35 UTC) #11
tkchin_webrtc
On 2016/09/28 11:40:35, kthelgason wrote: > > iiuc nalu_header_size here is not the 0001/001. It ...
4 years, 2 months ago (2016-09-28 15:00:31 UTC) #12
kthelgason
Care to take one last look Zeke?
4 years, 2 months ago (2016-10-18 08:18:12 UTC) #13
tkchin_webrtc
On 2016/10/18 08:18:12, kthelgason wrote: > Care to take one last look Zeke? lgtm
4 years, 1 month ago (2016-11-01 19:06:51 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/2356793002/80001
4 years, 1 month ago (2016-11-02 11:43:16 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x64_dbg on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-11-02 13:43:54 UTC) #19
kthelgason
4 years, 1 month ago (2016-11-02 14:07:18 UTC) #21
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
cb18ee61270694e743970100bf2871bd67a44906 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698