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

Side by Side Diff: webrtc/video/video_receive_stream.h

Issue 2089773002: Add EncodedImageCallback::OnEncodedImage(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: . Created 4 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 | « webrtc/video/video_encoder_unittest.cc ('k') | webrtc/video/video_receive_stream.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 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // webrtc::VideoReceiveStream implementation. 60 // webrtc::VideoReceiveStream implementation.
61 void Start() override; 61 void Start() override;
62 void Stop() override; 62 void Stop() override;
63 63
64 webrtc::VideoReceiveStream::Stats GetStats() const override; 64 webrtc::VideoReceiveStream::Stats GetStats() const override;
65 65
66 // Overrides rtc::VideoSinkInterface<VideoFrame>. 66 // Overrides rtc::VideoSinkInterface<VideoFrame>.
67 void OnFrame(const VideoFrame& video_frame) override; 67 void OnFrame(const VideoFrame& video_frame) override;
68 68
69 // Overrides EncodedImageCallback. 69 // Overrides EncodedImageCallback.
70 int32_t Encoded(const EncodedImage& encoded_image, 70 EncodedImageCallback::Result OnEncodedImage(
71 const CodecSpecificInfo* codec_specific_info, 71 const EncodedImage& encoded_image,
72 const RTPFragmentationHeader* fragmentation) override; 72 const CodecSpecificInfo* codec_specific_info,
73 const RTPFragmentationHeader* fragmentation) override;
73 74
74 const Config& config() const { return config_; } 75 const Config& config() const { return config_; }
75 76
76 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id); 77 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id);
77 78
78 // Implements NackSender. 79 // Implements NackSender.
79 void SendNack(const std::vector<uint16_t>& sequence_numbers) override; 80 void SendNack(const std::vector<uint16_t>& sequence_numbers) override;
80 81
81 // Implements KeyFrameRequestSender. 82 // Implements KeyFrameRequestSender.
82 void RequestKeyFrame() override; 83 void RequestKeyFrame() override;
(...skipping 18 matching lines...) Expand all
101 RtpStreamReceiver rtp_stream_receiver_; 102 RtpStreamReceiver rtp_stream_receiver_;
102 std::unique_ptr<VideoStreamDecoder> video_stream_decoder_; 103 std::unique_ptr<VideoStreamDecoder> video_stream_decoder_;
103 ViESyncModule vie_sync_; 104 ViESyncModule vie_sync_;
104 105
105 std::unique_ptr<IvfFileWriter> ivf_writer_; 106 std::unique_ptr<IvfFileWriter> ivf_writer_;
106 }; 107 };
107 } // namespace internal 108 } // namespace internal
108 } // namespace webrtc 109 } // namespace webrtc
109 110
110 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ 111 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_encoder_unittest.cc ('k') | webrtc/video/video_receive_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698