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

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

Issue 20646003: To dropp the decode done callback in RTCVideoDecoderBridgeTv. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dropping decode done callback Created 7 years, 4 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_bridge_tv.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.
Ami GONE FROM CHROMIUM 2013/08/01 19:57:32 The CL description needs a rewrite.
dwkang1 2013/08/02 01:55:30 Done.
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_BRIDGE_TV_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_BRIDGE_TV_H_
6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_BRIDGE_TV_H_ 6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_BRIDGE_TV_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "third_party/webrtc/modules/video_coding/codecs/interface/video_codec_i nterface.h" 11 #include "third_party/webrtc/modules/video_coding/codecs/interface/video_codec_i nterface.h"
(...skipping 20 matching lines...) Expand all
32 bool missing_frames, 32 bool missing_frames,
33 const webrtc::RTPFragmentationHeader* fragmentation, 33 const webrtc::RTPFragmentationHeader* fragmentation,
34 const webrtc::CodecSpecificInfo* codec_specific_info, 34 const webrtc::CodecSpecificInfo* codec_specific_info,
35 int64_t render_time_ms) OVERRIDE; 35 int64_t render_time_ms) OVERRIDE;
36 virtual int32_t RegisterDecodeCompleteCallback( 36 virtual int32_t RegisterDecodeCompleteCallback(
37 webrtc::DecodedImageCallback* callback) OVERRIDE; 37 webrtc::DecodedImageCallback* callback) OVERRIDE;
38 virtual int32_t Release() OVERRIDE; 38 virtual int32_t Release() OVERRIDE;
39 virtual int32_t Reset() OVERRIDE; 39 virtual int32_t Reset() OVERRIDE;
40 40
41 private: 41 private:
42 static void RunDecodeCompleteCallback(webrtc::DecodedImageCallback* callback,
43 int64_t timestamp,
44 gfx::Size size);
45
46 // The factory outlives this object, so weak pointer is fine. 42 // The factory outlives this object, so weak pointer is fine.
47 RTCVideoDecoderFactoryTv* factory_; 43 RTCVideoDecoderFactoryTv* factory_;
48 44
49 gfx::Size size_; 45 gfx::Size size_;
50 bool is_initialized_; 46 bool is_initialized_;
51 bool first_frame_; 47 bool first_frame_;
52 webrtc::DecodedImageCallback* decode_complete_callback_; 48 webrtc::DecodedImageCallback* decode_complete_callback_;
Ami GONE FROM CHROMIUM 2013/08/01 19:57:32 delete
dwkang1 2013/08/02 01:55:30 Done.
53 int64_t timestamp_offset_millis_; 49 int64_t timestamp_offset_millis_;
54 50
55 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoderBridgeTv); 51 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoderBridgeTv);
56 }; 52 };
57 53
58 } // namespace content 54 } // namespace content
59 55
60 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_BRIDGE_TV_H_ 56 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_BRIDGE_TV_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/rtc_video_decoder_bridge_tv.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698