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

Issue 23526070: Remove GSC usage from ExynosVideoDecodeAccelerator. (Closed)

Created:
7 years, 3 months ago by sheu
Modified:
7 years, 1 month ago
CC:
chromium-reviews, jam, apatrick_chromium, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, Ami GONE FROM CHROMIUM, wuchengli
Base URL:
https://chromium.googlesource.com/chromium/src.git@git-svn
Visibility:
Public.

Description

Remove GSC usage from ExynosVideoDecodeAccelerator. With support for compositing from GL_TEXTURE_EXTERNAL_OES image (and support from the Exynos GL stack for creating those textures), the video decoder does not have to perform an explicit YUV->RGB color conversion step. +27% throughput on birds0.h264 through vda_unittest. BUG=167417 TEST=local build, run on CrOS snow, vda_unittest TEST=local build, run on Android/clank Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235128

Patch Set 1 #

Patch Set 2 : 85f017d7 Initial. #

Patch Set 3 : 7e4634ee Functional. #

Total comments: 15

Patch Set 4 : 935aea25 Nits + rebase + unittests #

Patch Set 5 : d3e0d67b Rebase; reuploading deleted patchset. #

Patch Set 6 : 9a29ff6c Unittest fixes. #

Patch Set 7 : 11352e20 Rebase. #

Total comments: 4

Patch Set 8 : d1d7ea86 std::list<> -> std::queue<> #

Total comments: 6

Patch Set 9 : 11845b4b crop fix, rebase. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -830 lines) Patch
M cc/layers/video_layer_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -8 lines 2 comments Download
M content/common/gpu/media/exynos_video_decode_accelerator.h View 1 2 3 4 5 6 7 13 chunks +22 lines, -83 lines 0 comments Download
M content/common/gpu/media/exynos_video_decode_accelerator.cc View 1 2 3 4 5 6 7 44 chunks +181 lines, -704 lines 0 comments Download
M content/common/gpu/media/rendering_helper.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/rendering_helper.cc View 1 2 3 4 5 6 chunks +53 lines, -25 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 5 6 7 5 chunks +7 lines, -5 lines 0 comments Download
M content/gpu/gpu_main.cc View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
sheu
7 years, 3 months ago (2013-09-19 09:28:25 UTC) #1
sheu
Done. This works on both HTML at ToT, and an old build of Flash from ...
7 years, 2 months ago (2013-09-25 00:12:02 UTC) #2
Pawel Osciak
Please make sure that you test: - DASH (H264 and VP8) - raw stream resolution ...
7 years, 2 months ago (2013-09-30 05:16:25 UTC) #3
sheu
Rebased, updated, also unittests. Can you point me at the test cases for what you ...
7 years, 2 months ago (2013-10-04 23:25:55 UTC) #4
sheu
FYI, as mentioned, I'm easily getting 25% framerate improvements using this: https://code.google.com/p/chromium/issues/detail?id=302870#c28
7 years, 2 months ago (2013-10-04 23:27:25 UTC) #5
Pawel Osciak
https://chromiumcodereview.appspot.com/23526070/diff/5001/content/common/gpu/media/exynos_video_decode_accelerator.h File content/common/gpu/media/exynos_video_decode_accelerator.h (right): https://chromiumcodereview.appspot.com/23526070/diff/5001/content/common/gpu/media/exynos_video_decode_accelerator.h#newcode370 content/common/gpu/media/exynos_video_decode_accelerator.h:370: std::list<int> mfc_free_output_buffers_; On 2013/10/04 23:25:56, sheu wrote: > On ...
7 years, 2 months ago (2013-10-05 00:06:32 UTC) #6
wuchengli
IIRC, VDA test failed when I ran it with this patch.
7 years, 1 month ago (2013-11-06 03:44:11 UTC) #7
sheu
Rebased and updated. vda_unittest needed some fixing too, to fix up the Thumbnail* test cases. ...
7 years, 1 month ago (2013-11-07 02:37:27 UTC) #8
sheu
7 years, 1 month ago (2013-11-07 02:37:53 UTC) #9
Pawel Osciak
https://chromiumcodereview.appspot.com/23526070/diff/5001/content/common/gpu/media/exynos_video_decode_accelerator.h File content/common/gpu/media/exynos_video_decode_accelerator.h (right): https://chromiumcodereview.appspot.com/23526070/diff/5001/content/common/gpu/media/exynos_video_decode_accelerator.h#newcode370 content/common/gpu/media/exynos_video_decode_accelerator.h:370: std::list<int> mfc_free_output_buffers_; On 2013/11/07 02:37:27, sheu wrote: > On ...
7 years, 1 month ago (2013-11-07 03:48:46 UTC) #10
sheu
All the prereqs are in place for landing this. posciak@: any more comments on this ...
7 years, 1 month ago (2013-11-11 22:39:49 UTC) #11
Pawel Osciak
On 2013/11/11 22:39:49, sheu wrote: > All the prereqs are in place for landing this. ...
7 years, 1 month ago (2013-11-11 23:43:25 UTC) #12
sheu
On 2013/11/11 23:43:25, posciak wrote: > On 2013/11/11 22:39:49, sheu wrote: > > All the ...
7 years, 1 month ago (2013-11-11 23:44:58 UTC) #13
Pawel Osciak
On 2013/11/11 23:44:58, sheu wrote: > On 2013/11/11 23:43:25, posciak wrote: > > On 2013/11/11 ...
7 years, 1 month ago (2013-11-12 02:09:08 UTC) #14
Pawel Osciak
Sorry forgot to publish comments. https://chromiumcodereview.appspot.com/23526070/diff/268002/content/common/gpu/media/exynos_video_decode_accelerator.cc File content/common/gpu/media/exynos_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/23526070/diff/268002/content/common/gpu/media/exynos_video_decode_accelerator.cc#newcode407 content/common/gpu/media/exynos_video_decode_accelerator.cc:407: attrs[11] = frame_buffer_size_.width(); To ...
7 years, 1 month ago (2013-11-12 02:20:24 UTC) #15
sheu
Updated. https://chromiumcodereview.appspot.com/23526070/diff/268002/content/common/gpu/media/exynos_video_decode_accelerator.cc File content/common/gpu/media/exynos_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/23526070/diff/268002/content/common/gpu/media/exynos_video_decode_accelerator.cc#newcode407 content/common/gpu/media/exynos_video_decode_accelerator.cc:407: attrs[11] = frame_buffer_size_.width(); On 2013/11/12 02:20:25, posciak wrote: ...
7 years, 1 month ago (2013-11-12 03:03:50 UTC) #16
sheu
fischman@: OWNERS check. Thanks.
7 years, 1 month ago (2013-11-12 19:27:22 UTC) #17
sheu
7 years, 1 month ago (2013-11-12 19:27:50 UTC) #18
sheu
piman@: PTAL at content/gpu/gpu_main.cc. This is just about removing a presandbox bit so it should ...
7 years, 1 month ago (2013-11-12 19:29:07 UTC) #19
piman
lgtm
7 years, 1 month ago (2013-11-12 19:33:45 UTC) #20
Ami GONE FROM CHROMIUM
LGTM++ https://chromiumcodereview.appspot.com/23526070/diff/578001/content/common/gpu/media/exynos_video_decode_accelerator.cc File content/common/gpu/media/exynos_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/23526070/diff/578001/content/common/gpu/media/exynos_video_decode_accelerator.cc#newcode331 content/common/gpu/media/exynos_video_decode_accelerator.cc:331: format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_NV12M; I thought 16X16 was a ...
7 years, 1 month ago (2013-11-12 19:36:43 UTC) #21
sheu
https://chromiumcodereview.appspot.com/23526070/diff/578001/content/common/gpu/media/exynos_video_decode_accelerator.cc File content/common/gpu/media/exynos_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/23526070/diff/578001/content/common/gpu/media/exynos_video_decode_accelerator.cc#newcode331 content/common/gpu/media/exynos_video_decode_accelerator.cc:331: format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_NV12M; On 2013/11/12 19:36:44, Ami Fischman wrote: ...
7 years, 1 month ago (2013-11-12 19:41:44 UTC) #22
Ami GONE FROM CHROMIUM
On Tue, Nov 12, 2013 at 11:41 AM, <sheu@chromium.org> wrote: > Fortunately, the perf win ...
7 years, 1 month ago (2013-11-12 20:11:41 UTC) #23
sheu
danakj@: I'd like to make sure you're fine with the change just to cc/layers/video_layer_impl.cc. For ...
7 years, 1 month ago (2013-11-13 23:21:26 UTC) #24
danakj
https://chromiumcodereview.appspot.com/23526070/diff/718001/cc/layers/video_layer_impl.cc File cc/layers/video_layer_impl.cc (right): https://chromiumcodereview.appspot.com/23526070/diff/718001/cc/layers/video_layer_impl.cc#newcode217 cc/layers/video_layer_impl.cc:217: gfx::Transform scale; I think the old code would be ...
7 years, 1 month ago (2013-11-13 23:27:18 UTC) #25
danakj
On 2013/11/13 23:27:18, danakj wrote: > https://chromiumcodereview.appspot.com/23526070/diff/718001/cc/layers/video_layer_impl.cc > File cc/layers/video_layer_impl.cc (right): > > https://chromiumcodereview.appspot.com/23526070/diff/718001/cc/layers/video_layer_impl.cc#newcode217 > ...
7 years, 1 month ago (2013-11-13 23:27:41 UTC) #26
sheu
https://chromiumcodereview.appspot.com/23526070/diff/718001/cc/layers/video_layer_impl.cc File cc/layers/video_layer_impl.cc (right): https://chromiumcodereview.appspot.com/23526070/diff/718001/cc/layers/video_layer_impl.cc#newcode217 cc/layers/video_layer_impl.cc:217: gfx::Transform scale; On 2013/11/13 23:27:19, danakj wrote: > I ...
7 years, 1 month ago (2013-11-13 23:37:33 UTC) #27
danakj
On 2013/11/13 23:37:33, sheu wrote: > https://chromiumcodereview.appspot.com/23526070/diff/718001/cc/layers/video_layer_impl.cc > File cc/layers/video_layer_impl.cc (right): > > https://chromiumcodereview.appspot.com/23526070/diff/718001/cc/layers/video_layer_impl.cc#newcode217 > ...
7 years, 1 month ago (2013-11-13 23:41:25 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/23526070/718001
7 years, 1 month ago (2013-11-14 00:00:52 UTC) #29
commit-bot: I haz the power
Retried try job too often on mac for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=101607
7 years, 1 month ago (2013-11-14 01:23:19 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/23526070/718001
7 years, 1 month ago (2013-11-14 01:25:26 UTC) #31
commit-bot: I haz the power
Retried try job too often on mac for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=101669
7 years, 1 month ago (2013-11-14 02:32:01 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/23526070/718001
7 years, 1 month ago (2013-11-14 09:13:16 UTC) #33
commit-bot: I haz the power
7 years, 1 month ago (2013-11-14 12:41:46 UTC) #34
Message was sent while issue was closed.
Change committed as 235128

Powered by Google App Engine
This is Rietveld 408576698