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

Side by Side Diff: ppapi/cpp/dev/video_decoder_client_dev.h

Issue 9186022: Remove VideoDecodeAccelerator::Client::NotifyEndOfStream / PPP_VideoDecoder_Dev::EndOfStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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
« no previous file with comments | « ppapi/c/dev/ppp_video_decoder_dev.h ('k') | ppapi/cpp/dev/video_decoder_client_dev.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_ 5 #ifndef PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_
6 #define PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_ 6 #define PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_
7 7
8 #include "ppapi/c/pp_stdint.h" 8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/dev/pp_video_dev.h" 9 #include "ppapi/c/dev/pp_video_dev.h"
10 10
(...skipping 18 matching lines...) Expand all
29 29
30 // Callback for decoder to deliver unneeded picture buffers back to the 30 // Callback for decoder to deliver unneeded picture buffers back to the
31 // plugin. 31 // plugin.
32 virtual void DismissPictureBuffer(PP_Resource decoder, 32 virtual void DismissPictureBuffer(PP_Resource decoder,
33 int32_t picture_buffer_id) = 0; 33 int32_t picture_buffer_id) = 0;
34 34
35 // Callback to deliver decoded pictures ready to be displayed. 35 // Callback to deliver decoded pictures ready to be displayed.
36 virtual void PictureReady(PP_Resource decoder, 36 virtual void PictureReady(PP_Resource decoder,
37 const PP_Picture_Dev& picture) = 0; 37 const PP_Picture_Dev& picture) = 0;
38 38
39 // Callback to notify that decoder has decoded end of stream marker and has
40 // outputted all displayable pictures.
41 virtual void EndOfStream(PP_Resource decoder) = 0;
Ami GONE FROM CHROMIUM 2012/01/11 23:50:05 piman: is this legit to do? IOW does the cpp/ ver
piman 2012/01/12 19:44:07 It's fine. 1- yes, we're trying to keep the CPP in
42
43 // Callback to notify about decoding errors. 39 // Callback to notify about decoding errors.
44 virtual void NotifyError(PP_Resource decoder, 40 virtual void NotifyError(PP_Resource decoder,
45 PP_VideoDecodeError_Dev error) = 0; 41 PP_VideoDecodeError_Dev error) = 0;
46 42
47 private: 43 private:
48 Instance* associated_instance_; 44 Instance* associated_instance_;
49 }; 45 };
50 46
51 } // namespace pp 47 } // namespace pp
52 48
53 #endif // PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_ 49 #endif // PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppp_video_decoder_dev.h ('k') | ppapi/cpp/dev/video_decoder_client_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698