OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ENCODER_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_VIDEO_ENCODER_API_H_ |
6 #define PPAPI_THUNK_PPB_VIDEO_ENCODER_API_H_ | 6 #define PPAPI_THUNK_PPB_VIDEO_ENCODER_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/pp_codecs.h" | 10 #include "ppapi/c/pp_codecs.h" |
9 #include "ppapi/c/ppb_video_encoder.h" | 11 #include "ppapi/c/ppb_video_encoder.h" |
10 #include "ppapi/thunk/ppapi_thunk_export.h" | 12 #include "ppapi/thunk/ppapi_thunk_export.h" |
11 | 13 |
12 namespace ppapi { | 14 namespace ppapi { |
13 | 15 |
14 class TrackedCallback; | 16 class TrackedCallback; |
15 | 17 |
16 namespace thunk { | 18 namespace thunk { |
17 | 19 |
(...skipping 29 matching lines...) Expand all Loading... |
47 const PP_BitstreamBuffer* bitstream_buffer) = 0; | 49 const PP_BitstreamBuffer* bitstream_buffer) = 0; |
48 virtual void RequestEncodingParametersChange(uint32_t bitrate, | 50 virtual void RequestEncodingParametersChange(uint32_t bitrate, |
49 uint32_t framerate) = 0; | 51 uint32_t framerate) = 0; |
50 virtual void Close() = 0; | 52 virtual void Close() = 0; |
51 }; | 53 }; |
52 | 54 |
53 } // namespace thunk | 55 } // namespace thunk |
54 } // namespace ppapi | 56 } // namespace ppapi |
55 | 57 |
56 #endif // PPAPI_THUNK_PPB_VIDEO_ENCODER_API_H_ | 58 #endif // PPAPI_THUNK_PPB_VIDEO_ENCODER_API_H_ |
OLD | NEW |