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

Issue 418193003: Using PROFILE_ANY for vp8 and vp9 (Closed)

Created:
6 years, 4 months ago by amogh.bihani
Modified:
6 years, 4 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, imcheng+watch_chromium.org, posciak+watch_chromium.org, avayvod+watch_chromium.org, jam, mcasas+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, hguihot+watch_chromium.org, darin-cc_chromium.org, jasonroberts+watch_google.com, piman+watch_chromium.org, miu+watch_chromium.org, wjia+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org, bankoski, Yaowu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Using PROFILE_ANY for vp8 and vp9 VP8 and VP9 do not take profile into account. Using PROFILE_MAIN is confusing. This patch uses PROFILE_ANY for these codecs. TBR=noelallen@chromium.org BUG=361676 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289765

Patch Set 1 #

Total comments: 12

Patch Set 2 : Changing v8/9 profile name in pp_codec #

Patch Set 3 : Renaming not_needed to not_specified #

Patch Set 4 : fixing compile failures #

Total comments: 5

Patch Set 5 : Changing unpecified to not_applicable #

Patch Set 6 : Changing to Profile_any #

Patch Set 7 : clang fromatting #

Total comments: 5

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -58 lines) Patch
M content/common/gpu/media/android_video_decode_accelerator.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/android_video_encode_accelerator.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/v4l2_video_encode_accelerator.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/rtc_video_decoder.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/rtc_video_encoder_factory.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.cc View 1 2 3 4 5 1 chunk +2 lines, -4 lines 0 comments Download
M content/renderer/pepper/pepper_video_decoder_host.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/pepper/ppb_video_decoder_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/video_decoder_config.h View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M media/cast/sender/external_video_encoder.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/fake_video_encode_accelerator.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M media/ffmpeg/ffmpeg_common.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 2 3 4 5 2 chunks +48 lines, -18 lines 0 comments Download
M media/formats/webm/webm_video_client.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M native_client_sdk/src/examples/api/video_decode/video_decode.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ppapi/api/dev/pp_video_dev.idl View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ppapi/api/pp_codecs.idl View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/c/dev/pp_video_dev.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ppapi/c/pp_codecs.h View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/examples/video_decode/video_decode.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ppapi/tests/test_video_decoder.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 78 (0 generated)
amogh.bihani
PTAL. I have made the changes as noted in the bug. https://codereview.chromium.org/418193003/diff/1/media/base/assert_matching_enums.cc File media/base/assert_matching_enums.cc (right): ...
6 years, 4 months ago (2014-07-30 10:22:41 UTC) #1
xhwang
Thanks for taking this! Here are my first round of comments. +fgalligan: Will we have ...
6 years, 4 months ago (2014-07-30 21:21:41 UTC) #2
posciak1
Technically VP8 does have profiles (see the spec at http://www.rfc-editor.org/rfc/rfc6386.txt), but we don't really distinguish ...
6 years, 4 months ago (2014-07-31 03:37:46 UTC) #3
amogh.bihani
On 2014/07/31 03:37:46, posciak1 wrote: > Technically VP8 does have profiles (see the spec at ...
6 years, 4 months ago (2014-07-31 04:05:54 UTC) #4
Pawel Osciak
On 2014/07/31 04:05:54, amogh.bihani wrote: > On 2014/07/31 03:37:46, posciak1 wrote: > > Technically VP8 ...
6 years, 4 months ago (2014-07-31 04:07:50 UTC) #5
amogh.bihani
+r: teravest for ppapi and pepper. https://codereview.chromium.org/418193003/diff/1/content/renderer/pepper/pepper_video_decoder_host.cc File content/renderer/pepper/pepper_video_decoder_host.cc (right): https://codereview.chromium.org/418193003/diff/1/content/renderer/pepper/pepper_video_decoder_host.cc#newcode56 content/renderer/pepper/pepper_video_decoder_host.cc:56: case PP_VIDEOPROFILE_VP8MAIN: On ...
6 years, 4 months ago (2014-07-31 05:07:40 UTC) #6
teravest
+dmichael to confirm renaming enum members used by a dev channel API is okay. https://codereview.chromium.org/418193003/diff/60001/ppapi/api/pp_codecs.idl ...
6 years, 4 months ago (2014-07-31 15:35:28 UTC) #7
xhwang
https://codereview.chromium.org/418193003/diff/1/media/base/video_decoder_config.h File media/base/video_decoder_config.h (right): https://codereview.chromium.org/418193003/diff/1/media/base/video_decoder_config.h#newcode64 media/base/video_decoder_config.h:64: VP9PROFILE_MIN = 12, On 2014/07/31 05:07:40, amogh.bihani wrote: > ...
6 years, 4 months ago (2014-07-31 17:12:44 UTC) #8
dmichael (off chromium)
-teravest and dmichael, +bbudge for pepper https://codereview.chromium.org/418193003/diff/60001/ppapi/api/pp_codecs.idl File ppapi/api/pp_codecs.idl (right): https://codereview.chromium.org/418193003/diff/60001/ppapi/api/pp_codecs.idl#newcode21 ppapi/api/pp_codecs.idl:21: PP_VIDEOPROFILE_VP8PROFILE_UNSPECIFIED = 11, ...
6 years, 4 months ago (2014-07-31 17:31:49 UTC) #9
bbudge
Pepper changes LGTM although clients requesting VP8 or VP9 will have to edit to fix ...
6 years, 4 months ago (2014-07-31 17:51:49 UTC) #10
xhwang
On 2014/07/31 17:51:49, bbudge wrote: > Pepper changes LGTM although clients requesting VP8 or VP9 ...
6 years, 4 months ago (2014-07-31 17:54:29 UTC) #11
bbudge
https://codereview.chromium.org/418193003/diff/60001/ppapi/api/pp_codecs.idl File ppapi/api/pp_codecs.idl (right): https://codereview.chromium.org/418193003/diff/60001/ppapi/api/pp_codecs.idl#newcode21 ppapi/api/pp_codecs.idl:21: PP_VIDEOPROFILE_VP8PROFILE_UNSPECIFIED = 11, Naming suggestion - this is a ...
6 years, 4 months ago (2014-07-31 18:11:15 UTC) #12
fgalligan1
On 2014/07/31 17:54:29, xhwang wrote: > On 2014/07/31 17:51:49, bbudge wrote: > > Pepper changes ...
6 years, 4 months ago (2014-08-01 04:33:55 UTC) #13
amogh.bihani
xhwang@: I have changed the names to NOT_APPLICABLE, I had a concern regarding the other ...
6 years, 4 months ago (2014-08-01 05:16:24 UTC) #14
xhwang
On 2014/08/01 05:16:24, amogh.bihani wrote: > xhwang@: I have changed the names to NOT_APPLICABLE, I ...
6 years, 4 months ago (2014-08-01 23:20:01 UTC) #15
amogh.bihani
On 2014/08/01 23:20:01, xhwang wrote: > On 2014/08/01 05:16:24, amogh.bihani wrote: > > xhwang@: I ...
6 years, 4 months ago (2014-08-04 04:41:31 UTC) #16
Pawel Osciak
On 2014/08/04 04:41:31, amogh.bihani wrote: > On 2014/08/01 23:20:01, xhwang wrote: > > On 2014/08/01 ...
6 years, 4 months ago (2014-08-04 04:58:00 UTC) #17
Pawel Osciak
On 2014/08/04 04:58:00, Pawel Osciak wrote: > On 2014/08/04 04:41:31, amogh.bihani wrote: > > On ...
6 years, 4 months ago (2014-08-04 05:00:23 UTC) #18
xhwang
On 2014/08/04 05:00:23, Pawel Osciak wrote: > On 2014/08/04 04:58:00, Pawel Osciak wrote: > > ...
6 years, 4 months ago (2014-08-04 16:48:06 UTC) #19
amogh.bihani
> Sigh, the VideoCodecProfile enum gets a bit ambiguous here. In the above use > ...
6 years, 4 months ago (2014-08-05 02:55:45 UTC) #20
Pawel Osciak
On 2014/08/04 16:48:06, xhwang wrote: > On 2014/08/04 05:00:23, Pawel Osciak wrote: > > > ...
6 years, 4 months ago (2014-08-05 04:07:19 UTC) #21
Pawel Osciak
On 2014/08/05 02:55:45, amogh.bihani wrote: > > Sigh, the VideoCodecProfile enum gets a bit ambiguous ...
6 years, 4 months ago (2014-08-05 04:08:22 UTC) #22
xhwang
On 2014/08/05 04:08:22, Pawel Osciak wrote: > On 2014/08/05 02:55:45, amogh.bihani wrote: > > > ...
6 years, 4 months ago (2014-08-05 04:12:11 UTC) #23
amogh.bihani
On 2014/08/05 04:08:22, Pawel Osciak wrote: > On 2014/08/05 02:55:45, amogh.bihani wrote: > > > ...
6 years, 4 months ago (2014-08-05 04:14:18 UTC) #24
amogh.bihani
On 2014/08/05 04:14:18, amogh.bihani wrote: > On 2014/08/05 04:08:22, Pawel Osciak wrote: > > On ...
6 years, 4 months ago (2014-08-05 04:15:21 UTC) #25
Pawel Osciak
On 2014/08/05 04:12:11, xhwang wrote: > On 2014/08/05 04:08:22, Pawel Osciak wrote: > > On ...
6 years, 4 months ago (2014-08-05 04:15:42 UTC) #26
xhwang
On 2014/08/05 04:15:42, Pawel Osciak wrote: > On 2014/08/05 04:12:11, xhwang wrote: > > On ...
6 years, 4 months ago (2014-08-05 04:18:13 UTC) #27
amogh.bihani
On 2014/08/05 04:18:13, xhwang wrote: > On 2014/08/05 04:15:42, Pawel Osciak wrote: > > On ...
6 years, 4 months ago (2014-08-05 04:54:48 UTC) #28
amogh.bihani
On 2014/08/05 04:54:48, amogh.bihani wrote: > On 2014/08/05 04:18:13, xhwang wrote: > > On 2014/08/05 ...
6 years, 4 months ago (2014-08-06 15:06:36 UTC) #29
bbudge
Since VP8 and VP9 have the concept of profiles, but Chrome doesn't require (or allow) ...
6 years, 4 months ago (2014-08-06 15:51:39 UTC) #30
xhwang
On 2014/08/06 15:51:39, bbudge wrote: > Since VP8 and VP9 have the concept of profiles, ...
6 years, 4 months ago (2014-08-06 16:04:25 UTC) #31
amogh.bihani
On 2014/08/06 16:04:25, xhwang wrote: > On 2014/08/06 15:51:39, bbudge wrote: > > Since VP8 ...
6 years, 4 months ago (2014-08-07 05:08:20 UTC) #32
Pawel Osciak
content/common/gpu/media lgtm
6 years, 4 months ago (2014-08-07 05:17:03 UTC) #33
xhwang
looking good except for one question https://codereview.chromium.org/418193003/diff/120001/media/base/video_decoder_config.h File media/base/video_decoder_config.h (right): https://codereview.chromium.org/418193003/diff/120001/media/base/video_decoder_config.h#newcode65 media/base/video_decoder_config.h:65: VP9PROFILE_MAX = VP9PROFILE_ANY, ...
6 years, 4 months ago (2014-08-07 05:56:24 UTC) #34
Pawel Osciak
https://codereview.chromium.org/418193003/diff/120001/media/base/video_decoder_config.h File media/base/video_decoder_config.h (right): https://codereview.chromium.org/418193003/diff/120001/media/base/video_decoder_config.h#newcode65 media/base/video_decoder_config.h:65: VP9PROFILE_MAX = VP9PROFILE_ANY, On 2014/08/07 05:56:24, xhwang wrote: > ...
6 years, 4 months ago (2014-08-07 06:00:31 UTC) #35
xhwang
On 2014/08/07 06:00:31, Pawel Osciak wrote: > https://codereview.chromium.org/418193003/diff/120001/media/base/video_decoder_config.h > File media/base/video_decoder_config.h (right): > > https://codereview.chromium.org/418193003/diff/120001/media/base/video_decoder_config.h#newcode65 ...
6 years, 4 months ago (2014-08-07 06:08:30 UTC) #36
Pawel Osciak
On 2014/08/07 06:08:30, xhwang wrote: > On 2014/08/07 06:00:31, Pawel Osciak wrote: > > > ...
6 years, 4 months ago (2014-08-07 06:26:53 UTC) #37
amogh.bihani
https://codereview.chromium.org/418193003/diff/120001/ppapi/api/dev/pp_video_dev.idl File ppapi/api/dev/pp_video_dev.idl (right): https://codereview.chromium.org/418193003/diff/120001/ppapi/api/dev/pp_video_dev.idl#newcode34 ppapi/api/dev/pp_video_dev.idl:34: PP_VIDEODECODER_VP8PROFILE_ANY = 12 On 2014/08/07 05:56:24, xhwang wrote: > ...
6 years, 4 months ago (2014-08-07 07:05:30 UTC) #38
amogh.bihani
On 2014/08/07 06:08:30, xhwang wrote: > On 2014/08/07 06:00:31, Pawel Osciak wrote: > > > ...
6 years, 4 months ago (2014-08-07 10:18:47 UTC) #39
bbudge-google
https://codereview.chromium.org/418193003/diff/120001/ppapi/api/dev/pp_video_dev.idl File ppapi/api/dev/pp_video_dev.idl (right): https://codereview.chromium.org/418193003/diff/120001/ppapi/api/dev/pp_video_dev.idl#newcode34 ppapi/api/dev/pp_video_dev.idl:34: PP_VIDEODECODER_VP8PROFILE_ANY = 12 Adding an enum value would probably ...
6 years, 4 months ago (2014-08-07 12:35:48 UTC) #40
xhwang
The CL itself looks good and we can clean up it more if needed in ...
6 years, 4 months ago (2014-08-07 16:39:55 UTC) #41
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 4 months ago (2014-08-08 02:53:36 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/418193003/120001
6 years, 4 months ago (2014-08-08 02:56:26 UTC) #43
amogh.bihani
The CQ bit was unchecked by amogh.bihani@samsung.com
6 years, 4 months ago (2014-08-08 03:09:06 UTC) #44
amogh.bihani
+r: noelallen@ for native_client_sdk. PTAL.
6 years, 4 months ago (2014-08-08 03:09:17 UTC) #45
amogh.bihani
On 2014/08/08 03:09:17, amogh.bihani wrote: > +r: noelallen@ for native_client_sdk. > > PTAL. Noelallen@. PTAL
6 years, 4 months ago (2014-08-12 01:05:40 UTC) #46
amogh.bihani
On 2014/08/12 01:05:40, amogh.bihani wrote: > On 2014/08/08 03:09:17, amogh.bihani wrote: > > +r: noelallen@ ...
6 years, 4 months ago (2014-08-13 04:35:56 UTC) #47
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 4 months ago (2014-08-13 04:36:01 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/418193003/140001
6 years, 4 months ago (2014-08-13 04:37:25 UTC) #49
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-13 08:54:39 UTC) #50
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 08:57:50 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/3892)
6 years, 4 months ago (2014-08-13 08:57:51 UTC) #52
amogh.bihani
On 2014/08/13 08:57:51, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 4 months ago (2014-08-13 09:08:41 UTC) #53
bbudge
On 2014/08/13 09:08:41, amogh.bihani wrote: > On 2014/08/13 08:57:51, I haz the power (commit-bot) wrote: ...
6 years, 4 months ago (2014-08-13 11:21:46 UTC) #54
amogh.bihani
On 2014/08/13 11:21:46, bbudge wrote: > On 2014/08/13 09:08:41, amogh.bihani wrote: > > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 11:23:34 UTC) #55
bbudge
On 2014/08/13 11:23:34, amogh.bihani wrote: > On 2014/08/13 11:21:46, bbudge wrote: > > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 11:28:23 UTC) #56
amogh.bihani
On 2014/08/13 11:28:23, bbudge wrote: > On 2014/08/13 11:23:34, amogh.bihani wrote: > > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 11:37:29 UTC) #57
bbudge
On 2014/08/13 11:37:29, amogh.bihani wrote: > On 2014/08/13 11:28:23, bbudge wrote: > > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 11:51:06 UTC) #58
amogh.bihani
On 2014/08/13 11:51:06, bbudge wrote: > On 2014/08/13 11:37:29, amogh.bihani wrote: > > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 12:31:15 UTC) #59
amogh.bihani
On 2014/08/13 12:31:15, amogh.bihani wrote: > On 2014/08/13 11:51:06, bbudge wrote: > > On 2014/08/13 ...
6 years, 4 months ago (2014-08-14 07:02:43 UTC) #60
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 4 months ago (2014-08-14 07:02:51 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/418193003/140001
6 years, 4 months ago (2014-08-14 07:05:16 UTC) #62
Pawel Osciak
On 2014/08/14 07:02:51, amogh.bihani wrote: > The CQ bit was checked by mailto:amogh.bihani@samsung.com Could we ...
6 years, 4 months ago (2014-08-14 07:05:31 UTC) #63
amogh.bihani
The CQ bit was unchecked by amogh.bihani@samsung.com
6 years, 4 months ago (2014-08-14 07:07:42 UTC) #64
amogh.bihani
On 2014/08/14 07:05:31, Pawel Osciak wrote: > On 2014/08/14 07:02:51, amogh.bihani wrote: > > The ...
6 years, 4 months ago (2014-08-14 07:08:23 UTC) #65
amogh.bihani
On 2014/08/14 07:05:31, Pawel Osciak wrote: > On 2014/08/14 07:02:51, amogh.bihani wrote: > > The ...
6 years, 4 months ago (2014-08-14 07:08:27 UTC) #66
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 07:08:35 UTC) #67
Pawel Osciak
On 2014/08/14 07:08:27, amogh.bihani wrote: > On 2014/08/14 07:05:31, Pawel Osciak wrote: > > On ...
6 years, 4 months ago (2014-08-14 07:21:21 UTC) #68
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 4 months ago (2014-08-14 08:43:58 UTC) #69
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/418193003/140001
6 years, 4 months ago (2014-08-14 08:45:57 UTC) #70
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-14 08:51:53 UTC) #71
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 08:56:43 UTC) #72
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/4214)
6 years, 4 months ago (2014-08-14 08:56:45 UTC) #73
amogh.bihani
On 2014/08/14 08:56:45, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 4 months ago (2014-08-14 09:12:50 UTC) #74
bbudge
On 2014/08/14 09:12:50, amogh.bihani wrote: > On 2014/08/14 08:56:45, I haz the power (commit-bot) wrote: ...
6 years, 4 months ago (2014-08-14 13:27:52 UTC) #75
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 4 months ago (2014-08-15 03:12:44 UTC) #76
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/418193003/140001
6 years, 4 months ago (2014-08-15 03:21:15 UTC) #77
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 03:29:57 UTC) #78
Message was sent while issue was closed.
Committed patchset #8 (140001) as 289765

Powered by Google App Engine
This is Rietveld 408576698