| 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 CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_DECODER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_DECODER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_DECODER_H_ | 6 #define CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_DECODER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "media/video/picture.h" | 26 #include "media/video/picture.h" |
| 27 #include "media/video/video_decode_accelerator.h" | 27 #include "media/video/video_decode_accelerator.h" |
| 28 #include "third_party/webrtc/modules/video_coding/include/video_codec_interface.
h" | 28 #include "third_party/webrtc/modules/video_coding/include/video_codec_interface.
h" |
| 29 #include "ui/gfx/geometry/rect.h" | 29 #include "ui/gfx/geometry/rect.h" |
| 30 | 30 |
| 31 namespace base { | 31 namespace base { |
| 32 class WaitableEvent; | 32 class WaitableEvent; |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 namespace media { | 35 namespace media { |
| 36 class DecoderBuffer; | |
| 37 class GpuVideoAcceleratorFactories; | 36 class GpuVideoAcceleratorFactories; |
| 38 } | 37 } |
| 39 | 38 |
| 40 namespace gpu { | 39 namespace gpu { |
| 41 struct SyncToken; | 40 struct SyncToken; |
| 42 } | 41 } |
| 43 | 42 |
| 44 namespace content { | 43 namespace content { |
| 45 | 44 |
| 46 // This class uses hardware accelerated video decoder to decode video for | 45 // This class uses hardware accelerated video decoder to decode video for |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 // Must be destroyed, or invalidated, on the media thread. | 298 // Must be destroyed, or invalidated, on the media thread. |
| 300 // NOTE: Weak pointers must be invalidated before all other member variables. | 299 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 301 base::WeakPtrFactory<RTCVideoDecoder> weak_factory_; | 300 base::WeakPtrFactory<RTCVideoDecoder> weak_factory_; |
| 302 | 301 |
| 303 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoder); | 302 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoder); |
| 304 }; | 303 }; |
| 305 | 304 |
| 306 } // namespace content | 305 } // namespace content |
| 307 | 306 |
| 308 #endif // CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_DECODER_H_ | 307 #endif // CONTENT_RENDERER_MEDIA_GPU_RTC_VIDEO_DECODER_H_ |
| OLD | NEW |