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

Unified Diff: content/renderer/video_decode_accelerator_host.cc

Issue 6901036: Update VideoDecode PPAPI structs to be consistent with media structures, part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make try bots happy 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 | « content/renderer/video_decode_accelerator_host.h ('k') | media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/video_decode_accelerator_host.cc
diff --git a/content/renderer/video_decode_accelerator_host.cc b/content/renderer/video_decode_accelerator_host.cc
index 013277a44d9d08c990312e8c241add199cef8fa4..b95ebe7f25ecc364f0f8c25cf067c57c51c29e20 100644
--- a/content/renderer/video_decode_accelerator_host.cc
+++ b/content/renderer/video_decode_accelerator_host.cc
@@ -36,11 +36,11 @@ bool VideoDecodeAcceleratorHost::OnMessageReceived(const IPC::Message& msg) {
return handled;
}
-const std::vector<uint32>& VideoDecodeAcceleratorHost::GetConfig(
- const std::vector<uint32>& prototype_config) {
+void VideoDecodeAcceleratorHost::GetConfigs(
+ const std::vector<uint32>& requested_configs,
+ std::vector<uint32>* matched_configs) {
// TODO(vmr): implement.
NOTIMPLEMENTED();
- return configs_;
}
bool VideoDecodeAcceleratorHost::Initialize(
@@ -51,21 +51,26 @@ bool VideoDecodeAcceleratorHost::Initialize(
}
bool VideoDecodeAcceleratorHost::Decode(
- media::BitstreamBuffer* bitstream_buffer,
+ const media::BitstreamBuffer& bitstream_buffer,
VideoDecodeAcceleratorCallback* callback) {
// TODO(vmr): implement.
NOTIMPLEMENTED();
return false;
}
-void VideoDecodeAcceleratorHost::AssignPictureBuffer(
- std::vector<PictureBuffer*> picture_buffers) {
+void VideoDecodeAcceleratorHost::AssignGLESBuffers(
+ const std::vector<media::GLESBuffer>& buffers) {
// TODO(vmr): implement.
NOTIMPLEMENTED();
}
-void VideoDecodeAcceleratorHost::ReusePictureBuffer(
- PictureBuffer* picture_buffer) {
+void VideoDecodeAcceleratorHost::AssignSysmemBuffers(
+ const std::vector<media::SysmemBuffer>& buffers) {
+ // TODO(vmr): implement.
+ NOTIMPLEMENTED();
+}
+
+void VideoDecodeAcceleratorHost::ReusePictureBuffer(uint32 picture_buffer_id) {
// TODO(vmr): implement.
NOTIMPLEMENTED();
}
« no previous file with comments | « content/renderer/video_decode_accelerator_host.h ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698