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

Issue 290643003: veatest: Fixes for bitrate tests. (Closed)

Created:
6 years, 7 months ago by Pawel Osciak
Modified:
6 years, 7 months ago
CC:
chromium-reviews, fischman+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
Visibility:
Public.

Description

veatest: Fixes for bitrate tests. - introduce a minimum number of frames for bitrate tests; if a stream is too short, loop it over as many times as needed to reach that minimum - instead of using additional black frames to flush the encoder at the end of encode, just rewind and reuse frames from the beginning; this also eliminates the need for the CS_FINISHING state; - switch to a more demanding/varied stream for bitrate tests (bear) - also move the starting point of encoder FPS calculation from Initialize() to after setting up the buffers to slightly better estimate actual encoder performance - minor additions to the documentation of and fixes for input buffer size calculation - add ifdefs to only check alignment on ARM BUG=366158 TEST=run test, ensure bitrates converge properly on relevant platforms Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272864

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update test stream filename. #

Patch Set 3 : rebase #

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

Messages

Total messages: 12 (0 generated)
Pawel Osciak
ptal
6 years, 7 months ago (2014-05-16 10:33:04 UTC) #1
Pawel Osciak
ptal
6 years, 7 months ago (2014-05-16 10:33:05 UTC) #2
Ami GONE FROM CHROMIUM
LGTM https://codereview.chromium.org/290643003/diff/1/content/common/gpu/media/video_encode_accelerator_unittest.cc File content/common/gpu/media/video_encode_accelerator_unittest.cc (right): https://codereview.chromium.org/290643003/diff/1/content/common/gpu/media/video_encode_accelerator_unittest.cc#newcode82 content/common/gpu/media/video_encode_accelerator_unittest.cc:82: const char* g_default_in_filename = "bear_192p40_frames.yuv"; why this change?
6 years, 7 months ago (2014-05-16 18:00:50 UTC) #3
Pawel Osciak
https://codereview.chromium.org/290643003/diff/1/content/common/gpu/media/video_encode_accelerator_unittest.cc File content/common/gpu/media/video_encode_accelerator_unittest.cc (right): https://codereview.chromium.org/290643003/diff/1/content/common/gpu/media/video_encode_accelerator_unittest.cc#newcode82 content/common/gpu/media/video_encode_accelerator_unittest.cc:82: const char* g_default_in_filename = "bear_192p40_frames.yuv"; On 2014/05/16 18:00:50, Ami ...
6 years, 7 months ago (2014-05-16 22:49:16 UTC) #4
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 7 months ago (2014-05-26 04:35:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/290643003/40001
6 years, 7 months ago (2014-05-26 04:35:47 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-26 06:31:48 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 06:32:36 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/10584)
6 years, 7 months ago (2014-05-26 06:32:37 UTC) #9
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 7 months ago (2014-05-26 08:31:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/290643003/40001
6 years, 7 months ago (2014-05-26 08:31:37 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-26 19:26:43 UTC) #12
Message was sent while issue was closed.
Change committed as 272864

Powered by Google App Engine
This is Rietveld 408576698