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

Issue 10916203: OMX: Avoid calling Fillbuffer while OMX is flushing. (Closed)

Created:
8 years, 3 months ago by Arun M
Modified:
8 years, 3 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://git.chromium.org/git/chromium/src@git-svn
Visibility:
Public.

Description

OMX: Avoid calling Fillbuffer while OMX is flushing. If Reusepicturebuffer is called when OMX port is being flushed OMX_* call will error and force the decoder into error mode. So delay the Fill buffer till state is not Resetting BUG=chrome-os-partner:13711 TEST=by hand on snow Change-Id: Ia581296a77d902b32cdd02f05da3a905af2acc42 Signed-off-by: Arun Mankuzhi <arun.m@samsung.com>; Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158202

Patch Set 1 #

Total comments: 2

Patch Set 2 : OMX: Avoid calling Fillbuffer while OMX is flushing. #

Total comments: 10

Patch Set 3 : OMX: Avoid calling Fillbuffer while OMX is flushing. #

Patch Set 4 : OMX: Avoid calling Fillbuffer while OMX is flushing. #

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

Messages

Total messages: 16 (0 generated)
Ami GONE FROM CHROMIUM
I don't see where the OMX spec prohibits calling OMX_FillThisBuffer during a port-flush, which is ...
8 years, 3 months ago (2012-09-12 01:09:36 UTC) #1
Ami GONE FROM CHROMIUM
Oh, also, make sure to "Publish+Mail Comments" after uploading code-reviews; otherwise no mail is sent ...
8 years, 3 months ago (2012-09-12 01:10:42 UTC) #2
Arun M
While flushing buffers, if a new Fill buffer is called this buffer has to be ...
8 years, 3 months ago (2012-09-17 12:06:55 UTC) #3
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode1132 content/common/gpu/media/omx_video_decode_accelerator.cc:1132: return (csc != DESTROYING && csc != ERRORING) && ...
8 years, 3 months ago (2012-09-17 17:27:10 UTC) #4
Arun M
IL spec 3.2.2 suggests client can call OMX_FillThisBuffer() during Idle/Pause/Executing. The case we are discussing ...
8 years, 3 months ago (2012-09-18 08:39:34 UTC) #5
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode803 content/common/gpu/media/omx_video_decode_accelerator.cc:803: I think you need an if (current_state_change_ == RESETTING) ...
8 years, 3 months ago (2012-09-18 16:50:43 UTC) #6
Arun M
https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode803 content/common/gpu/media/omx_video_decode_accelerator.cc:803: Do we need this check? CanFillBuffer will return false ...
8 years, 3 months ago (2012-09-19 07:07:09 UTC) #7
Arun M
https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode1128 content/common/gpu/media/omx_video_decode_accelerator.cc:1128: bool OmxVideoDecodeAccelerator::CanFillBuffer() { I will submit another CL for ...
8 years, 3 months ago (2012-09-19 09:45:16 UTC) #8
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode803 content/common/gpu/media/omx_video_decode_accelerator.cc:803: On 2012/09/19 07:07:09, Arun M wrote: > On 2012/09/18 ...
8 years, 3 months ago (2012-09-19 17:02:10 UTC) #9
Arun M
https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/10916203/diff/4001/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode803 content/common/gpu/media/omx_video_decode_accelerator.cc:803: On 2012/09/19 17:02:10, Ami Fischman wrote: > On 2012/09/19 ...
8 years, 3 months ago (2012-09-20 11:40:12 UTC) #10
Ami GONE FROM CHROMIUM
LGTM + cq'ing.
8 years, 3 months ago (2012-09-20 17:19:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/arun.m@samsung.com/10916203/16001
8 years, 3 months ago (2012-09-20 17:20:56 UTC) #12
commit-bot: I haz the power
Retried try job too often for step(s) sync_integration_tests, chrome_frame_net_tests
8 years, 3 months ago (2012-09-21 04:55:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/arun.m@samsung.com/10916203/16001
8 years, 3 months ago (2012-09-21 05:02:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/arun.m@samsung.com/10916203/16001
8 years, 3 months ago (2012-09-23 02:29:49 UTC) #15
commit-bot: I haz the power
8 years, 3 months ago (2012-09-23 04:20:25 UTC) #16
Change committed as 158202

Powered by Google App Engine
This is Rietveld 408576698