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

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: Fixing a few parameter types Created 9 years, 8 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
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..31731146400b3f0fde27989bcd826f8bbfb2e006 100644
--- a/content/renderer/video_decode_accelerator_host.cc
+++ b/content/renderer/video_decode_accelerator_host.cc
@@ -36,11 +36,12 @@ bool VideoDecodeAcceleratorHost::OnMessageReceived(const IPC::Message& msg) {
return handled;
}
-const std::vector<uint32>& VideoDecodeAcceleratorHost::GetConfig(
+const std::vector<uint32> VideoDecodeAcceleratorHost::GetConfigs(
const std::vector<uint32>& prototype_config) {
// TODO(vmr): implement.
NOTIMPLEMENTED();
- return configs_;
+ std::vector<uint32> configs;
+ return configs;
}
bool VideoDecodeAcceleratorHost::Initialize(
@@ -51,7 +52,7 @@ bool VideoDecodeAcceleratorHost::Initialize(
}
bool VideoDecodeAcceleratorHost::Decode(
- media::BitstreamBuffer* bitstream_buffer,
+ const media::BitstreamBuffer& bitstream_buffer,
VideoDecodeAcceleratorCallback* callback) {
// TODO(vmr): implement.
NOTIMPLEMENTED();
@@ -59,13 +60,12 @@ bool VideoDecodeAcceleratorHost::Decode(
}
void VideoDecodeAcceleratorHost::AssignPictureBuffer(
- std::vector<PictureBuffer*> picture_buffers) {
+ const std::vector<media::PictureBuffer>& picture_buffers) {
// TODO(vmr): implement.
NOTIMPLEMENTED();
}
-void VideoDecodeAcceleratorHost::ReusePictureBuffer(
- PictureBuffer* picture_buffer) {
+void VideoDecodeAcceleratorHost::ReusePictureBuffer(uint32 picture_buffer_id) {
// TODO(vmr): implement.
NOTIMPLEMENTED();
}

Powered by Google App Engine
This is Rietveld 408576698