| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_FILTERS_GPU_VIDEO_DECODER_H_ | 5 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ |
| 6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ | 6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 // picture_buffer_id and the frame wrapping the corresponding Picture, for | 201 // picture_buffer_id and the frame wrapping the corresponding Picture, for |
| 202 // frames that have been decoded but haven't been requested by a Read() yet. | 202 // frames that have been decoded but haven't been requested by a Read() yet. |
| 203 std::list<scoped_refptr<VideoFrame> > ready_video_frames_; | 203 std::list<scoped_refptr<VideoFrame> > ready_video_frames_; |
| 204 int64 next_picture_buffer_id_; | 204 int64 next_picture_buffer_id_; |
| 205 int64 next_bitstream_buffer_id_; | 205 int64 next_bitstream_buffer_id_; |
| 206 | 206 |
| 207 // Indicates PrepareForShutdownHack()'s been called. Makes further calls to | 207 // Indicates PrepareForShutdownHack()'s been called. Makes further calls to |
| 208 // this class not require the render thread's loop to be processing. | 208 // this class not require the render thread's loop to be processing. |
| 209 bool shutting_down_; | 209 bool shutting_down_; |
| 210 | 210 |
| 211 // Indicates decoding error occurred. |
| 212 bool error_occured_; |
| 213 |
| 211 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); | 214 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); |
| 212 }; | 215 }; |
| 213 | 216 |
| 214 } // namespace media | 217 } // namespace media |
| 215 | 218 |
| 216 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ | 219 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ |
| OLD | NEW |