| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_PRIVATE_VIDEO_DESTINATION_PRIVATE_H_ | 5 #ifndef PPAPI_CPP_PRIVATE_VIDEO_DESTINATION_PRIVATE_H_ |
| 6 #define PPAPI_CPP_PRIVATE_VIDEO_DESTINATION_PRIVATE_H_ | 6 #define PPAPI_CPP_PRIVATE_VIDEO_DESTINATION_PRIVATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "ppapi/c/pp_time.h" | 12 #include "ppapi/c/pp_time.h" |
| 11 #include "ppapi/cpp/completion_callback.h" | 13 #include "ppapi/cpp/completion_callback.h" |
| 12 #include "ppapi/cpp/pass_ref.h" | 14 #include "ppapi/cpp/pass_ref.h" |
| 13 #include "ppapi/cpp/resource.h" | 15 #include "ppapi/cpp/resource.h" |
| 14 | 16 |
| 15 /// @file | 17 /// @file |
| 16 /// This file defines the <code>PPB_VideoDestination_Private</code> interface | 18 /// This file defines the <code>PPB_VideoDestination_Private</code> interface |
| 17 /// for a video destination resource, which sends video frames to a MediaStream | 19 /// for a video destination resource, which sends video frames to a MediaStream |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 /// an invalid image data resource, or if some other browser error occurs. | 80 /// an invalid image data resource, or if some other browser error occurs. |
| 79 int32_t PutFrame(const VideoFrame_Private& frame); | 81 int32_t PutFrame(const VideoFrame_Private& frame); |
| 80 | 82 |
| 81 /// Closes the video destination. | 83 /// Closes the video destination. |
| 82 void Close(); | 84 void Close(); |
| 83 }; | 85 }; |
| 84 | 86 |
| 85 } // namespace pp | 87 } // namespace pp |
| 86 | 88 |
| 87 #endif // PPAPI_CPP_PRIVATE_VIDEO_DESTINATION_PRIVATE_H_ | 89 #endif // PPAPI_CPP_PRIVATE_VIDEO_DESTINATION_PRIVATE_H_ |
| OLD | NEW |