Lines Matching refs:VideoAdapter
28 #include "talk/media/base/videoadapter.h"
78 const float* VideoAdapter::GetViewScaleFactors() const {
88 float VideoAdapter::FindScale(const float* scale_factors,
126 float VideoAdapter::FindClosestScale(int width, int height,
133 float VideoAdapter::FindClosestViewScale(int width, int height,
142 float VideoAdapter::FindLowerScale(int width, int height,
167 // Implementation of VideoAdapter
168 VideoAdapter::VideoAdapter()
180 VideoAdapter::~VideoAdapter() {
183 void VideoAdapter::SetInputFormat(const VideoFormat& format) {
201 VideoAdapter::SetInputFormat(format);
224 void VideoAdapter::SetOutputFormat(const VideoFormat& format) {
237 const VideoFormat& VideoAdapter::input_format() {
242 bool VideoAdapter::drops_all_frames() const {
246 const VideoFormat& VideoAdapter::output_format() {
252 void VideoAdapter::SetOutputNumPixels(int num_pixels) {
256 int VideoAdapter::GetOutputNumPixels() const {
260 VideoFormat VideoAdapter::AdaptFrameResolution(int in_width, int in_height) {
304 const float scale = VideoAdapter::FindClosestViewScale(
352 void VideoAdapter::set_scale_third(bool enable) {
602 // and set that for output resolution. This is not needed for VideoAdapter,