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

Issue 2373393002: Support for parsing CABAC coded bitstreams (Closed)

Created:
4 years, 2 months ago by kthelgason
Modified:
4 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Support for parsing CABAC coded bitstreams Remove check on entropy_coding_mode_flag in PPS parser. Parse entropy_coding_mode_flag from PPS and store it in the parser struct. Parse out extra data in NALU slices in case of entropy_coding_mode to avoid reporting incorrect QP. BUG=webrtc:6338 Committed: https://crrev.com/d020f3fea0deef136b6b381383c6aa6879bb7b38 Cr-Commit-Position: refs/heads/master@{#14522}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add support for CABAC in bitstream parser #

Total comments: 3

Patch Set 3 : update test data #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -7 lines) Patch
M webrtc/common_video/h264/pps_parser.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/common_video/h264/pps_parser.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M webrtc/common_video/h264/pps_parser_unittest.cc View 3 chunks +4 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/utility/h264_bitstream_parser.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/utility/h264_bitstream_parser_unittest.cc View 1 2 2 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
kthelgason
Small CL, should be quick :)
4 years, 2 months ago (2016-09-28 14:46:35 UTC) #2
magjed_webrtc
https://codereview.webrtc.org/2373393002/diff/1/webrtc/common_video/h264/pps_parser.cc File webrtc/common_video/h264/pps_parser.cc (right): https://codereview.webrtc.org/2373393002/diff/1/webrtc/common_video/h264/pps_parser.cc#newcode85 webrtc/common_video/h264/pps_parser.cc:85: pps.entropy_coding_mode_flag = !!entropy_coding_mode_flag; nit: !! is cute, but I ...
4 years, 2 months ago (2016-09-28 15:13:01 UTC) #3
magjed_webrtc
lgtm
4 years, 2 months ago (2016-09-28 15:13:05 UTC) #4
kthelgason
We were assuming CAVLC in the bitstream_parser as well. This new patchset removes that assumption.
4 years, 2 months ago (2016-09-30 13:04:56 UTC) #6
stefan-webrtc
lgtm % nits https://codereview.webrtc.org/2373393002/diff/20001/webrtc/common_video/h264/pps_parser.cc File webrtc/common_video/h264/pps_parser.cc (right): https://codereview.webrtc.org/2373393002/diff/20001/webrtc/common_video/h264/pps_parser.cc#newcode85 webrtc/common_video/h264/pps_parser.cc:85: pps.entropy_coding_mode_flag = !!entropy_coding_mode_flag; I'd also prefer ...
4 years, 2 months ago (2016-09-30 13:33:09 UTC) #7
kthelgason
Updated the test data to something that I've verified with external tools. https://codereview.webrtc.org/2373393002/diff/20001/webrtc/common_video/h264/pps_parser.cc File webrtc/common_video/h264/pps_parser.cc ...
4 years, 2 months ago (2016-09-30 14:09:48 UTC) #8
magjed_webrtc
Still lgtm
4 years, 2 months ago (2016-09-30 14:34:22 UTC) #9
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/2373393002/40001
4 years, 2 months ago (2016-10-03 07:29:35 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_drmemory_light on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_drmemory_light/builds/15530)
4 years, 2 months ago (2016-10-03 08:10:44 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/2373393002/60001
4 years, 2 months ago (2016-10-05 07:16:32 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 2 months ago (2016-10-05 09:16:25 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 09:16:33 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d020f3fea0deef136b6b381383c6aa6879bb7b38
Cr-Commit-Position: refs/heads/master@{#14522}

Powered by Google App Engine
This is Rietveld 408576698