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

Issue 2459633002: Add functionality for parsing H264 profile-level-id (Closed)

Created:
4 years, 1 month ago by magjed_webrtc
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, interface-changes_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 functionality for parsing H264 profile-level-id The new code is only exercised in tests so far. The H264 profile-level-id parsing is not complete, but it should be enough for our purposes for now. BUG=webrtc:6400, webrtc:6337 Committed: https://crrev.com/fffc1e5578b051ca8d4e210fc59435d2b4b2b42a Cr-Commit-Position: refs/heads/master@{#14850}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Move code to webrtc/common_video/h264 #

Patch Set 3 : Use array reference argument to constexpr functions #

Total comments: 2

Patch Set 4 : Fix include order in common_video.gyp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -4 lines) Patch
M webrtc/common_types.h View 1 2 chunks +0 lines, -3 lines 0 comments Download
M webrtc/common_video/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/common_video/common_video.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/common_video/h264/profile_level_id.h View 1 1 chunk +62 lines, -0 lines 0 comments Download
A webrtc/common_video/h264/profile_level_id.cc View 1 2 1 chunk +132 lines, -0 lines 0 comments Download
A webrtc/common_video/h264/profile_level_id_unittest.cc View 1 1 chunk +74 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codec_database.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 26 (13 generated)
magjed_webrtc
Please take a look.
4 years, 1 month ago (2016-10-28 09:07:13 UTC) #8
hta-webrtc
My only strong objection at the moment is where the code sits. H.264 stuff shouldn't ...
4 years, 1 month ago (2016-10-28 09:55:23 UTC) #9
tommi
drive by high five. I'm digging the parsing code! https://codereview.webrtc.org/2459633002/diff/80001/webrtc/common_types.cc File webrtc/common_types.cc (right): https://codereview.webrtc.org/2459633002/diff/80001/webrtc/common_types.cc#newcode46 webrtc/common_types.cc:46: ...
4 years, 1 month ago (2016-10-28 10:09:48 UTC) #10
magjed_webrtc
> I assume that matching two profiles (with checking that profile A <= profile B) ...
4 years, 1 month ago (2016-10-28 14:59:28 UTC) #12
tommi
https://codereview.webrtc.org/2459633002/diff/80001/webrtc/common_types.cc File webrtc/common_types.cc (right): https://codereview.webrtc.org/2459633002/diff/80001/webrtc/common_types.cc#newcode28 webrtc/common_types.cc:28: return (str[0] == c) << 7 On 2016/10/28 14:59:27, ...
4 years, 1 month ago (2016-10-28 15:02:21 UTC) #13
magjed_webrtc
On 2016/10/28 15:02:21, tommi (webrtc) wrote: > https://codereview.webrtc.org/2459633002/diff/80001/webrtc/common_types.cc > File webrtc/common_types.cc (right): > > https://codereview.webrtc.org/2459633002/diff/80001/webrtc/common_types.cc#newcode28 ...
4 years, 1 month ago (2016-10-28 15:19:21 UTC) #14
tommi
On 2016/10/28 15:19:21, magjed_webrtc wrote: > On 2016/10/28 15:02:21, tommi (webrtc) wrote: > > https://codereview.webrtc.org/2459633002/diff/80001/webrtc/common_types.cc ...
4 years, 1 month ago (2016-10-28 15:29:20 UTC) #15
hta-webrtc
lgtm
4 years, 1 month ago (2016-10-30 23:57:26 UTC) #16
stefan-webrtc
lgtm https://codereview.webrtc.org/2459633002/diff/120001/webrtc/common_video/common_video.gyp File webrtc/common_video/common_video.gyp (right): https://codereview.webrtc.org/2459633002/diff/120001/webrtc/common_video/common_video.gyp#newcode62 webrtc/common_video/common_video.gyp:62: 'h264/profile_level_id.h', These should go after pps_* below
4 years, 1 month ago (2016-10-31 09:34:53 UTC) #17
magjed_webrtc
https://codereview.webrtc.org/2459633002/diff/120001/webrtc/common_video/common_video.gyp File webrtc/common_video/common_video.gyp (right): https://codereview.webrtc.org/2459633002/diff/120001/webrtc/common_video/common_video.gyp#newcode62 webrtc/common_video/common_video.gyp:62: 'h264/profile_level_id.h', On 2016/10/31 09:34:53, stefan-webrtc (holmer) wrote: > These ...
4 years, 1 month ago (2016-10-31 12:08:03 UTC) #19
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/2459633002/160001
4 years, 1 month ago (2016-10-31 12:08:12 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:160001)
4 years, 1 month ago (2016-10-31 12:56:00 UTC) #24
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 12:56:10 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fffc1e5578b051ca8d4e210fc59435d2b4b2b42a
Cr-Commit-Position: refs/heads/master@{#14850}

Powered by Google App Engine
This is Rietveld 408576698