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

Issue 686283002: Vaapi VEA: always generate IDR when keyframe is requested. (Closed)

Created:
6 years, 1 month ago by hshi1
Modified:
6 years, 1 month 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

Vaapi VEA: always generate IDR when keyframe is requested. We need a full IDR frame (not just I slices) when requesting keyframe because we need all the reference buffers to be reset. BUG=424443 TEST=verify with video_encode_accelerator_unittest and H264 test app on squawks and daisy Committed: https://crrev.com/d084d1941411477fb4a11cc9ce1c2a5fd73ecea8 Cr-Commit-Position: refs/heads/master@{#302306}

Patch Set 1 #

Total comments: 2

Patch Set 2 : idr_period is not i_period #

Patch Set 3 : Update unittest. #

Total comments: 2

Patch Set 4 : Fix test failure - forgot to set current_encode_job_->keyframe. #

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

Messages

Total messages: 17 (3 generated)
hshi1
PTAL - per our discussion in the bug, we need full IDR (not just I ...
6 years, 1 month ago (2014-10-29 21:17:04 UTC) #2
Pawel Osciak
Please also test with the unittest. https://codereview.chromium.org/686283002/diff/1/content/common/gpu/media/vaapi_video_encode_accelerator.cc File content/common/gpu/media/vaapi_video_encode_accelerator.cc (left): https://codereview.chromium.org/686283002/diff/1/content/common/gpu/media/vaapi_video_encode_accelerator.cc#oldcode294 content/common/gpu/media/vaapi_video_encode_accelerator.cc:294: if (current_pic_.frame_num % ...
6 years, 1 month ago (2014-10-30 00:09:46 UTC) #3
hshi1
Question on unittest: are you suggesting that I add a new file vaapi_video_encode_accelerator_unittest.cc to verify ...
6 years, 1 month ago (2014-10-30 00:18:01 UTC) #4
Pawel Osciak
On 2014/10/30 00:18:01, hshi1 wrote: > Question on unittest: are you suggesting that I add ...
6 years, 1 month ago (2014-10-30 00:38:46 UTC) #5
hshi1
On 2014/10/30 00:38:46, Pawel Osciak wrote: > On 2014/10/30 00:18:01, hshi1 wrote: > > Question ...
6 years, 1 month ago (2014-10-30 01:00:26 UTC) #6
Pawel Osciak
https://codereview.chromium.org/686283002/diff/40001/content/common/gpu/media/video_encode_accelerator_unittest.cc File content/common/gpu/media/video_encode_accelerator_unittest.cc (right): https://codereview.chromium.org/686283002/diff/40001/content/common/gpu/media/video_encode_accelerator_unittest.cc#newcode398 content/common/gpu/media/video_encode_accelerator_unittest.cc:398: keyframe = true; Please instead move keyframe = true ...
6 years, 1 month ago (2014-10-30 01:38:33 UTC) #7
hshi1
https://codereview.chromium.org/686283002/diff/40001/content/common/gpu/media/video_encode_accelerator_unittest.cc File content/common/gpu/media/video_encode_accelerator_unittest.cc (right): https://codereview.chromium.org/686283002/diff/40001/content/common/gpu/media/video_encode_accelerator_unittest.cc#newcode398 content/common/gpu/media/video_encode_accelerator_unittest.cc:398: keyframe = true; On 2014/10/30 01:38:33, Pawel Osciak wrote: ...
6 years, 1 month ago (2014-10-30 03:48:25 UTC) #8
hshi1
PTAL - this is passing on both Intel (squawks) and ARM (daisy).
6 years, 1 month ago (2014-10-30 19:06:25 UTC) #9
hshi1
+Dale (owner of content/renderer/media) I've already chatted with Pawel last night and ran tests on ...
6 years, 1 month ago (2014-10-30 19:29:44 UTC) #11
Pawel Osciak
lgtm % nit: Please update the TEST= line
6 years, 1 month ago (2014-10-31 06:23:40 UTC) #12
DaleCurtis
rs lgtm
6 years, 1 month ago (2014-10-31 18:08:51 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/686283002/60001
6 years, 1 month ago (2014-10-31 18:35:11 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-10-31 19:17:21 UTC) #16
commit-bot: I haz the power
6 years, 1 month ago (2014-10-31 19:18:26 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d084d1941411477fb4a11cc9ce1c2a5fd73ecea8
Cr-Commit-Position: refs/heads/master@{#302306}

Powered by Google App Engine
This is Rietveld 408576698