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

Issue 7088021: OmxVideoDecodeAcceleratorTest is born! (Closed)

Created:
9 years, 6 months ago by Ami GONE FROM CHROMIUM
Modified:
9 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, apatrick_chromium, Ville-Mikko Rautio, mheikkinen1, cfreeman, vjain
Visibility:
Public.

Description

OmxVideoDecodeAcceleratorTest is born! This exercises OmxVideoDecodeAccelerator by decoding an h264 data file and rendering the resulting frames to the screen. Fixed bugs in OmxVideoDecodeAccelerator to make this work, and removed some of the hardcodedness of Gles2TextureToEglImageTranslator. BUG=none TEST=copy the generated binary to a kaen and run (as user chronos): DISPLAY=:0 XAUTHORITY=/home/chronos/.Xauthority LD_PRELOAD="libnvmm_service.so libnvrm_graphics_impl.so" ./omx_video_decode_accelerator_unittest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87886

Patch Set 1 #

Total comments: 29

Patch Set 2 : brettw CR response. #

Total comments: 6

Patch Set 3 : responses to vrk, vhiremath, and phajdan CRs #

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+705 lines, -81 lines) Patch
M content/common/gpu/gles2_texture_to_egl_image_translator.h View 1 1 chunk +10 lines, -9 lines 0 comments Download
M content/common/gpu/gles2_texture_to_egl_image_translator.cc View 3 chunks +11 lines, -18 lines 0 comments Download
M content/common/gpu/omx_video_decode_accelerator.h View 1 2 5 chunks +12 lines, -1 line 0 comments Download
M content/common/gpu/omx_video_decode_accelerator.cc View 1 2 30 chunks +106 lines, -54 lines 0 comments Download
A content/common/gpu/omx_video_decode_accelerator_unittest.cc View 1 2 3 1 chunk +540 lines, -0 lines 0 comments Download
A content/common/gpu/testdata/test-25fps.h264 View 0 chunks +-1 lines, --1 lines 0 comments Download
M content/content_common.gypi View 1 2 3 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Ami GONE FROM CHROMIUM
brettw: for OWNERS This still has some bugs: - It produces 286 frames where the ...
9 years, 6 months ago (2011-06-02 22:32:41 UTC) #1
brettw
LGTM owners rubber stamp http://codereview.chromium.org/7088021/diff/1/content/common/gpu/gles2_texture_to_egl_image_translator.h File content/common/gpu/gles2_texture_to_egl_image_translator.h (right): http://codereview.chromium.org/7088021/diff/1/content/common/gpu/gles2_texture_to_egl_image_translator.h#newcode30 content/common/gpu/gles2_texture_to_egl_image_translator.h:30: EGLDisplay egl_display, EGLContext egl_context, uint32 ...
9 years, 6 months ago (2011-06-02 23:55:04 UTC) #2
Ami GONE FROM CHROMIUM
vmr/Matti/Vish: I also meant to ask whether you saw either problem (visual artifacts and/or incorrect ...
9 years, 6 months ago (2011-06-03 02:08:48 UTC) #3
Ami GONE FROM CHROMIUM
Thanks for the fast turnaround, Brett! http://codereview.chromium.org/7088021/diff/1/content/common/gpu/gles2_texture_to_egl_image_translator.h File content/common/gpu/gles2_texture_to_egl_image_translator.h (right): http://codereview.chromium.org/7088021/diff/1/content/common/gpu/gles2_texture_to_egl_image_translator.h#newcode30 content/common/gpu/gles2_texture_to_egl_image_translator.h:30: EGLDisplay egl_display, EGLContext ...
9 years, 6 months ago (2011-06-03 02:13:06 UTC) #4
vrk (LEFT CHROMIUM)
Looking so good! http://codereview.chromium.org/7088021/diff/1/content/common/gpu/omx_video_decode_accelerator.cc File content/common/gpu/omx_video_decode_accelerator.cc (right): http://codereview.chromium.org/7088021/diff/1/content/common/gpu/omx_video_decode_accelerator.cc#newcode381 content/common/gpu/omx_video_decode_accelerator.cc:381: return; ? http://codereview.chromium.org/7088021/diff/1/content/common/gpu/omx_video_decode_accelerator.cc#newcode386 content/common/gpu/omx_video_decode_accelerator.cc:386: // TODO(vhiremath@nvidia.com) ...
9 years, 6 months ago (2011-06-03 07:55:23 UTC) #5
Paweł Hajdan Jr.
Drive-by with testing comments. http://codereview.chromium.org/7088021/diff/6001/content/common/gpu/omx_video_decode_accelerator_unittest.cc File content/common/gpu/omx_video_decode_accelerator_unittest.cc (right): http://codereview.chromium.org/7088021/diff/6001/content/common/gpu/omx_video_decode_accelerator_unittest.cc#newcode99 content/common/gpu/omx_video_decode_accelerator_unittest.cc:99: CHECK_EQ(width_, 0) << "Must call ...
9 years, 6 months ago (2011-06-03 09:16:18 UTC) #6
vhiremath
http://codereview.chromium.org/7088021/diff/6001/content/common/gpu/omx_video_decode_accelerator.cc File content/common/gpu/omx_video_decode_accelerator.cc (right): http://codereview.chromium.org/7088021/diff/6001/content/common/gpu/omx_video_decode_accelerator.cc#newcode532 content/common/gpu/omx_video_decode_accelerator.cc:532: client_->NotifyInitializeDone(); Ami, What is plugin's reaction to this notification ...
9 years, 6 months ago (2011-06-03 11:01:19 UTC) #7
Ami GONE FROM CHROMIUM
Thanks for the reviews everyone. I've addressed all your comments below & uploaded updated patch. ...
9 years, 6 months ago (2011-06-03 17:43:59 UTC) #8
vrk (LEFT CHROMIUM)
9 years, 6 months ago (2011-06-03 22:17:22 UTC) #9
LGTM!

Thanks Ami!!

Powered by Google App Engine
This is Rietveld 408576698