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

Issue 540393003: Move PPB_VideoDecoder from 'Dev' to Stable. (Closed)

Created:
6 years, 3 months ago by bbudge
Modified:
6 years, 3 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move PPB_VideoDecoder from 'Dev' to Stable. Notes for discussion: 1) This API provides a low level interface to Chrome's video decoders. Chrome's implementations differ by codec and platform. H264 and VPX expect very different formats, so the plugin must know details about these codecs. In particular, some parsing of the stream is required to extract the frames, and during Reset, the plugin may have to parse into the frames to find start points and make sure the decoder is in the proper state to resume. Some platforms may only provide software implementations. Software and hardware decoders have very different latency and throughput. 2) The PP_VideoPicture struct (in pp_codecs.idl) exposes low level details about the texture format of the decoded pictures so the plugin can render the textures. These are platform-specific. GL_TEXTURE_2D is the standard one. GL_TEXTURE_RECTANGLE_ARB will be used by Mac in the future (but is not yet used). GL_TEXTURE_EXTERNAL_OES is used on ARM ChromeOS systems. Plugins should be prepared to handle all of them. 3) The plugin continually calls GetPicture to pump the decoder. There is a little weirdness with Flush, where we signal the end of stream by returning PP_ERROR_ABORTED to the plugin's last GetPicture call. BUG=281689 Committed: https://crrev.com/71be5585c62dbb95d556ddc5ebc6e1f303cd1490 Cr-Commit-Position: refs/heads/master@{#295174}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Keep 0.1 version for Dev only.x #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -9 lines) Patch
M ppapi/api/ppb_video_decoder.idl View 1 1 chunk +3 lines, -2 lines 1 comment Download
M ppapi/c/ppb_video_decoder.h View 1 4 chunks +9 lines, -5 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev_channel.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/thunk/interfaces_ppb_public_stable.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/thunk/ppb_video_decoder_thunk.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (2 generated)
bbudge
6 years, 3 months ago (2014-09-06 13:44:31 UTC) #2
dmichael (off chromium)
> 2) The PP_VideoPicture struct (in pp_codecs.idl) exposes > low level details about the texture ...
6 years, 3 months ago (2014-09-08 16:45:26 UTC) #3
bbudge
On 2014/09/08 16:45:26, dmichael wrote: > > 2) The PP_VideoPicture struct (in pp_codecs.idl) exposes > ...
6 years, 3 months ago (2014-09-09 22:21:17 UTC) #4
bbudge
https://codereview.chromium.org/540393003/diff/1/ppapi/api/ppb_video_decoder.idl File ppapi/api/ppb_video_decoder.idl (right): https://codereview.chromium.org/540393003/diff/1/ppapi/api/ppb_video_decoder.idl#newcode15 ppapi/api/ppb_video_decoder.idl:15: M39 = 0.2 On 2014/09/08 16:45:25, dmichael wrote: > ...
6 years, 3 months ago (2014-09-10 00:22:23 UTC) #5
teravest
Why do you want to remove the channel=dev annotation from the 0.1 version in the ...
6 years, 3 months ago (2014-09-10 14:36:49 UTC) #6
bbudge
On 2014/09/10 14:36:49, teravest wrote: > Why do you want to remove the channel=dev annotation ...
6 years, 3 months ago (2014-09-10 15:40:30 UTC) #7
teravest
ok, lgtm On Wed, Sep 10, 2014 at 9:40 AM, <bbudge@chromium.org> wrote: > On 2014/09/10 ...
6 years, 3 months ago (2014-09-10 15:41:41 UTC) #8
teravest
lgtm
6 years, 3 months ago (2014-09-10 15:45:47 UTC) #9
dmichael (off chromium)
lgtm https://codereview.chromium.org/540393003/diff/20001/ppapi/api/ppb_video_decoder.idl File ppapi/api/ppb_video_decoder.idl (right): https://codereview.chromium.org/540393003/diff/20001/ppapi/api/ppb_video_decoder.idl#newcode13 ppapi/api/ppb_video_decoder.idl:13: /** Though not labeled 'channel=dev', 0.1 is a ...
6 years, 3 months ago (2014-09-10 20:11:14 UTC) #10
bbudge
On 2014/09/10 20:11:14, dmichael wrote: > lgtm > > https://codereview.chromium.org/540393003/diff/20001/ppapi/api/ppb_video_decoder.idl > File ppapi/api/ppb_video_decoder.idl (right): > ...
6 years, 3 months ago (2014-09-10 20:45:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/540393003/20001
6 years, 3 months ago (2014-09-16 22:45:35 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001) as b6318d41660ef15016c76701ef1c3d1f6229046e
6 years, 3 months ago (2014-09-16 23:29:54 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-16 23:30:28 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/71be5585c62dbb95d556ddc5ebc6e1f303cd1490
Cr-Commit-Position: refs/heads/master@{#295174}

Powered by Google App Engine
This is Rietveld 408576698