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

Side by Side Diff: webrtc/api/video_codecs/video_encoder.h

Issue 2990463002: [EXPERIMENTAL] Generic stereo codec with index header sending merged frames
Patch Set: Created 3 years, 5 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/api/video_codecs/video_decoder.h ('k') | webrtc/common_types.h » ('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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // quality scaler must implement this method. 171 // quality scaler must implement this method.
172 virtual ScalingSettings GetScalingSettings() const { 172 virtual ScalingSettings GetScalingSettings() const {
173 return ScalingSettings(false); 173 return ScalingSettings(false);
174 } 174 }
175 175
176 virtual int32_t SetPeriodicKeyFrames(bool enable) { return -1; } 176 virtual int32_t SetPeriodicKeyFrames(bool enable) { return -1; }
177 virtual bool SupportsNativeHandle() const { return false; } 177 virtual bool SupportsNativeHandle() const { return false; }
178 virtual const char* ImplementationName() const { return "unknown"; } 178 virtual const char* ImplementationName() const { return "unknown"; }
179 }; 179 };
180 180
181 class VideoEncoderFactory {
182 public:
183 virtual VideoEncoder* Create() = 0;
184 virtual void Destroy(VideoEncoder* encoder) = 0;
185 virtual ~VideoEncoderFactory() {}
186 };
187
181 } // namespace webrtc 188 } // namespace webrtc
182 #endif // WEBRTC_API_VIDEO_CODECS_VIDEO_ENCODER_H_ 189 #endif // WEBRTC_API_VIDEO_CODECS_VIDEO_ENCODER_H_
OLDNEW
« no previous file with comments | « webrtc/api/video_codecs/video_decoder.h ('k') | webrtc/common_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698