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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp9/vp9_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) 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 17 matching lines...) Expand all
28 virtual ~VP9EncoderImpl(); 28 virtual ~VP9EncoderImpl();
29 29
30 int Release() override; 30 int Release() override;
31 31
32 int InitEncode(const VideoCodec* codec_settings, 32 int InitEncode(const VideoCodec* codec_settings,
33 int number_of_cores, 33 int number_of_cores,
34 size_t max_payload_size) override; 34 size_t max_payload_size) override;
35 35
36 int Encode(const VideoFrame& input_image, 36 int Encode(const VideoFrame& input_image,
37 const CodecSpecificInfo* codec_specific_info, 37 const CodecSpecificInfo* codec_specific_info,
38 const std::vector<VideoFrameType>* frame_types) override; 38 const std::vector<FrameType>* frame_types) override;
39 39
40 int RegisterEncodeCompleteCallback(EncodedImageCallback* callback) override; 40 int RegisterEncodeCompleteCallback(EncodedImageCallback* callback) override;
41 41
42 int SetChannelParameters(uint32_t packet_loss, int64_t rtt) override; 42 int SetChannelParameters(uint32_t packet_loss, int64_t rtt) override;
43 43
44 int SetRates(uint32_t new_bitrate_kbit, uint32_t frame_rate) override; 44 int SetRates(uint32_t new_bitrate_kbit, uint32_t frame_rate) override;
45 45
46 void OnDroppedFrame() override {} 46 void OnDroppedFrame() override {}
47 47
48 private: 48 private:
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 Vp9FrameBufferPool frame_buffer_pool_; 121 Vp9FrameBufferPool frame_buffer_pool_;
122 DecodedImageCallback* decode_complete_callback_; 122 DecodedImageCallback* decode_complete_callback_;
123 bool inited_; 123 bool inited_;
124 vpx_codec_ctx_t* decoder_; 124 vpx_codec_ctx_t* decoder_;
125 VideoCodec codec_; 125 VideoCodec codec_;
126 bool key_frame_required_; 126 bool key_frame_required_;
127 }; 127 };
128 } // namespace webrtc 128 } // namespace webrtc
129 129
130 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_IMPL_H_ 130 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc ('k') | webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698