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

Issue 113888: mediabench change to decode one extra frame, flushing ffmpeg-mt for the last ... (Closed)

Created:
11 years, 7 months ago by fbarchard
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

mediabench change to decode one extra frame, flushing ffmpeg-mt for the last frame. Allows single frame to be benchmarked with --video-threads=4 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17385

Patch Set 1 #

Total comments: 16

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 4

Patch Set 7 : '' #

Total comments: 6

Patch Set 8 : '' #

Total comments: 1

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -29 lines) Patch
M media/bench/bench.cc View 1 2 3 4 5 6 7 8 8 chunks +67 lines, -29 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
fbarchard
This change allows ffmpeg-mt to be benchmarked accurately, by flushing the last frame.
11 years, 7 months ago (2009-05-27 04:10:19 UTC) #1
scherkus (not reviewing)
http://codereview.chromium.org/113888/diff/1/2 File media/bench/bench.cc (right): http://codereview.chromium.org/113888/diff/1/2#newcode10 Line 10: // This tool requires ffmpeg DLL's built with ...
11 years, 7 months ago (2009-05-27 21:26:17 UTC) #2
fbarchard
done http://codereview.chromium.org/113888/diff/1/2 File media/bench/bench.cc (right): http://codereview.chromium.org/113888/diff/1/2#newcode10 Line 10: // This tool requires ffmpeg DLL's built ...
11 years, 7 months ago (2009-05-28 00:03:12 UTC) #3
scherkus (not reviewing)
http://codereview.chromium.org/113888/diff/1/2 File media/bench/bench.cc (right): http://codereview.chromium.org/113888/diff/1/2#newcode10 Line 10: // This tool requires ffmpeg DLL's built with ...
11 years, 7 months ago (2009-05-28 00:42:26 UTC) #4
fbarchard
uploaded fixes. even on error, the last packet should be decoded, allowing any decoding that ...
11 years, 7 months ago (2009-05-28 01:22:34 UTC) #5
scherkus (not reviewing)
fyi: not seeing the uploaded changes
11 years, 7 months ago (2009-05-28 01:24:39 UTC) #6
fbarchard
now its perfect :-)
11 years, 6 months ago (2009-05-29 23:00:53 UTC) #7
scherkus (not reviewing)
really tiny nits http://codereview.chromium.org/113888/diff/1012/13 File media/bench/bench.cc (right): http://codereview.chromium.org/113888/diff/1012/13#newcode208 Line 208: int got_picture = 0; any ...
11 years, 6 months ago (2009-06-02 01:39:20 UTC) #8
fbarchard
fixed. Also added support for unknown codecs (OGG Kate subtitle tracks) http://codereview.chromium.org/113888/diff/1012/13 File media/bench/bench.cc (right): ...
11 years, 6 months ago (2009-06-02 02:47:20 UTC) #9
scherkus (not reviewing)
http://codereview.chromium.org/113888/diff/1013/1014 File media/bench/bench.cc (right): http://codereview.chromium.org/113888/diff/1013/1014#newcode136 Line 136: if (codec_context->codec_type < 0) { given codec_type is ...
11 years, 6 months ago (2009-06-02 03:47:59 UTC) #10
fbarchard
Done. http://codereview.chromium.org/113888/diff/1013/1014 File media/bench/bench.cc (right): http://codereview.chromium.org/113888/diff/1013/1014#newcode136 Line 136: if (codec_context->codec_type < 0) { On 2009/06/02 ...
11 years, 6 months ago (2009-06-02 03:55:06 UTC) #11
scherkus (not reviewing)
11 years, 6 months ago (2009-06-02 04:04:37 UTC) #12
LGTM -- I'm not sure if this is being compiled on mac/linux at the moment, but
you may have a gcc incompatibility

http://codereview.chromium.org/113888/diff/1017/17
File media/bench/bench.cc (right):

http://codereview.chromium.org/113888/diff/1017/17#newcode267
Line 267: if (frames > 0) {
heads up: you may need to declare this as "0u" for gcc compatability (frames is
a size_t)

Powered by Google App Engine
This is Rietveld 408576698