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

Issue 187573006: Allow wrapping a media::VideoFrame with a new view_rect. (Closed)

Created:
6 years, 9 months ago by perkj_chrome
Modified:
6 years, 9 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Allow wrapping a media::VideoFrame with a new view_rect as long as the new view_rect is within the original rect. BUG=349450 R=fischman@chromium.org, tommi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255353

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed code review comments (I think?) #

Patch Set 3 : Only allow sub rect of original view_rect. #

Total comments: 2

Patch Set 4 : Use view_rect().Contains() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -3 lines) Patch
M media/base/video_frame.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M media/base/video_frame.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M media/base/video_frame_pool.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M media/base/video_frame_unittest.cc View 1 2 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
perkj_chrome
Hej Can you please review?
6 years, 9 months ago (2014-03-05 15:59:26 UTC) #1
tommi (sloooow) - chröme
lgtm with the caveat that I don't know this code well. So, think of my ...
6 years, 9 months ago (2014-03-05 16:17:37 UTC) #2
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/187573006/diff/1/media/base/video_frame.h File media/base/video_frame.h (right): https://codereview.chromium.org/187573006/diff/1/media/base/video_frame.h#newcode156 media/base/video_frame.h:156: const gfx::Rect& visible_rect, the impl makes me think the ...
6 years, 9 months ago (2014-03-05 16:23:42 UTC) #3
perkj_chrome
Hej Thanks that was a new record for me in fast review turn arounds I ...
6 years, 9 months ago (2014-03-05 16:39:48 UTC) #4
Ami GONE FROM CHROMIUM
My point about subrects is that starting with a VideoFrame whose visible_rect!=coded_size, there are likely ...
6 years, 9 months ago (2014-03-05 16:47:14 UTC) #5
perkj_chrome
Ok So you are saying its not allowed to render the whole coded size? Cant ...
6 years, 9 months ago (2014-03-05 17:26:23 UTC) #6
Ami GONE FROM CHROMIUM
> > Ok So you are saying its not allowed to render the whole coded ...
6 years, 9 months ago (2014-03-05 17:46:47 UTC) #7
perkj_chrome
Hej How about one problem at the time. If we need to allow wrapping a ...
6 years, 9 months ago (2014-03-05 19:52:19 UTC) #8
Ami GONE FROM CHROMIUM
LGTM https://codereview.chromium.org/187573006/diff/30002/media/base/video_frame.cc File media/base/video_frame.cc (right): https://codereview.chromium.org/187573006/diff/30002/media/base/video_frame.cc#newcode188 media/base/video_frame.cc:188: visible_rect.bottom() <= frame->visible_rect().bottom()); aka DCHECK(frame->visible_rect().Contains(visible_rect));
6 years, 9 months ago (2014-03-05 20:05:12 UTC) #9
perkj_chrome
https://codereview.chromium.org/187573006/diff/30002/media/base/video_frame.cc File media/base/video_frame.cc (right): https://codereview.chromium.org/187573006/diff/30002/media/base/video_frame.cc#newcode188 media/base/video_frame.cc:188: visible_rect.bottom() <= frame->visible_rect().bottom()); On 2014/03/05 20:05:13, Ami Fischman wrote: ...
6 years, 9 months ago (2014-03-06 07:40:14 UTC) #10
perkj_chrome
6 years, 9 months ago (2014-03-06 14:51:57 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 manually as r255353 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698