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

Issue 2470133002: Add function for getting supported H264 level from max resolution and fps (Closed)

Created:
4 years, 1 month ago by magjed_webrtc
Modified:
4 years, 1 month ago
Reviewers:
kthelgason, hta-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add function for getting supported H264 level from max resolution and fps BUG=webrtc:6337 Committed: https://crrev.com/a92704e6f5e240b4656d58a39c10267a8deaaff0 Cr-Commit-Position: refs/heads/master@{#14969}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Return rtc::Optional<Level> instead #

Total comments: 7

Patch Set 3 : Rebase #

Patch Set 4 : Improve comments. #

Total comments: 2

Patch Set 5 : Change fps type to float #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -0 lines) Patch
M webrtc/common_video/h264/profile_level_id.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/common_video/h264/profile_level_id.cc View 1 2 3 4 3 chunks +46 lines, -0 lines 0 comments Download
M webrtc/common_video/h264/profile_level_id_unittest.cc View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (16 generated)
magjed_webrtc
Please take a look.
4 years, 1 month ago (2016-11-02 14:18:22 UTC) #5
kthelgason
lgtm with a comment/suggestion. https://codereview.webrtc.org/2470133002/diff/1/webrtc/common_video/h264/profile_level_id.cc File webrtc/common_video/h264/profile_level_id.cc (right): https://codereview.webrtc.org/2470133002/diff/1/webrtc/common_video/h264/profile_level_id.cc#newcode75 webrtc/common_video/h264/profile_level_id.cc:75: const int max_macroblock_frame_size; super-nit: maybe ...
4 years, 1 month ago (2016-11-02 17:26:21 UTC) #8
magjed_webrtc
https://codereview.webrtc.org/2470133002/diff/1/webrtc/common_video/h264/profile_level_id.cc File webrtc/common_video/h264/profile_level_id.cc (right): https://codereview.webrtc.org/2470133002/diff/1/webrtc/common_video/h264/profile_level_id.cc#newcode75 webrtc/common_video/h264/profile_level_id.cc:75: const int max_macroblock_frame_size; On 2016/11/02 17:26:21, kthelgason wrote: > ...
4 years, 1 month ago (2016-11-03 12:16:51 UTC) #10
magjed_webrtc
Harald - I'm TBR:ing you since I'm blocked on this CL. I need to have ...
4 years, 1 month ago (2016-11-03 13:56:53 UTC) #12
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/2470133002/40001
4 years, 1 month ago (2016-11-03 13:57:04 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_more_configs on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_more_configs/builds/87) ios64_sim_dbg on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 1 month ago (2016-11-03 13:58:15 UTC) #17
hta-webrtc
Some commentary, so not LGTMing yet. I think you need to specify whether you're converting ...
4 years, 1 month ago (2016-11-03 14:04:32 UTC) #18
magjed_webrtc
https://codereview.webrtc.org/2470133002/diff/40001/webrtc/common_video/h264/profile_level_id.cc File webrtc/common_video/h264/profile_level_id.cc (right): https://codereview.webrtc.org/2470133002/diff/40001/webrtc/common_video/h264/profile_level_id.cc#newcode79 webrtc/common_video/h264/profile_level_id.cc:79: // This is from the H264 spec. On 2016/11/03 ...
4 years, 1 month ago (2016-11-03 14:53:39 UTC) #20
magjed_webrtc
https://codereview.webrtc.org/2470133002/diff/40001/webrtc/common_video/h264/profile_level_id.h File webrtc/common_video/h264/profile_level_id.h (right): https://codereview.webrtc.org/2470133002/diff/40001/webrtc/common_video/h264/profile_level_id.h#newcode66 webrtc/common_video/h264/profile_level_id.h:66: // return no level if not even level 1 ...
4 years, 1 month ago (2016-11-03 14:54:52 UTC) #21
magjed_webrtc
Harald - ping.
4 years, 1 month ago (2016-11-08 09:04:17 UTC) #22
hta-webrtc
lgtm https://codereview.webrtc.org/2470133002/diff/50004/webrtc/common_video/h264/profile_level_id.h File webrtc/common_video/h264/profile_level_id.h (right): https://codereview.webrtc.org/2470133002/diff/50004/webrtc/common_video/h264/profile_level_id.h#newcode67 webrtc/common_video/h264/profile_level_id.h:67: rtc::Optional<Level> SupportedLevel(int max_frame_pixel_count, int max_fps); Suggest using a ...
4 years, 1 month ago (2016-11-08 09:21:16 UTC) #23
magjed_webrtc
https://codereview.webrtc.org/2470133002/diff/50004/webrtc/common_video/h264/profile_level_id.h File webrtc/common_video/h264/profile_level_id.h (right): https://codereview.webrtc.org/2470133002/diff/50004/webrtc/common_video/h264/profile_level_id.h#newcode67 webrtc/common_video/h264/profile_level_id.h:67: rtc::Optional<Level> SupportedLevel(int max_frame_pixel_count, int max_fps); On 2016/11/08 09:21:16, hta-webrtc ...
4 years, 1 month ago (2016-11-08 10:29:23 UTC) #24
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/2470133002/90001
4 years, 1 month ago (2016-11-08 10:29:39 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:90001)
4 years, 1 month ago (2016-11-08 10:57:54 UTC) #29
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 10:58:01 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a92704e6f5e240b4656d58a39c10267a8deaaff0
Cr-Commit-Position: refs/heads/master@{#14969}

Powered by Google App Engine
This is Rietveld 408576698