RdOptimizerSettings

Inheritance: java.lang.Object

public class RdOptimizerSettings

RD optimizer settings class

Constructors

ConstructorDescription
RdOptimizerSettings()Initializes a new instance of the RdOptimizerSettings class.

Methods

MethodDescription
getBppScale()Gets the BPP (bits per pixel) scale factor.
setBppScale(int value)Sets the BPP (bits per pixel) scale factor.
getBppMax()Gets the maximum R value for consideration in in bits per pixel
setBppMax(double value)Sets the maximum R value for consideration in in bits per pixel
getMaxQ()Gets the maximum quantization value.
setMaxQ(int value)Sets the maximum quantization value.
getMinQ()Gets the minimum allowed quantization value.
getMaxPixelValue()Gets the maximum pixel value.
getPsnrMax()Gets the PSNR maximum expected value.
getDiscretizedBppMax()Gets the maximum R value for consideration.
create()Creates this instance.

RdOptimizerSettings()

public RdOptimizerSettings()

Initializes a new instance of the RdOptimizerSettings class.

getBppScale()

public int getBppScale()

Gets the BPP (bits per pixel) scale factor.

Returns: int - The BPP scale.

setBppScale(int value)

public void setBppScale(int value)

Sets the BPP (bits per pixel) scale factor.

Parameters:

ParameterTypeDescription
valueintThe BPP scale.

getBppMax()

public double getBppMax()

Gets the maximum R value for consideration in in bits per pixel

Returns: double - The maximum R value for consideration in bits per pixel.

setBppMax(double value)

public void setBppMax(double value)

Sets the maximum R value for consideration in in bits per pixel

Parameters:

ParameterTypeDescription
valuedoubleThe maximum R value for consideration in bits per pixel.

getMaxQ()

public int getMaxQ()

Gets the maximum quantization value.

Returns: int - The maximum quantization value.

setMaxQ(int value)

public void setMaxQ(int value)

Sets the maximum quantization value.

Parameters:

ParameterTypeDescription
valueintThe maximum quantization value.

getMinQ()

public int getMinQ()

Gets the minimum allowed quantization value.

Returns: int - The minimum minimum allowed quantization value.

getMaxPixelValue()

public int getMaxPixelValue()

Gets the maximum pixel value.

Returns: int - The maximum maximum pixel value.

getPsnrMax()

public int getPsnrMax()

Gets the PSNR maximum expected value.

Returns: int - The maximum maximum pixel value.

getDiscretizedBppMax()

public int getDiscretizedBppMax()

Gets the maximum R value for consideration.

Returns: int - The maximum R value for consideration.

create()

public static RdOptimizerSettings create()

Creates this instance.

Returns: RdOptimizerSettings - returns RDOptimizerSettings class instance