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

Issue 1211353002: Integration of VP9 packetization. (Closed)

Created:
5 years, 6 months ago by åsapersson
Modified:
5 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Integration of VP9 packetization. Supports running 1 spatial and 1-3 temporal layers in non-flexible mode. BUG=webrtc:4148, webrtc:4168, chromium:500602 TBR=mflodman Committed: https://crrev.com/a9455ab235e1169572f9eae3175cd9310d6729e2 Cr-Commit-Position: refs/heads/master@{#9665}

Patch Set 1 #

Patch Set 2 : fix parenthesis #

Patch Set 3 : format changes #

Patch Set 4 : fix todos #

Patch Set 5 : change return values to bool/void #

Patch Set 6 : mod unittests #

Patch Set 7 : mod helper class #

Patch Set 8 : mod parser #

Patch Set 9 : #

Patch Set 10 : add sanity checks and unit tests #

Patch Set 11 : #

Patch Set 12 : add sanity checks #

Patch Set 13 : use BitBuffer #

Patch Set 14 : #

Patch Set 15 : refactor and remove test helper class #

Total comments: 44

Patch Set 16 : address comments #

Patch Set 17 : update packetizer #

Patch Set 18 : address comments #

Patch Set 19 : rebase (packetization part split out) #

Patch Set 20 : #

Total comments: 32

Patch Set 21 : address comments #

Patch Set 22 : fix warning #

Patch Set 23 : fix test #

Patch Set 24 : fix test #

Patch Set 25 : reset gof_idx at key frame #

Patch Set 26 : allow 1-3 temporal layers #

Total comments: 2

Patch Set 27 : Let tid default be kNoTemporalIdx (and don't use 0 for packet arriving before first SS). First SS data may not be set due to too large diff in timestamps. #

Patch Set 28 : #

Total comments: 2

Patch Set 29 : set ss data if not set #

Unified diffs Side-by-side diffs Delta from patch set Stats (+542 lines, -79 lines) Patch
M webrtc/common_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/interface/module_common_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +55 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +1 line, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_payload_registry.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/interface/video_codec_interface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +25 lines, -10 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +16 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 13 chunks +262 lines, -46 lines 0 comments Download
M webrtc/modules/video_coding/main/source/codec_database.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/main/source/encoded_frame.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +61 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/main/source/generic_encoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +35 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/main/source/jitter_buffer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/main/source/jitter_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 5 chunks +38 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/main/source/session_info.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +33 lines, -12 lines 0 comments Download

Messages

Total messages: 47 (32 generated)
åsapersson
5 years, 5 months ago (2015-07-09 12:26:09 UTC) #22
stefan-webrtc
A first pass https://codereview.webrtc.org/1211353002/diff/640001/webrtc/modules/interface/module_common_types.h File webrtc/modules/interface/module_common_types.h (right): https://codereview.webrtc.org/1211353002/diff/640001/webrtc/modules/interface/module_common_types.h#newcode134 webrtc/modules/interface/module_common_types.h:134: uint8_t numFramesInGof; Might want to make ...
5 years, 5 months ago (2015-07-09 14:49:00 UTC) #23
åsapersson
https://codereview.webrtc.org/1211353002/diff/640001/webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc File webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc (right): https://codereview.webrtc.org/1211353002/diff/640001/webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc#newcode722 webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc:722: // Is it per super frame or layer frame? ...
5 years, 4 months ago (2015-07-29 12:10:13 UTC) #27
stefan-webrtc
https://codereview.webrtc.org/1211353002/diff/800001/webrtc/modules/interface/module_common_types.h File webrtc/modules/interface/module_common_types.h (right): https://codereview.webrtc.org/1211353002/diff/800001/webrtc/modules/interface/module_common_types.h#newcode100 webrtc/modules/interface/module_common_types.h:100: case kTemporalStructureMode3: We probably want to change this to ...
5 years, 4 months ago (2015-07-29 13:13:05 UTC) #28
åsapersson
https://codereview.webrtc.org/1211353002/diff/800001/webrtc/modules/interface/module_common_types.h File webrtc/modules/interface/module_common_types.h (right): https://codereview.webrtc.org/1211353002/diff/800001/webrtc/modules/interface/module_common_types.h#newcode100 webrtc/modules/interface/module_common_types.h:100: case kTemporalStructureMode3: On 2015/07/29 13:13:05, stefan-webrtc (holmer) wrote: > ...
5 years, 4 months ago (2015-07-30 11:42:20 UTC) #30
stefan-webrtc
https://codereview.webrtc.org/1211353002/diff/800001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/1211353002/diff/800001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode138 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:138: config_->rc_target_bitrate * rate_ratio[i] / total); On 2015/07/30 11:42:19, asapersson ...
5 years, 4 months ago (2015-07-30 12:05:25 UTC) #31
åsapersson
https://codereview.webrtc.org/1211353002/diff/870001/webrtc/video/video_send_stream_tests.cc File webrtc/video/video_send_stream_tests.cc (right): https://codereview.webrtc.org/1211353002/diff/870001/webrtc/video/video_send_stream_tests.cc#newcode1369 webrtc/video/video_send_stream_tests.cc:1369: size_t numTemporalLayer = (video_codec_type_ == kVideoCodecVP9) ? On 2015/07/30 ...
5 years, 4 months ago (2015-07-30 16:29:26 UTC) #33
holmer
lgtm https://codereview.webrtc.org/1211353002/diff/990001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/1211353002/diff/990001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode212 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:212: if (inst->codecSpecific.VP9.numberOfTemporalLayers < 1 || Should 0 be ...
5 years, 4 months ago (2015-07-31 09:05:26 UTC) #37
åsapersson
Did some additional changes, ptal. https://codereview.webrtc.org/1211353002/diff/990001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/1211353002/diff/990001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode212 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:212: if (inst->codecSpecific.VP9.numberOfTemporalLayers < 1 ...
5 years, 4 months ago (2015-07-31 10:09:37 UTC) #38
holmer
https://codereview.webrtc.org/1211353002/diff/1020001/webrtc/modules/video_coding/main/source/jitter_buffer.cc File webrtc/modules/video_coding/main/source/jitter_buffer.cc (right): https://codereview.webrtc.org/1211353002/diff/1020001/webrtc/modules/video_coding/main/source/jitter_buffer.cc#newcode603 webrtc/modules/video_coding/main/source/jitter_buffer.cc:603: if (first_packet_since_reset_ || last_gof_timestamp_ == 0 || Does this ...
5 years, 4 months ago (2015-07-31 10:51:36 UTC) #39
åsapersson
https://codereview.webrtc.org/1211353002/diff/1020001/webrtc/modules/video_coding/main/source/jitter_buffer.cc File webrtc/modules/video_coding/main/source/jitter_buffer.cc (right): https://codereview.webrtc.org/1211353002/diff/1020001/webrtc/modules/video_coding/main/source/jitter_buffer.cc#newcode603 webrtc/modules/video_coding/main/source/jitter_buffer.cc:603: if (first_packet_since_reset_ || last_gof_timestamp_ == 0 || On 2015/07/31 ...
5 years, 4 months ago (2015-07-31 11:45:07 UTC) #40
stefan-webrtc
On 2015/07/31 11:45:07, asapersson wrote: > https://codereview.webrtc.org/1211353002/diff/1020001/webrtc/modules/video_coding/main/source/jitter_buffer.cc > File webrtc/modules/video_coding/main/source/jitter_buffer.cc (right): > > https://codereview.webrtc.org/1211353002/diff/1020001/webrtc/modules/video_coding/main/source/jitter_buffer.cc#newcode603 > ...
5 years, 4 months ago (2015-07-31 12:01:41 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211353002/1030001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1211353002/1030001
5 years, 4 months ago (2015-07-31 12:36:37 UTC) #45
commit-bot: I haz the power
Committed patchset #29 (id:1030001)
5 years, 4 months ago (2015-07-31 13:10:13 UTC) #46
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 13:10:28 UTC) #47
Message was sent while issue was closed.
Patchset 29 (id:??) landed as
https://crrev.com/a9455ab235e1169572f9eae3175cd9310d6729e2
Cr-Commit-Position: refs/heads/master@{#9665}

Powered by Google App Engine
This is Rietveld 408576698