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

Issue 195012: Media bench add -hash, 64 bit IO, and some cleanup of dump (Closed)

Created:
11 years, 3 months ago by fbarchard
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, scherkus (not reviewing), Alpha Left Google
Visibility:
Public.

Description

Media bench add -hash, 64 bit IO, and some cleanup of dump BUG=21126 TEST=use media_bench -hash and it compare txt files instead of raw dump output. Should be substantially faster. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25563

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 11

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 1

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -12 lines) Patch
M media/bench/bench.cc View 1 2 3 4 8 chunks +43 lines, -11 lines 0 comments Download
M media/bench/file_protocol.cc View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
fbarchard
hashing to speed up comparisons of large files
11 years, 3 months ago (2009-09-04 16:24:39 UTC) #1
Alpha Left Google
LGTM
11 years, 3 months ago (2009-09-04 16:47:19 UTC) #2
scherkus (not reviewing)
http://codereview.chromium.org/195012/diff/1002/2003 File media/bench/bench.cc (right): http://codereview.chromium.org/195012/diff/1002/2003#newcode40 Line 40: unsigned int hash_djb2(const uint8* s, we already have ...
11 years, 3 months ago (2009-09-04 16:52:43 UTC) #3
fbarchard
http://codereview.chromium.org/195012/diff/1002/2003 File media/bench/bench.cc (right): http://codereview.chromium.org/195012/diff/1002/2003#newcode40 Line 40: unsigned int hash_djb2(const uint8* s, I don't see ...
11 years, 3 months ago (2009-09-04 17:17:31 UTC) #4
awong
http://codereview.chromium.org/195012/diff/1002/2003 File media/bench/bench.cc (right): http://codereview.chromium.org/195012/diff/1002/2003#newcode40 Line 40: unsigned int hash_djb2(const uint8* s, On 2009/09/04 17:17:31, ...
11 years, 3 months ago (2009-09-04 17:36:47 UTC) #5
scherkus (not reviewing)
If you contibute to /base add deanm as a reviewer, if not that's ok. I ...
11 years, 3 months ago (2009-09-04 20:43:43 UTC) #6
fbarchard
I've prepared a base/djb2.h for review. But it'll be a couple steps to get that ...
11 years, 3 months ago (2009-09-04 21:31:52 UTC) #7
fbarchard
changed ifdef to OS_WINDOWS
11 years, 3 months ago (2009-09-04 22:06:08 UTC) #8
scherkus (not reviewing)
Cool! My iPhone doesn't make the best code reviewing tool, so I can't provide any ...
11 years, 3 months ago (2009-09-04 22:12:51 UTC) #9
awong
On 2009/09/04 22:12:51, scherkus wrote: > Cool! My iPhone doesn't make the best code reviewing ...
11 years, 3 months ago (2009-09-04 23:33:25 UTC) #10
awong
http://codereview.chromium.org/195012/diff/1002/2003 File media/bench/bench.cc (right): http://codereview.chromium.org/195012/diff/1002/2003#newcode318 Line 318: if (hash) { Maybe collapse this to be ...
11 years, 3 months ago (2009-09-04 23:35:07 UTC) #11
fbarchard
fixed default arg
11 years, 3 months ago (2009-09-04 23:58:48 UTC) #12
awong
LGTM With the one change listed below. As to moving the loops, up to you. ...
11 years, 3 months ago (2009-09-05 00:02:24 UTC) #13
fbarchard
commenting on for loop http://codereview.chromium.org/195012/diff/1002/2003 File media/bench/bench.cc (right): http://codereview.chromium.org/195012/diff/1002/2003#newcode318 Line 318: if (hash) { this ...
11 years, 3 months ago (2009-09-05 00:03:43 UTC) #14
awong
> > http://codereview.chromium.org/195012/diff/1002/2003#newcode318 > Line 318: if (hash) { > this way is more efficient ...
11 years, 3 months ago (2009-09-05 00:08:45 UTC) #15
fbarchard
11 years, 3 months ago (2009-09-05 00:42:04 UTC) #16
basics are working, but there is something wrong with --stream=audio on m4a
files.  But it works on video and audio for ogg and mp3.

Powered by Google App Engine
This is Rietveld 408576698