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_RTC_VIDEO_DECODER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_H_ |
6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_H_ | 6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 virtual int32_t RegisterDecodeCompleteCallback( | 72 virtual int32_t RegisterDecodeCompleteCallback( |
73 webrtc::DecodedImageCallback* callback) OVERRIDE; | 73 webrtc::DecodedImageCallback* callback) OVERRIDE; |
74 // Called on Chrome_libJingle_WorkerThread. The child thread is blocked while | 74 // Called on Chrome_libJingle_WorkerThread. The child thread is blocked while |
75 // this runs. | 75 // this runs. |
76 virtual int32_t Release() OVERRIDE; | 76 virtual int32_t Release() OVERRIDE; |
77 // Called on Chrome_libJingle_WorkerThread. The child thread is blocked while | 77 // Called on Chrome_libJingle_WorkerThread. The child thread is blocked while |
78 // this runs. | 78 // this runs. |
79 virtual int32_t Reset() OVERRIDE; | 79 virtual int32_t Reset() OVERRIDE; |
80 | 80 |
81 // VideoDecodeAccelerator::Client implementation. | 81 // VideoDecodeAccelerator::Client implementation. |
82 virtual void NotifyInitializeDone() OVERRIDE; | |
83 virtual void ProvidePictureBuffers(uint32 count, | 82 virtual void ProvidePictureBuffers(uint32 count, |
84 const gfx::Size& size, | 83 const gfx::Size& size, |
85 uint32 texture_target) OVERRIDE; | 84 uint32 texture_target) OVERRIDE; |
86 virtual void DismissPictureBuffer(int32 id) OVERRIDE; | 85 virtual void DismissPictureBuffer(int32 id) OVERRIDE; |
87 virtual void PictureReady(const media::Picture& picture) OVERRIDE; | 86 virtual void PictureReady(const media::Picture& picture) OVERRIDE; |
88 virtual void NotifyEndOfBitstreamBuffer(int32 id) OVERRIDE; | 87 virtual void NotifyEndOfBitstreamBuffer(int32 id) OVERRIDE; |
89 virtual void NotifyFlushDone() OVERRIDE; | 88 virtual void NotifyFlushDone() OVERRIDE; |
90 virtual void NotifyResetDone() OVERRIDE; | 89 virtual void NotifyResetDone() OVERRIDE; |
91 virtual void NotifyError(media::VideoDecodeAccelerator::Error error) OVERRIDE; | 90 virtual void NotifyError(media::VideoDecodeAccelerator::Error error) OVERRIDE; |
92 | 91 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 // Must be destroyed, or invalidated, on |vda_loop_proxy_| | 272 // Must be destroyed, or invalidated, on |vda_loop_proxy_| |
274 // NOTE: Weak pointers must be invalidated before all other member variables. | 273 // NOTE: Weak pointers must be invalidated before all other member variables. |
275 base::WeakPtrFactory<RTCVideoDecoder> weak_factory_; | 274 base::WeakPtrFactory<RTCVideoDecoder> weak_factory_; |
276 | 275 |
277 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoder); | 276 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoder); |
278 }; | 277 }; |
279 | 278 |
280 } // namespace content | 279 } // namespace content |
281 | 280 |
282 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_H_ | 281 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_H_ |
OLD | NEW |