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

Issue 491163002: Implement flushing in VTVideoDecodeAccelerator. (Closed)

Created:
6 years, 4 months ago by sandersd (OOO until July 31)
Modified:
6 years, 2 months ago
Reviewers:
Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implement flushing in VTVideoDecodeAccelerator. BUG=133828 Committed: https://crrev.com/063dbc21c6cef08fcfec2bce1290d76358a323ba Cr-Commit-Position: refs/heads/master@{#296980}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase #

Patch Set 4 : New state machine. #

Total comments: 67

Patch Set 5 : Address comments. #

Total comments: 4

Patch Set 6 : Fix comment. #

Patch Set 7 : Reorganize ProcessDecodedFrames(). #

Patch Set 8 : Correct QueueAction(ACTION_DESTROY). #

Total comments: 4

Patch Set 9 : Move CompleteAction() into case ACTION_DESTROY. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -40 lines) Patch
M content/common/gpu/media/vt.sig View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.h View 1 2 3 4 5 3 chunks +46 lines, -2 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 chunks +185 lines, -38 lines 0 comments Download

Messages

Total messages: 19 (1 generated)
sandersd (OOO until July 31)
6 years, 4 months ago (2014-08-21 01:03:10 UTC) #1
Pawel Osciak
https://codereview.chromium.org/491163002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/491163002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode185 content/common/gpu/media/vt_video_decode_accelerator.cc:185: frames_pending_decode_++; Client will keep calling Decode()s after it calls ...
6 years, 3 months ago (2014-08-27 08:25:20 UTC) #2
sandersd (OOO until July 31)
https://codereview.chromium.org/491163002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/491163002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode185 content/common/gpu/media/vt_video_decode_accelerator.cc:185: frames_pending_decode_++; On 2014/08/27 08:25:20, Pawel Osciak wrote: > Client ...
6 years, 3 months ago (2014-08-27 21:40:43 UTC) #3
Pawel Osciak
https://codereview.chromium.org/491163002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/491163002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode185 content/common/gpu/media/vt_video_decode_accelerator.cc:185: frames_pending_decode_++; On 2014/08/27 21:40:43, sandersd wrote: > On 2014/08/27 ...
6 years, 3 months ago (2014-08-28 12:09:12 UTC) #4
sandersd (OOO until July 31)
> This class implements VideoDecodeAccelerator, not VideoDecoder :) > GpuVideoDecoder, the VideoDecoder implementation that is ...
6 years, 3 months ago (2014-08-28 18:12:56 UTC) #5
Pawel Osciak
On 2014/08/28 18:12:56, sandersd wrote: > > This class implements VideoDecodeAccelerator, not VideoDecoder :) > ...
6 years, 3 months ago (2014-09-03 01:51:02 UTC) #6
sandersd (OOO until July 31)
A new state machine for you! > I think if you handle things by posting ...
6 years, 3 months ago (2014-09-24 01:13:24 UTC) #7
Pawel Osciak
https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode248 content/common/gpu/media/vt_video_decode_accelerator.cc:248: if (!data_size) { Could you explain? If there is ...
6 years, 3 months ago (2014-09-25 01:27:29 UTC) #8
sandersd (OOO until July 31)
https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode248 content/common/gpu/media/vt_video_decode_accelerator.cc:248: if (!data_size) { On 2014/09/25 01:27:29, Pawel Osciak wrote: ...
6 years, 2 months ago (2014-09-25 19:18:53 UTC) #9
Pawel Osciak
https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode386 content/common/gpu/media/vt_video_decode_accelerator.cc:386: pending_actions_.front().bitstream_id == bitstream_id) { On 2014/09/25 19:18:53, sandersd wrote: ...
6 years, 2 months ago (2014-09-26 04:25:08 UTC) #10
sandersd (OOO until July 31)
https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode386 content/common/gpu/media/vt_video_decode_accelerator.cc:386: pending_actions_.front().bitstream_id == bitstream_id) { On 2014/09/26 04:25:07, Pawel Osciak ...
6 years, 2 months ago (2014-09-26 04:56:41 UTC) #11
Pawel Osciak
https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode413 content/common/gpu/media/vt_video_decode_accelerator.cc:413: return; On 2014/09/26 04:56:41, sandersd wrote: > On 2014/09/26 ...
6 years, 2 months ago (2014-09-26 05:20:30 UTC) #12
sandersd (OOO until July 31)
https://codereview.chromium.org/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode413 content/common/gpu/media/vt_video_decode_accelerator.cc:413: return; On 2014/09/26 05:20:30, Pawel Osciak wrote: > On ...
6 years, 2 months ago (2014-09-26 06:56:02 UTC) #13
Pawel Osciak
Thanks. ProcessDecodedFrames is much more readable now. lgtm % nits, give that you'd need another ...
6 years, 2 months ago (2014-09-26 15:30:49 UTC) #14
sandersd (OOO until July 31)
https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/491163002/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode522 content/common/gpu/media/vt_video_decode_accelerator.cc:522: DCHECK(CalledOnValidThread()); On 2014/09/26 15:30:49, Pawel Osciak wrote: > On ...
6 years, 2 months ago (2014-09-26 17:28:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/491163002/160001
6 years, 2 months ago (2014-09-26 17:31:29 UTC) #17
commit-bot: I haz the power
Committed patchset #9 (id:160001) as e0177ce8bec5f56627805fe3a0e2014dfc7e0a31
6 years, 2 months ago (2014-09-26 18:07:15 UTC) #18
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 18:07:52 UTC) #19
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/063dbc21c6cef08fcfec2bce1290d76358a323ba
Cr-Commit-Position: refs/heads/master@{#296980}

Powered by Google App Engine
This is Rietveld 408576698