| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 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_FRAME_H_ | 5 #ifndef PPAPI_CPP_VIDEO_FRAME_H_ |
| 6 #define PPAPI_CPP_VIDEO_FRAME_H_ | 6 #define PPAPI_CPP_VIDEO_FRAME_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "ppapi/c/ppb_video_frame.h" | 10 #include "ppapi/c/ppb_video_frame.h" |
| 9 #include "ppapi/cpp/resource.h" | 11 #include "ppapi/cpp/resource.h" |
| 10 #include "ppapi/cpp/size.h" | 12 #include "ppapi/cpp/size.h" |
| 11 | 13 |
| 12 namespace pp { | 14 namespace pp { |
| 13 | 15 |
| 14 class VideoFrame : public Resource { | 16 class VideoFrame : public Resource { |
| 15 public: | 17 public: |
| 16 /// Default constructor for creating an is_null() | 18 /// Default constructor for creating an is_null() |
| 17 /// <code>VideoFrame</code> object. | 19 /// <code>VideoFrame</code> object. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 70 |
| 69 /// Gets the size of data buffer in bytes. | 71 /// Gets the size of data buffer in bytes. |
| 70 /// | 72 /// |
| 71 /// @return The size of the data buffer in bytes. | 73 /// @return The size of the data buffer in bytes. |
| 72 uint32_t GetDataBufferSize() const; | 74 uint32_t GetDataBufferSize() const; |
| 73 }; | 75 }; |
| 74 | 76 |
| 75 } // namespace pp | 77 } // namespace pp |
| 76 | 78 |
| 77 #endif // PPAPI_CPP_VIDEO_FRAME_H_ | 79 #endif // PPAPI_CPP_VIDEO_FRAME_H_ |
| OLD | NEW |