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

Issue 1420883004: Multibuffer reader implementation (Closed)

Created:
5 years, 1 month ago by hubbe
Modified:
5 years, 1 month ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@media_cache
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Multibuffer reader implementation Provides a simpler, byte-oriented api for getting data out of a multibuffer. This CL also has the unit tests for the multibuffer itself. (Since those tests uses the MultiBufferReader class.) Depends on: https://codereview.chromium.org/1165903002 Media cache design doc: https://docs.google.com/document/d/15q6LTG0iDUe30QcoMtj4XNmKCa_7W_Q2uUIPFsJhS1E/edit BUG=514719, 557589 Committed: https://crrev.com/f8b2532f9f9b4a35f396602bb80dfc34ee102fe4 Cr-Commit-Position: refs/heads/master@{#360244} Committed: https://crrev.com/a527d792237832e0040b60225fec2dde22df5023 Cr-Commit-Position: refs/heads/master@{#360451}

Patch Set 1 #

Patch Set 2 : merged #

Patch Set 3 : merged #

Patch Set 4 : merged #

Total comments: 16

Patch Set 5 : comments addressed #

Patch Set 6 : iterator fix + speed up random tests 3x #

Unified diffs Side-by-side diffs Delta from patch set Stats (+916 lines, -5 lines) Patch
M media/blink/BUILD.gn View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M media/blink/interval_map.h View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M media/blink/media_blink.gyp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
A media/blink/multibuffer_reader.h View 1 2 3 4 1 chunk +158 lines, -0 lines 0 comments Download
A media/blink/multibuffer_reader.cc View 1 2 3 4 1 chunk +237 lines, -0 lines 0 comments Download
A media/blink/multibuffer_unittest.cc View 1 2 3 4 5 1 chunk +512 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
hubbe
5 years, 1 month ago (2015-11-12 22:21:55 UTC) #2
DaleCurtis
Just some minor stuff. I like the control flow in this much better. lgtm % ...
5 years, 1 month ago (2015-11-17 06:56:06 UTC) #3
hubbe
PTAL https://codereview.chromium.org/1420883004/diff/60001/media/blink/multibuffer_reader.cc File media/blink/multibuffer_reader.cc (right): https://codereview.chromium.org/1420883004/diff/60001/media/blink/multibuffer_reader.cc#newcode19 media/blink/multibuffer_reader.cc:19: end_(end == -1LL ? (1LL << (multibuffer->block_size_shift() + ...
5 years, 1 month ago (2015-11-17 23:40:18 UTC) #4
DaleCurtis
lgtm, I still think there's an easier way to indirect, but can't figure it out ...
5 years, 1 month ago (2015-11-18 00:46:34 UTC) #5
hubbe
On 2015/11/18 00:46:34, DaleCurtis wrote: > lgtm, I still think there's an easier way to ...
5 years, 1 month ago (2015-11-18 00:47:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420883004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420883004/80001
5 years, 1 month ago (2015-11-18 00:49:31 UTC) #8
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-18 01:08:17 UTC) #9
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/f8b2532f9f9b4a35f396602bb80dfc34ee102fe4 Cr-Commit-Position: refs/heads/master@{#360244}
5 years, 1 month ago (2015-11-18 01:08:58 UTC) #10
msramek
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1456903002/ by msramek@chromium.org. ...
5 years, 1 month ago (2015-11-18 09:27:49 UTC) #11
hubbe
Dale, do you want to take a look at my changes while the trybots are ...
5 years, 1 month ago (2015-11-18 19:26:23 UTC) #14
DaleCurtis
lgtm
5 years, 1 month ago (2015-11-18 19:29:24 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420883004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420883004/100001
5 years, 1 month ago (2015-11-18 21:57:35 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-11-19 00:12:25 UTC) #18
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 00:13:14 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a527d792237832e0040b60225fec2dde22df5023
Cr-Commit-Position: refs/heads/master@{#360451}

Powered by Google App Engine
This is Rietveld 408576698