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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp9/vp9_impl.h

Issue 1412233003: Support simulcast and spatial layers in VideoQualityTest (PERF NOTE) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase + suppress log spamming Created 5 years, 1 month 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/config.h ('k') | webrtc/modules/video_coding/codecs/vp9/vp9_impl.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) 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // Determine number of encoder threads to use. 49 // Determine number of encoder threads to use.
50 int NumberOfThreads(int width, int height, int number_of_cores); 50 int NumberOfThreads(int width, int height, int number_of_cores);
51 51
52 // Call encoder initialize function and set control settings. 52 // Call encoder initialize function and set control settings.
53 int InitAndSetControlSettings(const VideoCodec* inst); 53 int InitAndSetControlSettings(const VideoCodec* inst);
54 54
55 void PopulateCodecSpecific(CodecSpecificInfo* codec_specific, 55 void PopulateCodecSpecific(CodecSpecificInfo* codec_specific,
56 const vpx_codec_cx_pkt& pkt, 56 const vpx_codec_cx_pkt& pkt,
57 uint32_t timestamp); 57 uint32_t timestamp);
58 58
59 bool ExplicitlyConfiguredSpatialLayers() const;
59 bool SetSvcRates(); 60 bool SetSvcRates();
60 61
61 virtual int GetEncodedLayerFrame(const vpx_codec_cx_pkt* pkt); 62 virtual int GetEncodedLayerFrame(const vpx_codec_cx_pkt* pkt);
62 63
63 // Callback function for outputting packets per spatial layer. 64 // Callback function for outputting packets per spatial layer.
64 static void EncoderOutputCodedPacketCallback(vpx_codec_cx_pkt* pkt, 65 static void EncoderOutputCodedPacketCallback(vpx_codec_cx_pkt* pkt,
65 void* user_data); 66 void* user_data);
66 67
67 // Determine maximum target for Intra frames 68 // Determine maximum target for Intra frames
68 // 69 //
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 Vp9FrameBufferPool frame_buffer_pool_; 122 Vp9FrameBufferPool frame_buffer_pool_;
122 DecodedImageCallback* decode_complete_callback_; 123 DecodedImageCallback* decode_complete_callback_;
123 bool inited_; 124 bool inited_;
124 vpx_codec_ctx_t* decoder_; 125 vpx_codec_ctx_t* decoder_;
125 VideoCodec codec_; 126 VideoCodec codec_;
126 bool key_frame_required_; 127 bool key_frame_required_;
127 }; 128 };
128 } // namespace webrtc 129 } // namespace webrtc
129 130
130 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_IMPL_H_ 131 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/config.h ('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