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

Issue 13461010: Add PP_VideoFrame, PPB_VideoReader, and PPB_VideoWriter APIs to Pepper. (Closed)

Created:
7 years, 8 months ago by bbudge
Modified:
7 years, 8 months ago
CC:
chromium-reviews, piman+watch_chromium.org, raymes+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Add PP_VideoFrame, PPB_VideoReader, and PPB_VideoWriter APIs to Pepper. Defines a PP_VideoFrame struct, and 2 new APIs,PPB_ VideoReader to consume a video stream, and PPB_VideoWriter to generate a video stream. BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192455

Patch Set 1 #

Total comments: 20

Patch Set 2 : Refine API per comments, fix some typos. #

Total comments: 1

Patch Set 3 : Add new files to all_cpp_includes.h. #

Total comments: 6

Patch Set 4 : Revise API after design review, address review comments. #

Total comments: 4

Patch Set 5 : API version 0.1, init POD in VideoFrame. #

Total comments: 2

Patch Set 6 : Add missed initializer. #

Total comments: 4

Patch Set 7 : Fix API version ids. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1029 lines, -0 lines) Patch
A ppapi/api/pp_video_frame.idl View 1 chunk +34 lines, -0 lines 0 comments Download
A ppapi/api/ppb_video_reader.idl View 1 2 3 4 1 chunk +89 lines, -0 lines 2 comments Download
A ppapi/api/ppb_video_writer.idl View 1 2 3 4 1 chunk +89 lines, -0 lines 0 comments Download
A ppapi/c/pp_video_frame.h View 1 chunk +53 lines, -0 lines 0 comments Download
A ppapi/c/ppb_video_reader.h View 1 2 3 4 1 chunk +112 lines, -0 lines 0 comments Download
A ppapi/c/ppb_video_writer.h View 1 2 3 4 1 chunk +111 lines, -0 lines 0 comments Download
A ppapi/cpp/video_frame.h View 1 2 3 4 1 chunk +93 lines, -0 lines 0 comments Download
A ppapi/cpp/video_frame.cc View 1 2 3 4 5 1 chunk +47 lines, -0 lines 0 comments Download
A ppapi/cpp/video_reader.h View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
A ppapi/cpp/video_reader.cc View 1 2 3 4 5 6 1 chunk +74 lines, -0 lines 0 comments Download
A ppapi/cpp/video_writer.h View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
A ppapi/cpp/video_writer.cc View 1 2 3 4 5 6 1 chunk +73 lines, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 6 chunks +102 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M ppapi/tests/all_c_includes.h View 2 chunks +3 lines, -0 lines 0 comments Download
M ppapi/tests/all_cpp_includes.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
darin1
I just did a quick read over the IDL files, and they look great to ...
7 years, 8 months ago (2013-04-02 18:08:38 UTC) #1
yzshen1
Thanks, Bill! A few nits + one high-level suggestion: With the current API definition, in ...
7 years, 8 months ago (2013-04-02 19:28:39 UTC) #2
bbudge
https://codereview.chromium.org/13461010/diff/1/ppapi/api/ppb_video_reader.idl File ppapi/api/ppb_video_reader.idl (right): https://codereview.chromium.org/13461010/diff/1/ppapi/api/ppb_video_reader.idl#newcode48 ppapi/api/ppb_video_reader.idl:48: * identifying the stream. On 2013/04/02 19:28:39, yzshen1 wrote: ...
7 years, 8 months ago (2013-04-02 20:07:34 UTC) #3
bbudge
https://codereview.chromium.org/13461010/diff/1/ppapi/cpp/video.cc File ppapi/cpp/video.cc (right): https://codereview.chromium.org/13461010/diff/1/ppapi/cpp/video.cc#newcode62 ppapi/cpp/video.cc:62: video_frame_.image_data = image_data_.pp_resource(); On 2013/04/02 19:28:39, yzshen1 wrote: > ...
7 years, 8 months ago (2013-04-03 10:42:29 UTC) #4
bbudge
Comment on semantics issue. https://codereview.chromium.org/13461010/diff/5002/ppapi/api/ppb_video_writer.idl File ppapi/api/ppb_video_writer.idl (right): https://codereview.chromium.org/13461010/diff/5002/ppapi/api/ppb_video_writer.idl#newcode66 ppapi/api/ppb_video_writer.idl:66: * write to the open ...
7 years, 8 months ago (2013-04-03 21:29:14 UTC) #5
dmichael (off chromium)
https://chromiumcodereview.appspot.com/13461010/diff/8001/ppapi/cpp/video.h File ppapi/cpp/video.h (right): https://chromiumcodereview.appspot.com/13461010/diff/8001/ppapi/cpp/video.h#newcode69 ppapi/cpp/video.h:69: class VideoReader : public Resource { I second moving ...
7 years, 8 months ago (2013-04-03 22:17:06 UTC) #6
bbudge
https://codereview.chromium.org/13461010/diff/8001/ppapi/cpp/video.h File ppapi/cpp/video.h (right): https://codereview.chromium.org/13461010/diff/8001/ppapi/cpp/video.h#newcode69 ppapi/cpp/video.h:69: class VideoReader : public Resource { On 2013/04/03 22:17:06, ...
7 years, 8 months ago (2013-04-04 17:58:05 UTC) #7
bbudge
Addressed comments from yesterday's meetings and reviews. PTAL
7 years, 8 months ago (2013-04-04 19:57:17 UTC) #8
dmichael (off chromium)
https://codereview.chromium.org/13461010/diff/22001/ppapi/api/ppb_video_reader.idl File ppapi/api/ppb_video_reader.idl (right): https://codereview.chromium.org/13461010/diff/22001/ppapi/api/ppb_video_reader.idl#newcode12 ppapi/api/ppb_video_reader.idl:12: M28 = 1.0 We usually start out with 0.1 ...
7 years, 8 months ago (2013-04-04 20:18:41 UTC) #9
bbudge
https://codereview.chromium.org/13461010/diff/22001/ppapi/api/ppb_video_reader.idl File ppapi/api/ppb_video_reader.idl (right): https://codereview.chromium.org/13461010/diff/22001/ppapi/api/ppb_video_reader.idl#newcode12 ppapi/api/ppb_video_reader.idl:12: M28 = 1.0 Done for both APIs. On 2013/04/04 ...
7 years, 8 months ago (2013-04-04 21:15:16 UTC) #10
dmichael (off chromium)
lgtm https://codereview.chromium.org/13461010/diff/22003/ppapi/cpp/video_frame.cc File ppapi/cpp/video_frame.cc (right): https://codereview.chromium.org/13461010/diff/22003/ppapi/cpp/video_frame.cc#newcode28 ppapi/cpp/video_frame.cc:28: VideoFrame::VideoFrame(const VideoFrame& other) { Also need: : video_frame_() ...
7 years, 8 months ago (2013-04-04 21:23:02 UTC) #11
bbudge
https://codereview.chromium.org/13461010/diff/22003/ppapi/cpp/video_frame.cc File ppapi/cpp/video_frame.cc (right): https://codereview.chromium.org/13461010/diff/22003/ppapi/cpp/video_frame.cc#newcode28 ppapi/cpp/video_frame.cc:28: VideoFrame::VideoFrame(const VideoFrame& other) { Whoops. Done. On 2013/04/04 21:23:03, ...
7 years, 8 months ago (2013-04-04 21:26:47 UTC) #12
yzshen1
LGTM with two nits. https://codereview.chromium.org/13461010/diff/32002/ppapi/cpp/video_reader.cc File ppapi/cpp/video_reader.cc (right): https://codereview.chromium.org/13461010/diff/32002/ppapi/cpp/video_reader.cc#newcode19 ppapi/cpp/video_reader.cc:19: template <> const char* interface_name<PPB_VideoReader_1_0>() ...
7 years, 8 months ago (2013-04-04 23:48:12 UTC) #13
bbudge
Good eye Yuzhu! https://codereview.chromium.org/13461010/diff/32002/ppapi/cpp/video_reader.cc File ppapi/cpp/video_reader.cc (right): https://codereview.chromium.org/13461010/diff/32002/ppapi/cpp/video_reader.cc#newcode19 ppapi/cpp/video_reader.cc:19: template <> const char* interface_name<PPB_VideoReader_1_0>() { ...
7 years, 8 months ago (2013-04-04 23:53:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/13461010/30003
7 years, 8 months ago (2013-04-04 23:53:57 UTC) #15
commit-bot: I haz the power
Change committed as 192455
7 years, 8 months ago (2013-04-05 02:35:55 UTC) #16
juberti
drive-by lgtm https://codereview.chromium.org/13461010/diff/30003/ppapi/api/ppb_video_reader.idl File ppapi/api/ppb_video_reader.idl (right): https://codereview.chromium.org/13461010/diff/30003/ppapi/api/ppb_video_reader.idl#newcode57 ppapi/api/ppb_video_reader.idl:57: [in] PP_Var stream_id, In the latest proposal ...
7 years, 8 months ago (2013-04-05 18:46:12 UTC) #17
bbudge
7 years, 8 months ago (2013-04-05 20:50:24 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/13461010/diff/30003/ppapi/api/ppb_video_reade...
File ppapi/api/ppb_video_reader.idl (right):

https://codereview.chromium.org/13461010/diff/30003/ppapi/api/ppb_video_reade...
ppapi/api/ppb_video_reader.idl:57: [in] PP_Var stream_id,
I'll change it in a follow on patch.
On 2013/04/05 18:46:12, juberti wrote:
> In the latest proposal I changed this to be an [out] param, e.g. browser
> generates the id for a new track.

Powered by Google App Engine
This is Rietveld 408576698