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

Issue 1258083004: Add a Vp9Parser implementation (Closed)

Created:
5 years, 4 months ago by kcwu
Modified:
4 years, 9 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, chcunningham
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a Vp9Parser implementation Add a class for parsing VP9 bitstreams as described in VP9 draft spec and libvpx. Also add tests for it to media_unittests. TEST=media_unittests for Vp9Parser BUG=509500 Committed: https://crrev.com/2c5ec1f7703801d794e8b50b1be5753daba187ff Cr-Commit-Position: refs/heads/master@{#342792}

Patch Set 1 #

Patch Set 2 : remove dependent files from this CL #

Total comments: 51

Patch Set 3 : #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : nits #

Total comments: 42

Patch Set 6 : move ref slots back to Vp9Parser #

Total comments: 10

Patch Set 7 : #

Patch Set 8 : rebase #

Patch Set 9 : ReadBool, fix compile warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+787 lines, -14 lines) Patch
M media/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
A media/filters/vp9_parser.h View 1 2 3 4 5 6 1 chunk +220 lines, -0 lines 0 comments Download
A media/filters/vp9_parser.cc View 1 2 3 4 5 6 7 8 1 chunk +400 lines, -0 lines 0 comments Download
A media/filters/vp9_parser_unittest.cc View 1 2 3 4 5 1 chunk +147 lines, -0 lines 0 comments Download
M media/filters/vp9_raw_bits_reader.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M media/filters/vp9_raw_bits_reader.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/vp9_raw_bits_reader_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -10 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (9 generated)
kcwu
PTAL This CL depends on https://codereview.chromium.org/1269473002/ IVF parser, and https://codereview.chromium.org/1258083003/ VP9RawBitReader.
5 years, 4 months ago (2015-07-29 13:46:06 UTC) #2
kcwu
Pawel, Does Vp9Parser need to support out of order parsing? (Should it return succeeded or ...
5 years, 4 months ago (2015-07-29 14:24:52 UTC) #3
Pawel Osciak
https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc#newcode13 media/filters/vp9_parser.cc:13: int GetMinLog2TileCols(int sb64_cols) { static? Also please document what ...
5 years, 4 months ago (2015-07-30 08:27:38 UTC) #4
kcwu1
https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc#newcode52 media/filters/vp9_parser.cc:52: return false; On 2015/07/30 08:27:38, Pawel Osciak wrote: > ...
5 years, 4 months ago (2015-07-30 08:55:49 UTC) #7
Pawel Osciak
https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc#newcode52 media/filters/vp9_parser.cc:52: return false; On 2015/07/30 08:55:49, kcwu1 wrote: > On ...
5 years, 4 months ago (2015-07-30 08:59:24 UTC) #8
kcwu1
https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc#newcode284 media/filters/vp9_parser.cc:284: if (reader_.IsOutOfBuffer()) { On 2015/07/30 08:59:24, Pawel Osciak wrote: ...
5 years, 4 months ago (2015-07-30 09:04:15 UTC) #9
Pawel Osciak
On 2015/07/30 09:04:15, kcwu1 wrote: > https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc > File media/filters/vp9_parser.cc (right): > > https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc#newcode284 > ...
5 years, 4 months ago (2015-07-30 09:05:09 UTC) #10
Pawel Osciak
https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc#newcode198 media/filters/vp9_parser.cc:198: if (reader_.ReadBit()) { Please store this in frame header ...
5 years, 4 months ago (2015-07-30 11:52:31 UTC) #11
kcwu1
https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://chromiumcodereview.appspot.com/1258083004/diff/20001/media/filters/vp9_parser.cc#newcode52 media/filters/vp9_parser.cc:52: return false; On 2015/07/30 08:59:24, Pawel Osciak wrote: > ...
5 years, 4 months ago (2015-07-31 04:36:02 UTC) #12
kcwu
All comments are addressed. PTAL. https://codereview.chromium.org/1258083004/diff/20001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://codereview.chromium.org/1258083004/diff/20001/media/filters/vp9_parser.cc#newcode13 media/filters/vp9_parser.cc:13: int GetMinLog2TileCols(int sb64_cols) { ...
5 years, 4 months ago (2015-07-31 08:51:51 UTC) #13
Owen Lin
https://chromiumcodereview.appspot.com/1258083004/diff/60001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://chromiumcodereview.appspot.com/1258083004/diff/60001/media/filters/vp9_parser.cc#newcode70 media/filters/vp9_parser.cc:70: fhdr->bit_depth = 12; reader_.ReadBit() ? 12 : 10. https://chromiumcodereview.appspot.com/1258083004/diff/60001/media/filters/vp9_parser.cc#newcode203 ...
5 years, 4 months ago (2015-07-31 13:34:00 UTC) #14
Pawel Osciak
https://chromiumcodereview.appspot.com/1258083004/diff/80001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://chromiumcodereview.appspot.com/1258083004/diff/80001/media/filters/vp9_parser.cc#newcode128 media/filters/vp9_parser.cc:128: 1 <= fhdr->height && fhdr->height <= kMaxDimension)) { if ...
5 years, 4 months ago (2015-08-01 15:22:49 UTC) #15
Ville-Mikko Rautio
https://codereview.chromium.org/1258083004/diff/80001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://codereview.chromium.org/1258083004/diff/80001/media/filters/vp9_parser.cc#newcode68 media/filters/vp9_parser.cc:68: if (fhdr->profile >= 2) { if (profile == 2 ...
5 years, 4 months ago (2015-08-02 23:43:50 UTC) #16
Pawel Osciak
https://codereview.chromium.org/1258083004/diff/80001/media/filters/vp9_parser.h File media/filters/vp9_parser.h (right): https://codereview.chromium.org/1258083004/diff/80001/media/filters/vp9_parser.h#newcode43 media/filters/vp9_parser.h:43: // Member of Vp9FrameHeader and will be 0-initialized in ...
5 years, 4 months ago (2015-08-02 23:58:15 UTC) #17
kcwu
https://codereview.chromium.org/1258083004/diff/60001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://codereview.chromium.org/1258083004/diff/60001/media/filters/vp9_parser.cc#newcode70 media/filters/vp9_parser.cc:70: fhdr->bit_depth = 12; On 2015/07/31 13:34:00, Owen Lin wrote: ...
5 years, 4 months ago (2015-08-03 10:05:53 UTC) #18
Ville-Mikko Rautio
LGTM I still think Vp9Parser would be cleaner with PIMPL but I will leave it ...
5 years, 4 months ago (2015-08-03 14:59:37 UTC) #19
Pawel Osciak
lgtm % nits https://chromiumcodereview.appspot.com/1258083004/diff/100001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://chromiumcodereview.appspot.com/1258083004/diff/100001/media/filters/vp9_parser.cc#newcode116 media/filters/vp9_parser.cc:116: if (fhdr->width < 1 || fhdr->width ...
5 years, 4 months ago (2015-08-05 07:46:33 UTC) #20
kcwu
5 years, 4 months ago (2015-08-05 08:14:59 UTC) #21
kcwu
@xhwang, owner review, please. Thanks https://chromiumcodereview.appspot.com/1258083004/diff/100001/media/filters/vp9_parser.cc File media/filters/vp9_parser.cc (right): https://chromiumcodereview.appspot.com/1258083004/diff/100001/media/filters/vp9_parser.cc#newcode116 media/filters/vp9_parser.cc:116: if (fhdr->width < 1 ...
5 years, 4 months ago (2015-08-05 08:42:40 UTC) #23
xhwang
rs lgtm
5 years, 4 months ago (2015-08-07 21:12:18 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1258083004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1258083004/140001
5 years, 4 months ago (2015-08-10 12:19:49 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/91126)
5 years, 4 months ago (2015-08-10 12:43:09 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1258083004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1258083004/160001
5 years, 4 months ago (2015-08-11 05:51:16 UTC) #32
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 4 months ago (2015-08-11 05:55:26 UTC) #33
commit-bot: I haz the power
5 years, 4 months ago (2015-08-11 05:56:06 UTC) #34
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/2c5ec1f7703801d794e8b50b1be5753daba187ff
Cr-Commit-Position: refs/heads/master@{#342792}

Powered by Google App Engine
This is Rietveld 408576698