| 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_RENDERERS_VIDEO_RENDERER_IMPL_H_ | 5 #ifndef MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ |
| 6 #define MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ | 6 #define MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <deque> | 11 #include <deque> |
| 12 #include <memory> | 12 #include <memory> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_vector.h" | |
| 17 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 18 #include "base/synchronization/condition_variable.h" | 17 #include "base/synchronization/condition_variable.h" |
| 19 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
| 20 #include "base/timer/timer.h" | 19 #include "base/timer/timer.h" |
| 21 #include "media/base/decryptor.h" | 20 #include "media/base/decryptor.h" |
| 22 #include "media/base/demuxer_stream.h" | 21 #include "media/base/demuxer_stream.h" |
| 23 #include "media/base/media_log.h" | 22 #include "media/base/media_log.h" |
| 24 #include "media/base/pipeline_status.h" | 23 #include "media/base/pipeline_status.h" |
| 25 #include "media/base/video_decoder.h" | 24 #include "media/base/video_decoder.h" |
| 26 #include "media/base/video_frame.h" | 25 #include "media/base/video_frame.h" |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 // want to discard video frames that might be received after the stream has | 312 // want to discard video frames that might be received after the stream has |
| 314 // been reset. | 313 // been reset. |
| 315 base::WeakPtrFactory<VideoRendererImpl> frame_callback_weak_factory_; | 314 base::WeakPtrFactory<VideoRendererImpl> frame_callback_weak_factory_; |
| 316 | 315 |
| 317 DISALLOW_COPY_AND_ASSIGN(VideoRendererImpl); | 316 DISALLOW_COPY_AND_ASSIGN(VideoRendererImpl); |
| 318 }; | 317 }; |
| 319 | 318 |
| 320 } // namespace media | 319 } // namespace media |
| 321 | 320 |
| 322 #endif // MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ | 321 #endif // MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ |
| OLD | NEW |