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

Issue 7021020: Clean up video frame sizes, types in Video Decode API (Closed)

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

Description

Remove redundant size and type information from VideoDecode PPAPI The visible size of the video frame is determined at Create stage. The type of buffer (from system memory or texture-backed via GLES) is decided by the plugin when it calls AssignGLESBuffers or AssignSysmemBuffers in response to ProvidePictureBuffers. The decoded size will be the same as the size requested in ProvidePictureBuffers. Thus these values specified anywhere else is redundant, and introduces a place to have inconsistency. BUG=NONE TEST=ovda unittest passes; gles2 runs w/o crashing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93031

Patch Set 1 #

Patch Set 2 : Remove unnecessary sizes, too #

Patch Set 3 : cleanup #

Total comments: 10

Patch Set 4 : rebased to ToT #

Patch Set 5 : . #

Total comments: 8

Patch Set 6 : responses to CR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -276 lines) Patch
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 3 chunks +6 lines, -9 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 4 5 7 chunks +10 lines, -14 lines 0 comments Download
M content/common/gpu/media/omx_video_decode_accelerator.h View 1 2 3 4 5 2 chunks +6 lines, -6 lines 0 comments Download
M content/common/gpu/media/omx_video_decode_accelerator.cc View 1 2 3 4 5 4 chunks +7 lines, -11 lines 0 comments Download
M content/common/gpu/media/omx_video_decode_accelerator_unittest.cc View 1 2 3 4 5 5 chunks +10 lines, -13 lines 0 comments Download
M content/renderer/gpu/gpu_video_decode_accelerator_host.h View 1 2 3 4 5 2 chunks +4 lines, -6 lines 0 comments Download
M content/renderer/gpu/gpu_video_decode_accelerator_host.cc View 1 2 3 4 5 3 chunks +8 lines, -14 lines 0 comments Download
M content/renderer/pepper_platform_video_decoder_impl.h View 1 2 3 4 5 2 chunks +3 lines, -5 lines 0 comments Download
M content/renderer/pepper_platform_video_decoder_impl.cc View 1 2 3 4 5 2 chunks +5 lines, -6 lines 0 comments Download
M media/video/picture.h View 1 2 3 4 5 4 chunks +7 lines, -49 lines 0 comments Download
M media/video/picture.cc View 1 2 3 4 5 1 chunk +5 lines, -20 lines 0 comments Download
M media/video/video_decode_accelerator.h View 1 2 3 4 5 3 chunks +4 lines, -13 lines 0 comments Download
M ppapi/c/dev/pp_video_dev.h View 1 2 3 4 5 3 chunks +2 lines, -42 lines 0 comments Download
M ppapi/c/dev/ppb_video_decoder_dev.h View 1 2 3 4 5 3 chunks +6 lines, -5 lines 0 comments Download
M ppapi/c/dev/ppp_video_decoder_dev.h View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download
M ppapi/cpp/dev/video_decoder_client_dev.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/cpp/dev/video_decoder_client_dev.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M ppapi/cpp/dev/video_decoder_dev.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ppapi/cpp/dev/video_decoder_dev.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/examples/gles2/gles2.cc View 1 2 3 4 5 6 chunks +10 lines, -12 lines 0 comments Download
M ppapi/tests/arch_dependent_sizes_32.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ppapi/tests/arch_dependent_sizes_64.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ppapi/thunk/ppb_video_decoder_api.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/thunk/ppb_video_decoder_thunk.cc View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.h View 1 2 3 4 5 3 chunks +4 lines, -6 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.cc View 1 2 3 4 5 3 chunks +10 lines, -20 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
vrk (LEFT CHROMIUM)
A small clean-up patch as I rework the gpu_video_decode_accelerator_tester.
9 years, 7 months ago (2011-05-16 20:07:19 UTC) #1
vrk (LEFT CHROMIUM)
On 2011/05/16 20:07:19, Victoria Kirst wrote: > A small clean-up patch as I rework the ...
9 years, 7 months ago (2011-05-16 20:08:23 UTC) #2
vrk (LEFT CHROMIUM)
On 2011/05/16 20:08:23, Victoria Kirst wrote: > On 2011/05/16 20:07:19, Victoria Kirst wrote: > > ...
9 years, 7 months ago (2011-05-16 20:10:58 UTC) #3
Ami GONE FROM CHROMIUM
Nice. There's no code like no code! LGTM modulo the one question. http://codereview.chromium.org/7021020/diff/5001/ppapi/c/dev/ppp_video_decoder_dev.h File ppapi/c/dev/ppp_video_decoder_dev.h ...
9 years, 7 months ago (2011-05-16 20:17:49 UTC) #4
vrk (LEFT CHROMIUM)
+brettw OWNERS review http://codereview.chromium.org/7021020/diff/5001/ppapi/c/dev/ppp_video_decoder_dev.h File ppapi/c/dev/ppp_video_decoder_dev.h (left): http://codereview.chromium.org/7021020/diff/5001/ppapi/c/dev/ppp_video_decoder_dev.h#oldcode32 ppapi/c/dev/ppp_video_decoder_dev.h:32: enum PP_PictureBufferType_Dev type); On 2011/05/16 20:17:50, ...
9 years, 7 months ago (2011-05-16 20:28:37 UTC) #5
brettw
Rubber stamp LGTM (didn't check the details).
9 years, 7 months ago (2011-05-16 20:51:12 UTC) #6
Ville-Mikko Rautio
Hi Victoria and others, I gave a pass on the interfaces which I believe were ...
9 years, 7 months ago (2011-05-17 08:58:48 UTC) #7
scherkus (not reviewing)
does this still need to be reviewed?
9 years, 7 months ago (2011-05-23 05:46:57 UTC) #8
vrk (LEFT CHROMIUM)
Forgot about this patch; distracted with the gpu tester! Added responses to vmr's concerns. http://codereview.chromium.org/7021020/diff/5001/media/video/picture.h ...
9 years, 7 months ago (2011-05-23 18:20:28 UTC) #9
vmr
http://codereview.chromium.org/7021020/diff/5001/ppapi/c/dev/pp_video_dev.h File ppapi/c/dev/pp_video_dev.h (left): http://codereview.chromium.org/7021020/diff/5001/ppapi/c/dev/pp_video_dev.h#oldcode165 ppapi/c/dev/pp_video_dev.h:165: On 2011/05/23 18:20:29, Victoria Kirst wrote: > On 2011/05/17 ...
9 years, 7 months ago (2011-05-24 07:11:11 UTC) #10
Ami GONE FROM CHROMIUM
> > I know for fact that there are number of OMX implementations out there ...
9 years, 7 months ago (2011-05-24 07:29:06 UTC) #11
piman
On Tue, May 24, 2011 at 12:11 AM, <vmr@google.com> wrote: > > http://codereview.chromium.org/7021020/diff/5001/ppapi/c/dev/pp_video_dev.h > File ...
9 years, 7 months ago (2011-05-24 16:14:53 UTC) #12
Ami GONE FROM CHROMIUM
Time to rebase & submit this?
9 years, 5 months ago (2011-07-08 20:54:33 UTC) #13
vrk (LEFT CHROMIUM)
On 2011/07/08 20:54:33, Ami Fischman wrote: > Time to rebase & submit this? Yes indeed! ...
9 years, 5 months ago (2011-07-18 18:19:42 UTC) #14
Ami GONE FROM CHROMIUM
Yay! http://codereview.chromium.org/7021020/diff/20001/media/video/video_decode_accelerator.h File media/video/video_decode_accelerator.h (left): http://codereview.chromium.org/7021020/diff/20001/media/video/video_decode_accelerator.h#oldcode185 media/video/video_decode_accelerator.h:185: // Represents the type of data buffer to ...
9 years, 5 months ago (2011-07-18 18:32:59 UTC) #15
vrk (LEFT CHROMIUM)
GLESBuffer -> PictureBuffer Added more (tediousness) to the CL, though! http://codereview.chromium.org/7021020/diff/20001/media/video/video_decode_accelerator.h File media/video/video_decode_accelerator.h (left): http://codereview.chromium.org/7021020/diff/20001/media/video/video_decode_accelerator.h#oldcode185 ...
9 years, 5 months ago (2011-07-19 01:26:08 UTC) #16
Ami GONE FROM CHROMIUM
9 years, 5 months ago (2011-07-19 02:55:08 UTC) #17
LGTM
Ship it!

Powered by Google App Engine
This is Rietveld 408576698