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

Side by Side Diff: ppapi/cpp/video_decoder.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/c/ppb_video_decoder.h ('k') | ppapi/cpp/video_decoder.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_CPP_VIDEO_DECODER_H_ 5 #ifndef PPAPI_CPP_VIDEO_DECODER_H_
6 #define PPAPI_CPP_VIDEO_DECODER_H_ 6 #define PPAPI_CPP_VIDEO_DECODER_H_
7 7
8 #include "ppapi/c/pp_codecs.h" 8 #include "ppapi/c/pp_codecs.h"
9 #include "ppapi/c/pp_size.h" 9 #include "ppapi/c/pp_size.h"
10 #include "ppapi/cpp/completion_callback.h" 10 #include "ppapi/cpp/completion_callback.h"
11 #include "ppapi/cpp/graphics_3d.h" 11 #include "ppapi/cpp/graphics_3d.h"
12 #include "ppapi/cpp/resource.h" 12 #include "ppapi/cpp/resource.h"
13 #include "ppapi/cpp/size.h" 13 #include "ppapi/cpp/size.h"
14 14
15 /// @file 15 /// @file
16 /// This file defines the API to create and use a VideoDecoder resource. 16 /// This file defines the API to create and use a VideoDecoder resource.
17 17
18 struct PP_FileInfo;
19
20 namespace pp { 18 namespace pp {
21 19
22 class InstanceHandle; 20 class InstanceHandle;
23 21
24 /// Video decoder interface. 22 /// Video decoder interface.
25 /// 23 ///
26 /// Typical usage: 24 /// Typical usage:
27 /// - Call Create() to create a new video decoder resource. 25 /// - Call Create() to create a new video decoder resource.
28 /// - Call Initialize() to initialize it with a 3d graphics context and the 26 /// - Call Initialize() to initialize it with a 3d graphics context and the
29 /// desired codec profile. 27 /// desired codec profile.
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 /// completion. 167 /// completion.
170 /// 168 ///
171 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. 169 /// @return An int32_t containing an error code from <code>pp_errors.h</code>.
172 /// Returns PP_ERROR_FAILED if the decoder isn't initialized. 170 /// Returns PP_ERROR_FAILED if the decoder isn't initialized.
173 int32_t Reset(const CompletionCallback& callback); 171 int32_t Reset(const CompletionCallback& callback);
174 }; 172 };
175 173
176 } // namespace pp 174 } // namespace pp
177 175
178 #endif // PPAPI_CPP_VIDEO_DECODER_H_ 176 #endif // PPAPI_CPP_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « ppapi/c/ppb_video_decoder.h ('k') | ppapi/cpp/video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698