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

Side by Side Diff: talk/media/webrtc/simulcast.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… 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
« no previous file with comments | « talk/media/webrtc/fakewebrtcvoiceengine.h ('k') | talk/media/webrtc/simulcast.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 * libjingle 2 * libjingle
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // TODO(pthatcher): Write unit tests just for these functions, 68 // TODO(pthatcher): Write unit tests just for these functions,
69 // independent of WebrtcVideoEngine. 69 // independent of WebrtcVideoEngine.
70 70
71 // Get the simulcast bitrate mode to use based on 71 // Get the simulcast bitrate mode to use based on
72 // options.video_highest_bitrate. 72 // options.video_highest_bitrate.
73 SimulcastBitrateMode GetSimulcastBitrateMode( 73 SimulcastBitrateMode GetSimulcastBitrateMode(
74 const VideoOptions& options); 74 const VideoOptions& options);
75 75
76 // Get the ssrcs of the SIM group from the stream params. 76 // Get the ssrcs of the SIM group from the stream params.
77 void GetSimulcastSsrcs(const StreamParams& sp, std::vector<uint32>* ssrcs); 77 void GetSimulcastSsrcs(const StreamParams& sp, std::vector<uint32_t>* ssrcs);
78 78
79 // Get simulcast settings. 79 // Get simulcast settings.
80 std::vector<webrtc::VideoStream> GetSimulcastConfig( 80 std::vector<webrtc::VideoStream> GetSimulcastConfig(
81 size_t max_streams, 81 size_t max_streams,
82 SimulcastBitrateMode bitrate_mode, 82 SimulcastBitrateMode bitrate_mode,
83 int width, 83 int width,
84 int height, 84 int height,
85 int max_bitrate_bps, 85 int max_bitrate_bps,
86 int max_qp, 86 int max_qp,
87 int max_framerate); 87 int max_framerate);
(...skipping 28 matching lines...) Expand all
116 void LogSimulcastSubstreams(const webrtc::VideoCodec& codec); 116 void LogSimulcastSubstreams(const webrtc::VideoCodec& codec);
117 117
118 // Configure the codec's bitrate and temporal layers so that it's good 118 // Configure the codec's bitrate and temporal layers so that it's good
119 // for a screencast in conference mode. Technically, this shouldn't 119 // for a screencast in conference mode. Technically, this shouldn't
120 // go in simulcast.cc. But it's closely related. 120 // go in simulcast.cc. But it's closely related.
121 void ConfigureConferenceModeScreencastCodec(webrtc::VideoCodec* codec); 121 void ConfigureConferenceModeScreencastCodec(webrtc::VideoCodec* codec);
122 122
123 } // namespace cricket 123 } // namespace cricket
124 124
125 #endif // TALK_MEDIA_WEBRTC_SIMULCAST_H_ 125 #endif // TALK_MEDIA_WEBRTC_SIMULCAST_H_
OLDNEW
« no previous file with comments | « talk/media/webrtc/fakewebrtcvoiceengine.h ('k') | talk/media/webrtc/simulcast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698