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

Issue 706023004: Collect VTVideoDecodeAccelerator frames into a work queue (Closed)

Created:
6 years, 1 month ago by sandersd (OOO until July 31)
Modified:
6 years, 1 month ago
Reviewers:
*DaleCurtis, *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@vt_config_change
Project:
chromium
Visibility:
Public.

Description

Collect frames into a work queue to simplify the state machine. This corrects a bug with flushing and will make it easier to implement the reorder queue. BUG=133828 Committed: https://crrev.com/9f5942b3e57bb17b1585bc80792c262044bc23b9 Cr-Commit-Position: refs/heads/master@{#305098}

Patch Set 1 #

Total comments: 32

Patch Set 2 : Address comments. #

Patch Set 3 : Rebase. #

Total comments: 5

Patch Set 4 : Switch to ThreadChecker. #

Total comments: 10

Patch Set 5 : Address comments. #

Patch Set 6 : Actually change the correct constant. #

Patch Set 7 : Remove calls to weak_this_factory_. #

Patch Set 8 : Rebase. #

Patch Set 9 : Work around PPAPI test failure. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+367 lines, -440 lines) Patch
M content/common/gpu/media/vt_video_decode_accelerator.h View 1 2 3 4 5 6 7 chunks +74 lines, -84 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 15 chunks +287 lines, -356 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (9 generated)
sandersd (OOO until July 31)
Ignore gpu_video_decoder.cc, it's just a hack to force YouTube go through the H.264 path. It ...
6 years, 1 month ago (2014-11-07 01:53:00 UTC) #2
DaleCurtis
Whoops sorry, forgot to hit submit on my first round of comments. Still digging through ...
6 years, 1 month ago (2014-11-10 20:48:03 UTC) #3
DaleCurtis
https://codereview.chromium.org/706023004/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/706023004/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode177 content/common/gpu/media/vt_video_decode_accelerator.cc:177: VTDecompressionSessionCanAcceptFormatDescription(session_, format_)) Multiline if should keep {} https://codereview.chromium.org/706023004/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode333 content/common/gpu/media/vt_video_decode_accelerator.cc:333: ...
6 years, 1 month ago (2014-11-10 21:10:39 UTC) #4
sandersd (OOO until July 31)
https://codereview.chromium.org/706023004/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/706023004/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode139 content/common/gpu/media/vt_video_decode_accelerator.cc:139: std::vector<const uint8_t*> nalu_data_ptrs; On 2014/11/10 20:48:02, DaleCurtis wrote: > ...
6 years, 1 month ago (2014-11-11 18:46:07 UTC) #5
DaleCurtis
https://codereview.chromium.org/706023004/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/706023004/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode304 content/common/gpu/media/vt_video_decode_accelerator.cc:304: LOG(ERROR) << "Invalid configuration data"; On 2014/11/11 18:46:07, sandersd ...
6 years, 1 month ago (2014-11-11 21:02:34 UTC) #6
sandersd (OOO until July 31)
https://codereview.chromium.org/706023004/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/706023004/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode304 content/common/gpu/media/vt_video_decode_accelerator.cc:304: LOG(ERROR) << "Invalid configuration data"; On 2014/11/11 21:02:34, DaleCurtis ...
6 years, 1 month ago (2014-11-11 22:14:39 UTC) #7
DaleCurtis
lgtm, but again, you'll need someone with more VDA experience for final approval. https://codereview.chromium.org/706023004/diff/40001/content/common/gpu/media/vt_video_decode_accelerator.cc File ...
6 years, 1 month ago (2014-11-11 23:28:39 UTC) #8
DaleCurtis
Oh, the bug number is messed up above too.
6 years, 1 month ago (2014-11-11 23:29:08 UTC) #9
sandersd (OOO until July 31)
posciak: please take a look for VDA API.
6 years, 1 month ago (2014-11-12 00:57:41 UTC) #11
Pawel Osciak
I'm really liking the changes. https://chromiumcodereview.appspot.com/706023004/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/706023004/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode38 content/common/gpu/media/vt_video_decode_accelerator.cc:38: static const int kNumPictureBuffers ...
6 years, 1 month ago (2014-11-12 12:57:31 UTC) #12
sandersd (OOO until July 31)
https://chromiumcodereview.appspot.com/706023004/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/706023004/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode38 content/common/gpu/media/vt_video_decode_accelerator.cc:38: static const int kNumPictureBuffers = 5; On 2014/11/12 12:57:30, ...
6 years, 1 month ago (2014-11-13 00:05:45 UTC) #13
sandersd (OOO until July 31)
posciak: ping?
6 years, 1 month ago (2014-11-14 19:15:55 UTC) #15
Pawel Osciak
lgtm https://chromiumcodereview.appspot.com/706023004/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/706023004/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode38 content/common/gpu/media/vt_video_decode_accelerator.cc:38: static const int kNumPictureBuffers = 5; On 2014/11/13 ...
6 years, 1 month ago (2014-11-15 03:28:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/706023004/140001
6 years, 1 month ago (2014-11-18 20:56:06 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/6726)
6 years, 1 month ago (2014-11-18 23:01:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/706023004/160001
6 years, 1 month ago (2014-11-19 23:18:05 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/7228)
6 years, 1 month ago (2014-11-20 00:38:48 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/706023004/180001
6 years, 1 month ago (2014-11-20 22:03:57 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:180001)
6 years, 1 month ago (2014-11-20 22:56:57 UTC) #28
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 22:57:35 UTC) #29
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/9f5942b3e57bb17b1585bc80792c262044bc23b9
Cr-Commit-Position: refs/heads/master@{#305098}

Powered by Google App Engine
This is Rietveld 408576698