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

Side by Side Diff: ppapi/thunk/ppb_video_decoder_api.h

Issue 703753002: Pepper: Expose visible_rect to PPB_VideoDecoder.GetPicture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_stable.h ('k') | ppapi/thunk/ppb_video_decoder_thunk.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) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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_THUNK_PPB_VIDEO_DECODER_API_H_ 5 #ifndef PPAPI_THUNK_PPB_VIDEO_DECODER_API_H_
6 #define PPAPI_THUNK_PPB_VIDEO_DECODER_API_H_ 6 #define PPAPI_THUNK_PPB_VIDEO_DECODER_API_H_
7 7
8 #include "ppapi/c/pp_codecs.h" 8 #include "ppapi/c/pp_codecs.h"
9 #include "ppapi/c/ppb_video_decoder.h" 9 #include "ppapi/c/ppb_video_decoder.h"
10 #include "ppapi/thunk/ppapi_thunk_export.h" 10 #include "ppapi/thunk/ppapi_thunk_export.h"
(...skipping 13 matching lines...) Expand all
24 PP_Bool allow_software_fallback, 24 PP_Bool allow_software_fallback,
25 scoped_refptr<TrackedCallback> callback) = 0; 25 scoped_refptr<TrackedCallback> callback) = 0;
26 virtual int32_t Initialize(PP_Resource graphics3d_context, 26 virtual int32_t Initialize(PP_Resource graphics3d_context,
27 PP_VideoProfile profile, 27 PP_VideoProfile profile,
28 PP_HardwareAcceleration acceleration, 28 PP_HardwareAcceleration acceleration,
29 scoped_refptr<TrackedCallback> callback) = 0; 29 scoped_refptr<TrackedCallback> callback) = 0;
30 virtual int32_t Decode(uint32_t decode_id, 30 virtual int32_t Decode(uint32_t decode_id,
31 uint32_t size, 31 uint32_t size,
32 const void* buffer, 32 const void* buffer,
33 scoped_refptr<TrackedCallback> callback) = 0; 33 scoped_refptr<TrackedCallback> callback) = 0;
34 virtual int32_t GetPicture0_1(PP_VideoPicture_0_1* picture,
35 scoped_refptr<TrackedCallback> callback) = 0;
34 virtual int32_t GetPicture(PP_VideoPicture* picture, 36 virtual int32_t GetPicture(PP_VideoPicture* picture,
35 scoped_refptr<TrackedCallback> callback) = 0; 37 scoped_refptr<TrackedCallback> callback) = 0;
36 virtual void RecyclePicture(const PP_VideoPicture* picture) = 0; 38 virtual void RecyclePicture(const PP_VideoPicture* picture) = 0;
37 virtual int32_t Flush(scoped_refptr<TrackedCallback> callback) = 0; 39 virtual int32_t Flush(scoped_refptr<TrackedCallback> callback) = 0;
38 virtual int32_t Reset(scoped_refptr<TrackedCallback> callback) = 0; 40 virtual int32_t Reset(scoped_refptr<TrackedCallback> callback) = 0;
39 }; 41 };
40 42
41 } // namespace thunk 43 } // namespace thunk
42 } // namespace ppapi 44 } // namespace ppapi
43 45
44 #endif // PPAPI_THUNK_PPB_VIDEO_DECODER_API_H_ 46 #endif // PPAPI_THUNK_PPB_VIDEO_DECODER_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_stable.h ('k') | ppapi/thunk/ppb_video_decoder_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698