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

Unified Diff: ppapi/thunk/ppb_video_decoder_thunk.cc

Issue 7021020: Clean up video frame sizes, types in Video Decode API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responses to CR Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/thunk/ppb_video_decoder_api.h ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_video_decoder_thunk.cc
diff --git a/ppapi/thunk/ppb_video_decoder_thunk.cc b/ppapi/thunk/ppb_video_decoder_thunk.cc
index afc3bde79f2a0d9af6acbc79ce98b7806185adf1..f1b7c44926169646e37d8430c5aceb38e548f6f6 100644
--- a/ppapi/thunk/ppb_video_decoder_thunk.cc
+++ b/ppapi/thunk/ppb_video_decoder_thunk.cc
@@ -50,12 +50,12 @@ int32_t Decode(PP_Resource video_decoder,
return MayForceCallback(callback, result);
}
-void AssignGLESBuffers(PP_Resource video_decoder,
- uint32_t no_of_buffers,
- const PP_GLESBuffer_Dev* buffers) {
+void AssignPictureBuffers(PP_Resource video_decoder,
+ uint32_t no_of_buffers,
+ const PP_PictureBuffer_Dev* buffers) {
EnterVideoDecoder enter(video_decoder, true);
if (enter.succeeded())
- enter.object()->AssignGLESBuffers(no_of_buffers, buffers);
+ enter.object()->AssignPictureBuffers(no_of_buffers, buffers);
}
void ReusePictureBuffer(PP_Resource video_decoder, int32_t picture_buffer_id) {
@@ -92,7 +92,7 @@ const PPB_VideoDecoder_Dev g_ppb_videodecoder_thunk = {
&IsVideoDecoder,
&Initialize,
&Decode,
- &AssignGLESBuffers,
+ &AssignPictureBuffers,
&ReusePictureBuffer,
&Flush,
&Reset,
« no previous file with comments | « ppapi/thunk/ppb_video_decoder_api.h ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698