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

Side by Side Diff: webrtc/api/video_codecs/video_decoder.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/video_frame_buffer.cc ('k') | webrtc/api/video_codecs/video_encoder.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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual int32_t Release() = 0; 75 virtual int32_t Release() = 0;
76 76
77 // Returns true if the decoder prefer to decode frames late. 77 // Returns true if the decoder prefer to decode frames late.
78 // That is, it can not decode infinite number of frames before the decoded 78 // That is, it can not decode infinite number of frames before the decoded
79 // frame is consumed. 79 // frame is consumed.
80 virtual bool PrefersLateDecoding() const { return true; } 80 virtual bool PrefersLateDecoding() const { return true; }
81 81
82 virtual const char* ImplementationName() const { return "unknown"; } 82 virtual const char* ImplementationName() const { return "unknown"; }
83 }; 83 };
84 84
85 class VideoDecoderFactory {
86 public:
87 virtual VideoDecoder* Create() = 0;
88 virtual void Destroy(VideoDecoder* decoder) = 0;
89 virtual ~VideoDecoderFactory() {}
90 };
91
85 } // namespace webrtc 92 } // namespace webrtc
86 93
87 #endif // WEBRTC_API_VIDEO_CODECS_VIDEO_DECODER_H_ 94 #endif // WEBRTC_API_VIDEO_CODECS_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « webrtc/api/video/video_frame_buffer.cc ('k') | webrtc/api/video_codecs/video_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698