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

Side by Side Diff: webkit/plugins/ppapi/ppb_video_decoder_impl.h

Issue 7021020: Clean up video frame sizes, types in Video Decode API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup 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 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 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void AssignGLESBuffers(uint32_t no_of_buffers, 52 void AssignGLESBuffers(uint32_t no_of_buffers,
53 PP_GLESBuffer_Dev* buffers); 53 PP_GLESBuffer_Dev* buffers);
54 void AssignSysmemBuffers(uint32_t no_of_buffers, 54 void AssignSysmemBuffers(uint32_t no_of_buffers,
55 PP_SysmemBuffer_Dev* buffers); 55 PP_SysmemBuffer_Dev* buffers);
56 void ReusePictureBuffer(int32_t picture_buffer_id); 56 void ReusePictureBuffer(int32_t picture_buffer_id);
57 bool Flush(PP_CompletionCallback callback); 57 bool Flush(PP_CompletionCallback callback);
58 bool Abort(PP_CompletionCallback callback); 58 bool Abort(PP_CompletionCallback callback);
59 59
60 // media::VideoDecodeAccelerator::Client implementation. 60 // media::VideoDecodeAccelerator::Client implementation.
61 virtual void ProvidePictureBuffers( 61 virtual void ProvidePictureBuffers(
62 uint32 requested_num_of_buffers, 62 uint32 requested_num_of_buffers, const gfx::Size& dimensions) OVERRIDE;
63 const gfx::Size& dimensions,
64 media::VideoDecodeAccelerator::MemoryType type) OVERRIDE;
65 virtual void DismissPictureBuffer(int32 picture_buffer_id) OVERRIDE; 63 virtual void DismissPictureBuffer(int32 picture_buffer_id) OVERRIDE;
66 virtual void PictureReady(const media::Picture& picture) OVERRIDE; 64 virtual void PictureReady(const media::Picture& picture) OVERRIDE;
67 virtual void NotifyEndOfStream() OVERRIDE; 65 virtual void NotifyEndOfStream() OVERRIDE;
68 virtual void NotifyError( 66 virtual void NotifyError(
69 media::VideoDecodeAccelerator::Error error) OVERRIDE; 67 media::VideoDecodeAccelerator::Error error) OVERRIDE;
70 virtual void NotifyFlushDone() OVERRIDE; 68 virtual void NotifyFlushDone() OVERRIDE;
71 virtual void NotifyEndOfBitstreamBuffer(int32 buffer_id) OVERRIDE; 69 virtual void NotifyEndOfBitstreamBuffer(int32 buffer_id) OVERRIDE;
72 virtual void NotifyAbortDone() OVERRIDE; 70 virtual void NotifyAbortDone() OVERRIDE;
73 71
74 private: 72 private:
(...skipping 11 matching lines...) Expand all
86 // Reference to the plugin requesting this interface. 84 // Reference to the plugin requesting this interface.
87 const PPP_VideoDecoder_Dev* ppp_videodecoder_; 85 const PPP_VideoDecoder_Dev* ppp_videodecoder_;
88 86
89 DISALLOW_COPY_AND_ASSIGN(PPB_VideoDecoder_Impl); 87 DISALLOW_COPY_AND_ASSIGN(PPB_VideoDecoder_Impl);
90 }; 88 };
91 89
92 } // namespace ppapi 90 } // namespace ppapi
93 } // namespace webkit 91 } // namespace webkit
94 92
95 #endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ 93 #endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698