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

Issue 791573002: fix video_decode_accelerator_unittest issue when decode speed is slow (Closed)

Created:
6 years ago by halley.zhao
Modified:
4 years, 11 months ago
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

fix video_decode_accelerator_unittest issue when decode speed is slow when decode speed is slow, a BitstreamBuffer is released after the EOS-DecodeNextFragment(), trigger DecodeNextFragment again in NotifyEndOfBitstreamBuffer (it will flush decode). BUG=439831

Patch Set 1 : please Ignore it #

Patch Set 2 : please ignore it #

Patch Set 3 : Fix issue in video unit test that Flush/Reset is not reached when decode speed is slow #

Total comments: 2

Patch Set 4 : fix video_decode_accelerator_unittest issue when decode speed is slow #

Total comments: 5

Patch Set 5 : fix video_decode_accelerator_unittest issue when decoding is slow #

Total comments: 1

Patch Set 6 : fix video_decode_accelerator_unittest issue when decoding is slow #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M AUTHORS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 5 2 chunks +9 lines, -7 lines 3 comments Download

Messages

Total messages: 26 (10 generated)
halley.zhao
6 years ago (2014-12-09 06:11:47 UTC) #2
halley.zhao
6 years ago (2014-12-09 06:12:52 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/791573002/diff/20001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/791573002/diff/20001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode550 content/common/gpu/media/video_decode_accelerator_unittest.cc:550: // when decode speed is slow, a BitstreamBuffer is ...
6 years ago (2014-12-09 14:27:36 UTC) #9
Pawel Osciak
Please explain in more detail the problem you are experiencing and submit a crbug.com/new for ...
6 years ago (2014-12-10 12:57:07 UTC) #10
halley.zhao
On 2014/12/10 12:57:07, Pawel Osciak wrote: > Please explain in more detail the problem you ...
6 years ago (2014-12-10 23:29:48 UTC) #11
halley.zhao
On 2014/12/09 14:27:36, Alexei Svitkine wrote: > https://codereview.chromium.org/791573002/diff/20001/content/common/gpu/media/video_decode_accelerator_unittest.cc > File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): > > https://codereview.chromium.org/791573002/diff/20001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode550 ...
6 years ago (2014-12-11 00:46:50 UTC) #12
Alexei Svitkine (slow)
Removing myself from reviewers and adding ccameron who hopefully knows the code a bit more ...
6 years ago (2014-12-11 21:52:57 UTC) #15
halley.zhao
anyone can give some comments?
5 years, 11 months ago (2015-01-08 02:45:56 UTC) #17
Pawel Osciak
5 years, 11 months ago (2015-01-08 04:13:22 UTC) #19
Owen Lin
https://codereview.chromium.org/791573002/diff/40001/AUTHORS File AUTHORS (right): https://codereview.chromium.org/791573002/diff/40001/AUTHORS#newcode525 AUTHORS:525: Halley Zhao <halley.zhao@intel.com> I think this file is sorted. ...
5 years, 11 months ago (2015-01-08 06:26:08 UTC) #20
halley.zhao
> https://codereview.chromium.org/791573002/diff/40001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode556 > content/common/gpu/media/video_decode_accelerator_unittest.cc:556: > DecodeNextFragment(); > How could you prevent to flush the decoder ...
5 years, 11 months ago (2015-01-09 08:30:06 UTC) #21
Owen Lin
lgtm % a nit Hi Pawel, can you do a owner review of this CL? ...
5 years, 11 months ago (2015-01-14 06:25:51 UTC) #22
halley.zhao
On 2015/01/14 06:25:51, Owen Lin wrote: > lgtm % a nit > > Hi Pawel, ...
5 years, 11 months ago (2015-01-14 06:51:16 UTC) #23
Pawel Osciak
https://codereview.chromium.org/791573002/diff/80001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/791573002/diff/80001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode550 content/common/gpu/media/video_decode_accelerator_unittest.cc:550: // flush decoder after all BitstreamBuffer are processed Comments ...
5 years, 11 months ago (2015-01-20 02:18:00 UTC) #24
Owen Lin
https://codereview.chromium.org/791573002/diff/80001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/791573002/diff/80001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode552 content/common/gpu/media/video_decode_accelerator_unittest.cc:552: outstanding_decodes_ == 0) { On 2015/01/20 02:18:00, Pawel Osciak ...
5 years, 11 months ago (2015-01-20 02:43:01 UTC) #25
Owen Lin
5 years, 3 months ago (2015-08-31 08:33:40 UTC) #26
Halley,

Could you please address Pawel's comments. We may need to merge this patch soon.
So many thanks.

Powered by Google App Engine
This is Rietveld 408576698