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

Unified Diff: ppapi/cpp/dev/video_decoder_dev.h

Issue 6961018: Pepper Video Decoder API tester plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simple lint fixes. Created 9 years, 7 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 | « no previous file | ppapi/cpp/dev/video_decoder_dev.cc » ('j') | ppapi/cpp/dev/video_decoder_dev.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/video_decoder_dev.h
diff --git a/ppapi/cpp/dev/video_decoder_dev.h b/ppapi/cpp/dev/video_decoder_dev.h
index ff7be2a8ab972b687f148fd3bcd6dca35266bd89..0acc75fe3b85ae13ba5a28dd79ed8aa288785438 100644
--- a/ppapi/cpp/dev/video_decoder_dev.h
+++ b/ppapi/cpp/dev/video_decoder_dev.h
@@ -8,6 +8,7 @@
#include <vector>
#include "ppapi/c/dev/pp_video_dev.h"
+#include "ppapi/c/dev/ppb_video_decoder_dev.h"
#include "ppapi/cpp/completion_callback.h"
#include "ppapi/cpp/dev/buffer_dev.h"
#include "ppapi/cpp/resource.h"
@@ -70,9 +71,9 @@ class VideoDecoder : public Resource {
// AssignGLESBuffers provides texture-backed buffers, whereas
// AssignSysmemBuffers provides system memory-backed buffers.
void AssignGLESBuffers(uint32_t no_of_buffers,
- const PP_GLESBuffer_Dev& buffers);
+ const std::vector<PP_GLESBuffer_Dev>& buffers);
void AssignSysmemBuffers(uint32_t no_of_buffers,
- const PP_SysmemBuffer_Dev& buffers);
+ const std::vector<PP_SysmemBuffer_Dev>& buffers);
// Decodes given bitstream buffer. Once decoder is done with processing
// |bitstream_buffer| is will call |callback| with provided user data.
@@ -95,6 +96,9 @@ class VideoDecoder : public Resource {
// buffers for video decoding.
Client* client_;
+ // Pointer to the underlying C interface of the video decoder.
+ PPB_VideoDecoder_Dev* ppb_videodecoder_dev_;
Ami GONE FROM CHROMIUM 2011/05/24 17:55:07 Unused?
+
// Suppress compiler-generated copy constructors.
VideoDecoder(const VideoDecoder&);
void operator=(const VideoDecoder&);
« no previous file with comments | « no previous file | ppapi/cpp/dev/video_decoder_dev.cc » ('j') | ppapi/cpp/dev/video_decoder_dev.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698