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

Side by Side Diff: webrtc/modules/video_coding/codec_database.h

Issue 1479793002: Remove RegisterExternal{De,En}coder error codes. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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/modules/video_coding/codec_database.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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Receiver Side 91 // Receiver Side
92 void ResetReceiver(); 92 void ResetReceiver();
93 93
94 // Deregisters an external decoder object specified by |payload_type|. 94 // Deregisters an external decoder object specified by |payload_type|.
95 bool DeregisterExternalDecoder(uint8_t payload_type); 95 bool DeregisterExternalDecoder(uint8_t payload_type);
96 96
97 // Registers an external decoder object to the payload type |payload_type|. 97 // Registers an external decoder object to the payload type |payload_type|.
98 // |internal_render_timing| is set to true if the |external_decoder| has 98 // |internal_render_timing| is set to true if the |external_decoder| has
99 // built in rendering which is able to obey the render timestamps of the 99 // built in rendering which is able to obey the render timestamps of the
100 // encoded frames. 100 // encoded frames.
101 bool RegisterExternalDecoder(VideoDecoder* external_decoder, 101 void RegisterExternalDecoder(VideoDecoder* external_decoder,
102 uint8_t payload_type, 102 uint8_t payload_type,
103 bool internal_render_timing); 103 bool internal_render_timing);
104 104
105 bool DecoderRegistered() const; 105 bool DecoderRegistered() const;
106 106
107 bool RegisterReceiveCodec(const VideoCodec* receive_codec, 107 bool RegisterReceiveCodec(const VideoCodec* receive_codec,
108 int number_of_cores, 108 int number_of_cores,
109 bool require_key_frame); 109 bool require_key_frame);
110 110
111 bool DeregisterReceiveCodec(uint8_t payload_type); 111 bool DeregisterReceiveCodec(uint8_t payload_type);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 VCMEncodedFrameCallback* const encoded_frame_callback_; 169 VCMEncodedFrameCallback* const encoded_frame_callback_;
170 rtc::scoped_ptr<VCMGenericEncoder> ptr_encoder_; 170 rtc::scoped_ptr<VCMGenericEncoder> ptr_encoder_;
171 VCMGenericDecoder* ptr_decoder_; 171 VCMGenericDecoder* ptr_decoder_;
172 DecoderMap dec_map_; 172 DecoderMap dec_map_;
173 ExternalDecoderMap dec_external_map_; 173 ExternalDecoderMap dec_external_map_;
174 }; // VCMCodecDataBase 174 }; // VCMCodecDataBase
175 175
176 } // namespace webrtc 176 } // namespace webrtc
177 177
178 #endif // WEBRTC_MODULES_VIDEO_CODING_CODEC_DATABASE_H_ 178 #endif // WEBRTC_MODULES_VIDEO_CODING_CODEC_DATABASE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codec_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698