webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Functions | Variables
simulcast.cc File Reference
#include <stdio.h>
#include "webrtc/base/arraysize.h"
#include "webrtc/base/logging.h"
#include "webrtc/media/base/streamparams.h"
#include "webrtc/media/engine/constants.h"
#include "webrtc/media/engine/simulcast.h"
#include "webrtc/system_wrappers/include/field_trial.h"

Classes

struct  cricket::SimulcastFormat
 

Namespaces

 cricket
 

Functions

void cricket::GetSimulcastSsrcs (const StreamParams &sp, std::vector< uint32_t > *ssrcs)
 
void cricket::MaybeExchangeWidthHeight (int *width, int *height)
 
int cricket::FindSimulcastFormatIndex (int width, int height)
 
int cricket::FindSimulcastFormatIndex (int width, int height, size_t max_layers)
 
int cricket::NormalizeSimulcastSize (int size, size_t simulcast_layers)
 
size_t cricket::FindSimulcastMaxLayers (int width, int height)
 
int cricket::FindSimulcastMaxBitrateBps (int width, int height)
 
int cricket::FindSimulcastTargetBitrateBps (int width, int height)
 
int cricket::FindSimulcastMinBitrateBps (int width, int height)
 
bool cricket::SlotSimulcastMaxResolution (size_t max_layers, int *width, int *height)
 
int cricket::GetTotalMaxBitrateBps (const std::vector< webrtc::VideoStream > &streams)
 
std::vector< webrtc::VideoStreamcricket::GetSimulcastConfig (size_t max_streams, int width, int height, int max_bitrate_bps, int max_qp, int max_framerate, bool is_screencast=false)
 
bool cricket::UseSimulcastScreenshare ()
 

Variables

const SimulcastFormat cricket::kSimulcastFormats []
 
const int cricket::kDefaultScreenshareSimulcastStreams = 2