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

Issue 14238003: Buffer returned textures from render to VDA (Closed)

Created:
7 years, 8 months ago by ilja
Modified:
7 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Buffer returned textures from render to VDA This is CrOS ARM only hot fix for tearing/out of order frames caused by render/decode synchronization issues until we understand the underlying problem (presumably in the driver) better. The main effect of this change is to add an extra delay of 2 frames between draw and decode to clearly separate both. We had a similar hack in Flash when synchronization was broken (then in particular > 2 was used to achieve sufficient delay). We have a total of 8 PictureBuffers in flight but only need about 4 for smooth playback. (With this change we are down to 6 which is still sufficient.) BUG=chromium:225563 TEST=Ran on Daisy with different problematic videos and did not notice problems. NOTRY=true

Patch Set 1 #

Patch Set 2 : Update description as suggested #

Patch Set 3 : Increase buffered frames to 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M content/common/gpu/media/exynos_video_decode_accelerator.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
ilja
Please take a look.
7 years, 8 months ago (2013-04-13 01:09:52 UTC) #1
sheu
lgtm Nit: I think this change would be better described as: Buffer returned textures from ...
7 years, 8 months ago (2013-04-13 01:13:24 UTC) #2
ilja
Done. Ami: could you please do an owner review?
7 years, 8 months ago (2013-04-13 01:25:31 UTC) #3
ilja
I have increased the number of buffered frames to 2 as discussed with John. This ...
7 years, 8 months ago (2013-04-13 02:18:06 UTC) #4
ilja
Looks like Ami is out. Dale/Xiaohan could one of you do an owners review? This ...
7 years, 8 months ago (2013-04-13 04:32:18 UTC) #5
xhwang
I am not very familiar with this code and the bug. It looks hacky to ...
7 years, 8 months ago (2013-04-13 18:59:11 UTC) #6
ilja
Sorry, I had a BUG and TEST field that deleted when updating the description. Please ...
7 years, 8 months ago (2013-04-14 17:58:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ihf@chromium.org/14238003/6001
7 years, 8 months ago (2013-04-15 04:24:42 UTC) #8
xhwang
New CL description lgtm.
7 years, 8 months ago (2013-04-15 18:53:12 UTC) #9
ilja
7 years, 8 months ago (2013-04-16 01:06:38 UTC) #10
This was submitted by hshi as CL 194267 commit
224016e9a37f89694e8d15e320de261c1399bfe9 as the CQ keep being down.

Powered by Google App Engine
This is Rietveld 408576698