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

Issue 6901036: Update VideoDecode PPAPI structs to be consistent with media structures, part 1 (Closed)

Created:
9 years, 8 months ago by vrk (LEFT CHROMIUM)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, sjl, ddorwin+watch_chromium.org, fischman+watch_chromium.org, jam, acolwell GONE FROM CHROMIUM, annacc, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), piman+watch_chromium.org, vhiremath, ashok, shikhas, nwartikar, mheikkinen
Visibility:
Public.

Description

Update VideoDecode PPAPI structs to be consistent with media structures, part 1 This patch fixes some of the inconsistencies between the VideoDecode structs in the ppapi namespace and their wrappers in the media namespace. It also implements some of the hooks to pass messages to and from the browser and plugin. BUG=NONE TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84871

Patch Set 1 #

Total comments: 36

Patch Set 2 : Responses to code review + fixing Config #

Patch Set 3 : Change PP_PictureBuffer_Dev to have multiple planes #

Patch Set 4 : Change PP_PictureBuffer_Dev to have multiple planes #

Patch Set 5 : One plane per PictureBuffer #

Patch Set 6 : Fix memory problems, rework color config #

Patch Set 7 : Fixing a few parameter types #

Total comments: 56

Patch Set 8 : No more union! And fixes re: code review #

Patch Set 9 : a few minor clean-ups #

Total comments: 45

Patch Set 10 : Fixes from code review #

Patch Set 11 : A few other little clean-up stuff #

Total comments: 1

Patch Set 12 : Make try bots happy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+568 lines, -626 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +34 lines, -28 lines 0 comments Download
M content/renderer/pepper_platform_video_decoder_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +17 lines, -15 lines 0 comments Download
M content/renderer/pepper_platform_video_decoder_impl.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +20 lines, -13 lines 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/video_decode_accelerator_host.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +18 lines, -15 lines 0 comments Download
M content/renderer/video_decode_accelerator_host.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +13 lines, -8 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M media/video/picture.h View 1 2 3 4 5 6 7 8 9 1 chunk +101 lines, -37 lines 0 comments Download
M media/video/picture.cc View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -56 lines 0 comments Download
M media/video/video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +42 lines, -173 lines 0 comments Download
M media/video/video_decode_accelerator.cc View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M ppapi/c/dev/pp_video_dev.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +53 lines, -135 lines 0 comments Download
M ppapi/c/dev/ppb_video_decoder_dev.h View 1 2 3 4 5 6 7 8 9 5 chunks +31 lines, -29 lines 0 comments Download
M ppapi/c/dev/ppp_video_decoder_dev.h View 1 2 3 4 5 6 4 chunks +8 lines, -6 lines 0 comments Download
M ppapi/tests/arch_dependent_sizes_32.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -4 lines 0 comments Download
M ppapi/tests/arch_dependent_sizes_64.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -4 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.h View 1 2 3 4 5 6 7 8 9 3 chunks +20 lines, -16 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 chunks +180 lines, -77 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
vrk (LEFT CHROMIUM)
The data structures checked into Chromium right now are pretty broken. This patch doesn't fix ...
9 years, 8 months ago (2011-04-26 20:29:12 UTC) #1
piman
http://codereview.chromium.org/6901036/diff/1/ppapi/c/dev/ppb_video_decoder_dev.h File ppapi/c/dev/ppb_video_decoder_dev.h (right): http://codereview.chromium.org/6901036/diff/1/ppapi/c/dev/ppb_video_decoder_dev.h#newcode12 ppapi/c/dev/ppb_video_decoder_dev.h:12: #define PPB_VIDEODECODER_DEV_INTERFACE "PPB_VideoDecoder(Dev);0.5" Drive-by: please bump the version if ...
9 years, 8 months ago (2011-04-26 20:48:07 UTC) #2
scherkus (not reviewing)
cleanup patches are also welcome! mostly curious about using ref as opposed to const-ref or ...
9 years, 8 months ago (2011-04-26 22:36:34 UTC) #3
scherkus (not reviewing)
On 2011/04/26 22:36:34, scherkus wrote: > cleanup patches are also welcome! blah typo s/also/most/
9 years, 8 months ago (2011-04-26 22:37:06 UTC) #4
Ami GONE FROM CHROMIUM
See next-to-last comment for my thoughts on your message. http://codereview.chromium.org/6901036/diff/1/ppapi/c/dev/pp_video_dev.h File ppapi/c/dev/pp_video_dev.h (right): http://codereview.chromium.org/6901036/diff/1/ppapi/c/dev/pp_video_dev.h#newcode298 ppapi/c/dev/pp_video_dev.h:298: ...
9 years, 8 months ago (2011-04-26 23:01:56 UTC) #5
piman
On Tue, Apr 26, 2011 at 4:01 PM, <fischman@chromium.org> wrote: > See next-to-last comment for ...
9 years, 8 months ago (2011-04-26 23:06:57 UTC) #6
vrk (LEFT CHROMIUM)
Uploaded new patch with fixes to most of the code review comments and made a ...
9 years, 8 months ago (2011-04-27 00:40:33 UTC) #7
vrk (LEFT CHROMIUM)
Please take another look! I have made some fairly radical changes, most of which I've ...
9 years, 8 months ago (2011-04-28 06:20:39 UTC) #8
Ami GONE FROM CHROMIUM
Looking pretty good. http://codereview.chromium.org/6901036/diff/1/media/video/video_decode_accelerator.h File media/video/video_decode_accelerator.h (right): http://codereview.chromium.org/6901036/diff/1/media/video/video_decode_accelerator.h#newcode250 media/video/video_decode_accelerator.h:250: // Interface expected from PictureBuffers where ...
9 years, 7 months ago (2011-04-29 18:40:34 UTC) #9
piman
http://codereview.chromium.org/6901036/diff/1/ppapi/tests/arch_dependent_sizes_64.h File ppapi/tests/arch_dependent_sizes_64.h (right): http://codereview.chromium.org/6901036/diff/1/ppapi/tests/arch_dependent_sizes_64.h#newcode20 ppapi/tests/arch_dependent_sizes_64.h:20: PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Picture_Dev, 20); On 2011/04/29 18:40:34, Ami Fischman wrote: > ...
9 years, 7 months ago (2011-04-29 18:56:17 UTC) #10
Ami GONE FROM CHROMIUM
> > To protect against regressions, > What's a regression in this context? Or do ...
9 years, 7 months ago (2011-04-29 20:11:20 UTC) #11
scherkus (not reviewing)
few nits http://codereview.chromium.org/6901036/diff/5064/content/renderer/pepper_platform_video_decoder_impl.cc File content/renderer/pepper_platform_video_decoder_impl.cc (right): http://codereview.chromium.org/6901036/diff/5064/content/renderer/pepper_platform_video_decoder_impl.cc#newcode11 content/renderer/pepper_platform_video_decoder_impl.cc:11: #include "media/base/buffers.h" I don't think this header ...
9 years, 7 months ago (2011-04-29 20:33:01 UTC) #12
piman
On Fri, Apr 29, 2011 at 1:11 PM, Ami Fischman <fischman@chromium.org> wrote: > To protect ...
9 years, 7 months ago (2011-04-29 20:34:28 UTC) #13
vrk (LEFT CHROMIUM)
Uploaded another round! In this patch I have also gotten rid of the Data Type ...
9 years, 7 months ago (2011-05-03 18:19:58 UTC) #14
Ami GONE FROM CHROMIUM
nit nit nit Pretty much LGTM. http://codereview.chromium.org/6901036/diff/10004/media/video/picture.cc File media/video/picture.cc (right): http://codereview.chromium.org/6901036/diff/10004/media/video/picture.cc#newcode8 media/video/picture.cc:8: Add a comment ...
9 years, 7 months ago (2011-05-03 23:34:46 UTC) #15
scherkus (not reviewing)
http://codereview.chromium.org/6901036/diff/10004/media/video/picture.cc File media/video/picture.cc (right): http://codereview.chromium.org/6901036/diff/10004/media/video/picture.cc#newcode8 media/video/picture.cc:8: On 2011/05/03 23:34:47, Ami Fischman wrote: > Add a ...
9 years, 7 months ago (2011-05-04 00:03:28 UTC) #16
vrk (LEFT CHROMIUM)
Thanks again for reviewing! Addressed comments and made a few other minor clean-ups. http://codereview.chromium.org/6901036/diff/10004/media/video/picture.cc File ...
9 years, 7 months ago (2011-05-05 05:57:12 UTC) #17
Ami GONE FROM CHROMIUM
LGTM http://codereview.chromium.org/6901036/diff/10004/webkit/plugins/ppapi/ppb_video_decoder_impl.cc File webkit/plugins/ppapi/ppb_video_decoder_impl.cc (right): http://codereview.chromium.org/6901036/diff/10004/webkit/plugins/ppapi/ppb_video_decoder_impl.cc#newcode342 webkit/plugins/ppapi/ppb_video_decoder_impl.cc:342: bool PPB_VideoDecoder_Impl::CopyToPictureDev( On 2011/05/05 05:57:12, Victoria Kirst wrote: ...
9 years, 7 months ago (2011-05-05 16:40:53 UTC) #18
brettw
9 years, 7 months ago (2011-05-10 20:05:45 UTC) #19
Renderer LGTM

Powered by Google App Engine
This is Rietveld 408576698