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

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

Issue 1912653002: Remove PayloadRouter dependency from ViEEncoder (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed comments. Created 4 years, 7 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 | webrtc/video/encoded_frame_callback_adapter.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
11 #ifndef WEBRTC_VIDEO_ENCODED_FRAME_CALLBACK_ADAPTER_H_ 11 #ifndef WEBRTC_VIDEO_ENCODED_FRAME_CALLBACK_ADAPTER_H_
12 #define WEBRTC_VIDEO_ENCODED_FRAME_CALLBACK_ADAPTER_H_ 12 #define WEBRTC_VIDEO_ENCODED_FRAME_CALLBACK_ADAPTER_H_
13 13
14 #include "webrtc/common_video/include/frame_callback.h" 14 #include "webrtc/common_video/include/frame_callback.h"
15 #include "webrtc/modules/video_coding/include/video_codec_interface.h" 15 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
16 16
17 namespace webrtc { 17 namespace webrtc {
18 namespace internal { 18 namespace internal {
19 19
20 class EncodedFrameCallbackAdapter : public EncodedImageCallback { 20 class EncodedFrameCallbackAdapter : public EncodedImageCallback {
21 public: 21 public:
22 explicit EncodedFrameCallbackAdapter(EncodedFrameObserver* observer); 22 explicit EncodedFrameCallbackAdapter(EncodedFrameObserver* observer);
23 virtual ~EncodedFrameCallbackAdapter(); 23 virtual ~EncodedFrameCallbackAdapter();
24 24
25 virtual int32_t Encoded(const EncodedImage& encodedImage, 25 virtual int32_t Encoded(const EncodedImage& encodedImage,
26 const CodecSpecificInfo* codecSpecificInfo, 26 const CodecSpecificInfo* codecSpecificInfo,
27 const RTPFragmentationHeader* fragmentation); 27 const RTPFragmentationHeader* fragmentation);
28 28
29 private: 29 private:
30 EncodedFrameObserver* observer_; 30 EncodedFrameObserver* const observer_;
31 }; 31 };
32 32
33 } // namespace internal 33 } // namespace internal
34 } // namespace webrtc 34 } // namespace webrtc
35 35
36 #endif // WEBRTC_VIDEO_ENCODED_FRAME_CALLBACK_ADAPTER_H_ 36 #endif // WEBRTC_VIDEO_ENCODED_FRAME_CALLBACK_ADAPTER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/encoded_frame_callback_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698