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

Side by Side Diff: webrtc/media/engine/webrtcvideoengine.h

Issue 2936393002: Add cropping to VIEEncoder to match simulcast streams resolution (Closed)
Patch Set: Fix typo Created 3 years, 6 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 | « no previous file | webrtc/media/engine/webrtcvideoengine.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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 int recv_flexfec_payload_type_; 516 int recv_flexfec_payload_type_;
517 webrtc::Call::Config::BitrateConfig bitrate_config_; 517 webrtc::Call::Config::BitrateConfig bitrate_config_;
518 // TODO(deadbeef): Don't duplicate information between 518 // TODO(deadbeef): Don't duplicate information between
519 // send_params/recv_params, rtp_extensions, options, etc. 519 // send_params/recv_params, rtp_extensions, options, etc.
520 VideoSendParameters send_params_; 520 VideoSendParameters send_params_;
521 VideoOptions default_send_options_; 521 VideoOptions default_send_options_;
522 VideoRecvParameters recv_params_; 522 VideoRecvParameters recv_params_;
523 int64_t last_stats_log_ms_; 523 int64_t last_stats_log_ms_;
524 }; 524 };
525 525
526 class EncoderStreamFactory
527 : public webrtc::VideoEncoderConfig::VideoStreamFactoryInterface {
528 public:
529 EncoderStreamFactory(std::string codec_name,
530 int max_qp,
531 int max_framerate,
532 bool is_screencast,
533 bool conference_mode);
534
535 private:
536 std::vector<webrtc::VideoStream> CreateEncoderStreams(
537 int width,
538 int height,
539 const webrtc::VideoEncoderConfig& encoder_config) override;
540
541 const std::string codec_name_;
542 const int max_qp_;
543 const int max_framerate_;
544 const bool is_screencast_;
545 const bool conference_mode_;
546 };
547
526 } // namespace cricket 548 } // namespace cricket
527 549
528 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE_H_ 550 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvideoengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698