| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 MEDIA_GPU_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_ | 5 #ifndef MEDIA_GPU_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_ |
| 6 #define MEDIA_GPU_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_ | 6 #define MEDIA_GPU_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 97 |
| 98 // A monotonically-growing value. | 98 // A monotonically-growing value. |
| 99 base::TimeDelta input_timestamp_; | 99 base::TimeDelta input_timestamp_; |
| 100 | 100 |
| 101 // Resolution of input stream. Set once in initialization and not allowed to | 101 // Resolution of input stream. Set once in initialization and not allowed to |
| 102 // change after. | 102 // change after. |
| 103 gfx::Size frame_size_; | 103 gfx::Size frame_size_; |
| 104 | 104 |
| 105 uint32_t last_set_bitrate_; // In bps. | 105 uint32_t last_set_bitrate_; // In bps. |
| 106 | 106 |
| 107 // True if there is encoder error. |
| 108 bool error_occurred_; |
| 109 |
| 107 DISALLOW_COPY_AND_ASSIGN(AndroidVideoEncodeAccelerator); | 110 DISALLOW_COPY_AND_ASSIGN(AndroidVideoEncodeAccelerator); |
| 108 }; | 111 }; |
| 109 | 112 |
| 110 } // namespace media | 113 } // namespace media |
| 111 | 114 |
| 112 #endif // MEDIA_GPU_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_ | 115 #endif // MEDIA_GPU_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_ |
| OLD | NEW |