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

Issue 2532963002: Bug in ExtractFrame API (extracts frames incorrectly) (Closed)

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

Description

Fixed bug in ExtractFrameFromY4mFile API which was not extracting the frames correctly. Issue: This API was calculating the file_header and frame_header offset only for the first frame which is not the right logic. We need to skip the file and frame header every time we extract a new frame. Also added a unit test case which compares the extracted frame with the frame stored in text file. NOPRESUBMIT=true NOTRY=true BUG=webrtc:6761 Committed: https://crrev.com/1b5b22dc1797e38a0e6fcce59cf2b6ea92dfcccc Cr-Commit-Position: refs/heads/master@{#15288}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -30 lines) Patch
A resources/reference_less_video_test_file.y4m.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A resources/video_quality_analysis_frame.txt.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/tools/BUILD.gn View 1 chunk +5 lines, -1 line 0 comments Download
M webrtc/tools/frame_analyzer/video_quality_analysis.cc View 3 chunks +31 lines, -29 lines 0 comments Download
M webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc View 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
charujain
Created new patch set.
4 years ago (2016-11-28 18:12:20 UTC) #7
phoglund
lgtm
4 years ago (2016-11-29 09:38:38 UTC) #8
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/2532963002/1
4 years ago (2016-11-29 10:00:48 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-29 10:00:57 UTC) #19
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/1b5b22dc1797e38a0e6fcce59cf2b6ea92dfcccc Cr-Commit-Position: refs/heads/master@{#15288}
4 years ago (2016-11-29 10:01:33 UTC) #21
kjellander_webrtc
4 years ago (2016-11-29 10:21:03 UTC) #22
Message was sent while issue was closed.
On 2016/11/29 10:01:33, commit-bot: I haz the power wrote:
> Patchset 1 (id:??) landed as
> https://crrev.com/1b5b22dc1797e38a0e6fcce59cf2b6ea92dfcccc
> Cr-Commit-Position: refs/heads/master@{#15288}

I didn't realize reference_less_video_test_file.y4m is a whopping 100MB big. Is
this really needed? Our resources/ is heavy as it is.

Powered by Google App Engine
This is Rietveld 408576698