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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp8/vp8_impl.h

Issue 1371043003: Unify FrameType and VideoFrameType. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 2 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
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 * WEBRTC VP8 wrapper interface 10 * WEBRTC VP8 wrapper interface
(...skipping 30 matching lines...) Expand all
41 virtual ~VP8EncoderImpl(); 41 virtual ~VP8EncoderImpl();
42 42
43 virtual int Release(); 43 virtual int Release();
44 44
45 virtual int InitEncode(const VideoCodec* codec_settings, 45 virtual int InitEncode(const VideoCodec* codec_settings,
46 int number_of_cores, 46 int number_of_cores,
47 size_t max_payload_size); 47 size_t max_payload_size);
48 48
49 virtual int Encode(const VideoFrame& input_image, 49 virtual int Encode(const VideoFrame& input_image,
50 const CodecSpecificInfo* codec_specific_info, 50 const CodecSpecificInfo* codec_specific_info,
51 const std::vector<VideoFrameType>* frame_types); 51 const std::vector<FrameType>* frame_types);
52 52
53 virtual int RegisterEncodeCompleteCallback(EncodedImageCallback* callback); 53 virtual int RegisterEncodeCompleteCallback(EncodedImageCallback* callback);
54 54
55 virtual int SetChannelParameters(uint32_t packet_loss, int64_t rtt); 55 virtual int SetChannelParameters(uint32_t packet_loss, int64_t rtt);
56 56
57 virtual int SetRates(uint32_t new_bitrate_kbit, uint32_t frame_rate); 57 virtual int SetRates(uint32_t new_bitrate_kbit, uint32_t frame_rate);
58 58
59 void OnDroppedFrame() override {} 59 void OnDroppedFrame() override {}
60 60
61 private: 61 private:
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 vpx_ref_frame_t* ref_frame_; 158 vpx_ref_frame_t* ref_frame_;
159 int propagation_cnt_; 159 int propagation_cnt_;
160 int last_frame_width_; 160 int last_frame_width_;
161 int last_frame_height_; 161 int last_frame_height_;
162 bool key_frame_required_; 162 bool key_frame_required_;
163 }; // end of VP8DecoderImpl class 163 }; // end of VP8DecoderImpl class
164 } // namespace webrtc 164 } // namespace webrtc
165 165
166 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ 166 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_
167 167
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h ('k') | webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698