Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: content/renderer/media/rtc_video_decoder.h

Issue 1695583002: Remove RTCVideoDecoder Reset method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove ResetReturnOk test, still covered by ReleaseReturnsOk Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/renderer/media/rtc_video_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 bool missingFrames, 72 bool missingFrames,
73 const webrtc::RTPFragmentationHeader* fragmentation, 73 const webrtc::RTPFragmentationHeader* fragmentation,
74 const webrtc::CodecSpecificInfo* codecSpecificInfo = NULL, 74 const webrtc::CodecSpecificInfo* codecSpecificInfo = NULL,
75 int64_t renderTimeMs = -1) override; 75 int64_t renderTimeMs = -1) override;
76 // Called on WebRTC DecodingThread. 76 // Called on WebRTC DecodingThread.
77 int32_t RegisterDecodeCompleteCallback( 77 int32_t RegisterDecodeCompleteCallback(
78 webrtc::DecodedImageCallback* callback) override; 78 webrtc::DecodedImageCallback* callback) override;
79 // Called on Chrome_libJingle_WorkerThread. The child thread is blocked while 79 // Called on Chrome_libJingle_WorkerThread. The child thread is blocked while
80 // this runs. 80 // this runs.
81 int32_t Release() override; 81 int32_t Release() override;
82 // Called on Chrome_libJingle_WorkerThread. The child thread is blocked while
83 // this runs.
84 int32_t Reset() override;
85 82
86 // VideoDecodeAccelerator::Client implementation. 83 // VideoDecodeAccelerator::Client implementation.
87 void ProvidePictureBuffers(uint32_t count, 84 void ProvidePictureBuffers(uint32_t count,
88 const gfx::Size& size, 85 const gfx::Size& size,
89 uint32_t texture_target) override; 86 uint32_t texture_target) override;
90 void DismissPictureBuffer(int32_t id) override; 87 void DismissPictureBuffer(int32_t id) override;
91 void PictureReady(const media::Picture& picture) override; 88 void PictureReady(const media::Picture& picture) override;
92 void NotifyEndOfBitstreamBuffer(int32_t id) override; 89 void NotifyEndOfBitstreamBuffer(int32_t id) override;
93 void NotifyFlushDone() override; 90 void NotifyFlushDone() override;
94 void NotifyResetDone() override; 91 void NotifyResetDone() override;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // Must be destroyed, or invalidated, on |vda_loop_proxy_| 281 // Must be destroyed, or invalidated, on |vda_loop_proxy_|
285 // NOTE: Weak pointers must be invalidated before all other member variables. 282 // NOTE: Weak pointers must be invalidated before all other member variables.
286 base::WeakPtrFactory<RTCVideoDecoder> weak_factory_; 283 base::WeakPtrFactory<RTCVideoDecoder> weak_factory_;
287 284
288 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoder); 285 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoder);
289 }; 286 };
290 287
291 } // namespace content 288 } // namespace content
292 289
293 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_H_ 290 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/rtc_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698