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

Side by Side Diff: content/renderer/pepper_platform_video_decoder_impl.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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/pepper_platform_video_decoder_impl.h" 5 #include "content/renderer/pepper_platform_video_decoder_impl.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "content/renderer/video_decode_accelerator_host.h" 10 #include "content/renderer/video_decode_accelerator_host.h"
(...skipping 30 matching lines...) Expand all
41 // TODO(vmr): Implement me! 41 // TODO(vmr): Implement me!
42 NOTIMPLEMENTED(); 42 NOTIMPLEMENTED();
43 // Put the incoming buffer into bitstream_buffer queue 43 // Put the incoming buffer into bitstream_buffer queue
44 return false; 44 return false;
45 } 45 }
46 46
47 void PlatformVideoDecoderImpl::AssignPictureBuffer( 47 void PlatformVideoDecoderImpl::AssignPictureBuffer(
48 std::vector<VideoDecodeAccelerator::PictureBuffer*> picture_buffers) { 48 std::vector<VideoDecodeAccelerator::PictureBuffer*> picture_buffers) {
49 } 49 }
50 50
51 void PlatformVideoDecoderImpl::ReusePictureBuffer( 51 void PlatformVideoDecoderImpl::ReusePictureBuffer(uint32 picture_buffer_id) {
52 VideoDecodeAccelerator::PictureBuffer* picture_buffer) {
53 } 52 }
54 53
55 bool PlatformVideoDecoderImpl::Flush( 54 bool PlatformVideoDecoderImpl::Flush(
56 VideoDecodeAcceleratorCallback* callback) { 55 VideoDecodeAcceleratorCallback* callback) {
57 // TODO(vmr): Implement me! 56 // TODO(vmr): Implement me!
58 NOTIMPLEMENTED(); 57 NOTIMPLEMENTED();
59 58
60 // Call GPU video decoder to flush. 59 // Call GPU video decoder to flush.
61 return video_decode_accelerator_->Flush(callback); 60 return video_decode_accelerator_->Flush(callback);
62 } 61 }
(...skipping 19 matching lines...) Expand all
82 } 81 }
83 82
84 void PlatformVideoDecoderImpl::ProvidePictureBuffers( 83 void PlatformVideoDecoderImpl::ProvidePictureBuffers(
85 uint32 requested_num_of_buffers, 84 uint32 requested_num_of_buffers,
86 const std::vector<uint32>& buffer_properties) { 85 const std::vector<uint32>& buffer_properties) {
87 // TODO(vmr): Implement. 86 // TODO(vmr): Implement.
88 NOTIMPLEMENTED(); 87 NOTIMPLEMENTED();
89 } 88 }
90 89
91 void PlatformVideoDecoderImpl::PictureReady( 90 void PlatformVideoDecoderImpl::PictureReady(
92 VideoDecodeAccelerator::Picture* picture) { 91 VideoDecodeAccelerator::Picture& picture) {
93 // TODO(vmr): Implement. 92 // TODO(vmr): Implement.
94 NOTIMPLEMENTED(); 93 NOTIMPLEMENTED();
95 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698