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

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

Issue 1814763002: Cleanup of webrtc::VideoRenderer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Use a more specific DEPS rule. Created 4 years, 9 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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 ~WebRtcVideoReceiveStream(); 409 ~WebRtcVideoReceiveStream();
410 410
411 const std::vector<uint32_t>& GetSsrcs() const; 411 const std::vector<uint32_t>& GetSsrcs() const;
412 412
413 void SetLocalSsrc(uint32_t local_ssrc); 413 void SetLocalSsrc(uint32_t local_ssrc);
414 void SetFeedbackParameters(bool nack_enabled, 414 void SetFeedbackParameters(bool nack_enabled,
415 bool remb_enabled, 415 bool remb_enabled,
416 bool transport_cc_enabled); 416 bool transport_cc_enabled);
417 void SetRecvParameters(const ChangedRecvParameters& recv_params); 417 void SetRecvParameters(const ChangedRecvParameters& recv_params);
418 418
419 void RenderFrame(const webrtc::VideoFrame& frame, 419 void OnFrame(const webrtc::VideoFrame& frame) override;
420 int time_to_render_ms) override;
421 bool IsTextureSupported() const override;
422 bool SmoothsRenderedFrames() const override; 420 bool SmoothsRenderedFrames() const override;
423 bool IsDefaultStream() const; 421 bool IsDefaultStream() const;
424 422
425 void SetSink(rtc::VideoSinkInterface<cricket::VideoFrame>* sink); 423 void SetSink(rtc::VideoSinkInterface<cricket::VideoFrame>* sink);
426 424
427 VideoReceiverInfo GetVideoReceiverInfo(); 425 VideoReceiverInfo GetVideoReceiverInfo();
428 426
429 private: 427 private:
430 struct AllocatedDecoder { 428 struct AllocatedDecoder {
431 AllocatedDecoder(webrtc::VideoDecoder* decoder, 429 AllocatedDecoder(webrtc::VideoDecoder* decoder,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 // TODO(deadbeef): Don't duplicate information between 529 // TODO(deadbeef): Don't duplicate information between
532 // send_params/recv_params, rtp_extensions, options, etc. 530 // send_params/recv_params, rtp_extensions, options, etc.
533 VideoSendParameters send_params_; 531 VideoSendParameters send_params_;
534 VideoOptions default_send_options_; 532 VideoOptions default_send_options_;
535 VideoRecvParameters recv_params_; 533 VideoRecvParameters recv_params_;
536 }; 534 };
537 535
538 } // namespace cricket 536 } // namespace cricket
539 537
540 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ 538 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698