| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 #ifndef TEST_VIDEO_SOURCE_H_ | 10 #ifndef TEST_VIDEO_SOURCE_H_ |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 virtual void Init() = 0; | 177 virtual void Init() = 0; |
| 178 | 178 |
| 179 // Prepare the stream for reading, rewind/open as necessary. | 179 // Prepare the stream for reading, rewind/open as necessary. |
| 180 virtual void Begin() = 0; | 180 virtual void Begin() = 0; |
| 181 | 181 |
| 182 // Advance the cursor to the next frame | 182 // Advance the cursor to the next frame |
| 183 virtual void Next() = 0; | 183 virtual void Next() = 0; |
| 184 | 184 |
| 185 virtual const uint8_t *cxdata() const = 0; | 185 virtual const uint8_t *cxdata() const = 0; |
| 186 | 186 |
| 187 virtual const unsigned int frame_size() const = 0; | 187 virtual size_t frame_size() const = 0; |
| 188 | 188 |
| 189 virtual const unsigned int frame_number() const = 0; | 189 virtual unsigned int frame_number() const = 0; |
| 190 }; | 190 }; |
| 191 | 191 |
| 192 } // namespace libvpx_test | 192 } // namespace libvpx_test |
| 193 | 193 |
| 194 #endif // TEST_VIDEO_SOURCE_H_ | 194 #endif // TEST_VIDEO_SOURCE_H_ |
| OLD | NEW |