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

Issue 207233002: cc: Support texcoord offsets in YUVVideoDrawQuad (Closed)

Created:
6 years, 9 months ago by sheu
Modified:
6 years, 9 months ago
Reviewers:
danakj, jschuh, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, cc-bugs_chromium.org, jam, darin-cc_chromium.org
Visibility:
Public.

Description

cc: Support texcoord offsets in YUVVideoDrawQuad YUVVideoDrawQuad currently supports stretching, but not offset, from its source textures. Add support for offset. Also: fix VideoGLRendererPixelTest to upload subsampled chroma planes at the correct (half) size. Use patterned test textures to detect texcoord misalignment. BUG=349450 TEST=local build, run unittests on desktop Linux Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259831

Patch Set 1 : 5baa37b0 Initial. #

Total comments: 6

Patch Set 2 : 935f7f25 fixes :-X #

Patch Set 3 : 61f23173 Test update. #

Total comments: 1

Patch Set 4 : 8942e63e danakj@ comment. #

Patch Set 5 : c7cdf9166 Fuzzy pixels. #

Patch Set 6 : c7cdf916 Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -92 lines) Patch
M cc/layers/video_layer_impl.cc View 2 chunks +9 lines, -4 lines 0 comments Download
M cc/output/gl_renderer.h View 1 chunk +4 lines, -4 lines 0 comments Download
M cc/output/gl_renderer.cc View 4 chunks +12 lines, -5 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 1 2 3 4 9 chunks +73 lines, -43 lines 0 comments Download
M cc/output/shader.h View 2 chunks +5 lines, -3 lines 0 comments Download
M cc/output/shader.cc View 1 3 chunks +10 lines, -8 lines 0 comments Download
M cc/quads/draw_quad_unittest.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M cc/quads/yuv_video_draw_quad.h View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/quads/yuv_video_draw_quad.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M cc/resources/video_resource_updater.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
A cc/test/data/yuv_stripes.png View 1 2 Binary file 0 comments Download
A cc/test/data/yuv_stripes_alpha.png View 1 2 Binary file 0 comments Download
A cc/test/data/yuv_stripes_offset.png View 1 2 Binary file 0 comments Download
M cc/test/render_pass_test_common.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/cc_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/cc_messages_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
sheu
perkj@: this is the offset support CL you'll be wanting :-) danakj@: PTAL, thanks! Also ...
6 years, 9 months ago (2014-03-20 23:34:34 UTC) #1
perkj_chrome
On 2014/03/20 23:34:34, sheu wrote: > perkj@: this is the offset support CL you'll be ...
6 years, 9 months ago (2014-03-21 14:48:34 UTC) #2
danakj
https://chromiumcodereview.appspot.com/207233002/diff/20001/cc/output/renderer_pixeltest.cc File cc/output/renderer_pixeltest.cc (right): https://chromiumcodereview.appspot.com/207233002/diff/20001/cc/output/renderer_pixeltest.cc#newcode411 cc/output/renderer_pixeltest.cc:411: const gfx::Rect uv_rect(0, 0, rect.width() + 1 / 2, ...
6 years, 9 months ago (2014-03-21 18:11:10 UTC) #3
sheu
The test was indeed broken. I just happened to fix the test in a way ...
6 years, 9 months ago (2014-03-21 20:44:50 UTC) #4
danakj
On Fri, Mar 21, 2014 at 4:44 PM, <sheu@chromium.org> wrote: > The test was indeed ...
6 years, 9 months ago (2014-03-21 20:48:27 UTC) #5
sheu
The test images didn't change between my patchsets. I've modified them now to make the ...
6 years, 9 months ago (2014-03-21 21:40:49 UTC) #6
sheu
jschuh@: PTAL at content/common/cc_messages.h. Trivial.
6 years, 9 months ago (2014-03-21 21:42:45 UTC) #7
danakj
Thanks, LGTM https://codereview.chromium.org/207233002/diff/100001/cc/output/renderer_pixeltest.cc File cc/output/renderer_pixeltest.cc (right): https://codereview.chromium.org/207233002/diff/100001/cc/output/renderer_pixeltest.cc#newcode450 cc/output/renderer_pixeltest.cc:450: // YUV values representing a striped pattern ...
6 years, 9 months ago (2014-03-21 21:44:55 UTC) #8
danakj
+piman for content/
6 years, 9 months ago (2014-03-21 21:45:12 UTC) #9
piman
lgtm
6 years, 9 months ago (2014-03-21 22:12:09 UTC) #10
jschuh
ipc security lgtm (note: change from int size to float rect)
6 years, 9 months ago (2014-03-21 22:22:58 UTC) #11
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 9 months ago (2014-03-21 22:30:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/207233002/120001
6 years, 9 months ago (2014-03-21 22:31:02 UTC) #13
danakj
On 2014/03/21 22:22:58, Justin Schuh wrote: > ipc security lgtm (note: change from int size ...
6 years, 9 months ago (2014-03-21 22:34:36 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-22 00:31:49 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) cc_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=286353
6 years, 9 months ago (2014-03-22 00:31:50 UTC) #16
sheu
Looks like I got bit by off-by-one pixel differences. Different filtering on Windows, I guess. ...
6 years, 9 months ago (2014-03-22 00:47:11 UTC) #17
danakj
On Mar 21, 2014 8:52 PM, <sheu@chromium.org> wrote: > > Looks like I got bit ...
6 years, 9 months ago (2014-03-24 16:06:07 UTC) #18
perkj_chrome
On 2014/03/24 16:06:07, danakj wrote: > On Mar 21, 2014 8:52 PM, <mailto:sheu@chromium.org> wrote: > ...
6 years, 9 months ago (2014-03-26 05:55:37 UTC) #19
sheu
I'm on it. This is dependent on: https://chromiumcodereview.appspot.com/178133005/ which I just uploaded another CL for ...
6 years, 9 months ago (2014-03-27 00:13:54 UTC) #20
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 9 months ago (2014-03-27 07:46:49 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/207233002/160001
6 years, 9 months ago (2014-03-27 07:48:49 UTC) #22
commit-bot: I haz the power
6 years, 9 months ago (2014-03-27 11:43:53 UTC) #23
Message was sent while issue was closed.
Change committed as 259831

Powered by Google App Engine
This is Rietveld 408576698