Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CPictureScalingAlgorithm Class Reference

#include <PictureScalingAlgorithm.h>

Public Types

enum  Algorithm {
  NoAlgorithm , FastBilinear , Bilinear , Bicubic ,
  Experimental , NearestNeighbor , AveragingArea , Bicublin ,
  Gaussian , Sinc , Lanczos , BicubicSpline
}
 
typedef enum CPictureScalingAlgorithm::Algorithm Algorithm
 

Static Public Member Functions

static Algorithm FromString (const std::string &scalingAlgorithm)
 
static std::string ToString (Algorithm scalingAlgorithm)
 
static int ToSwscale (const std::string &scalingAlgorithm)
 
static int ToSwscale (Algorithm scalingAlgorithm)
 

Static Public Attributes

static Algorithm Default = CPictureScalingAlgorithm::Bicubic
 

Member Typedef Documentation

◆ Algorithm

Member Enumeration Documentation

◆ Algorithm

Enumerator
NoAlgorithm 
FastBilinear 
Bilinear 
Bicubic 
Experimental 
NearestNeighbor 
AveragingArea 
Bicublin 
Gaussian 
Sinc 
Lanczos 
BicubicSpline 

Member Function Documentation

◆ FromString()

CPictureScalingAlgorithm::Algorithm CPictureScalingAlgorithm::FromString ( const std::string & scalingAlgorithm)
static

◆ ToString()

std::string CPictureScalingAlgorithm::ToString ( Algorithm scalingAlgorithm)
static

◆ ToSwscale() [1/2]

int CPictureScalingAlgorithm::ToSwscale ( Algorithm scalingAlgorithm)
static

◆ ToSwscale() [2/2]

int CPictureScalingAlgorithm::ToSwscale ( const std::string & scalingAlgorithm)
static

Member Data Documentation

◆ Default

CPictureScalingAlgorithm::Algorithm CPictureScalingAlgorithm::Default = CPictureScalingAlgorithm::Bicubic
static

The documentation for this class was generated from the following files: