public class RdOptimizerSettings extends Object
RD optimizer settings class
Constructor and Description |
---|
RdOptimizerSettings()
Initializes a new instance of the
RdOptimizerSettings class. |
Modifier and Type | Method and Description |
---|---|
static RdOptimizerSettings |
create()
Creates this instance.
|
double |
getBppMax()
Gets the maximum R value for consideration in in bits per pixel
|
int |
getBppScale()
Gets the BPP (bits per pixel) scale factor.
|
int |
getDiscretizedBppMax()
Gets the maximum R value for consideration.
|
int |
getMaxPixelValue()
Gets the maximum pixel value.
|
int |
getMaxQ()
Gets the maximum quantization value.
|
int |
getMinQ()
Gets the minimum allowed quantization value.
|
int |
getPsnrMax()
Gets the PSNR maximum expected value.
|
void |
setBppMax(double value)
Sets the maximum R value for consideration in in bits per pixel
|
void |
setBppScale(int value)
Sets the BPP (bits per pixel) scale factor.
|
void |
setMaxQ(int value)
Sets the maximum quantization value.
|
public RdOptimizerSettings()
Initializes a new instance of the RdOptimizerSettings
class.
public int getBppScale()
Gets the BPP (bits per pixel) scale factor.
public void setBppScale(int value)
Sets the BPP (bits per pixel) scale factor.
value
- The BPP scale.public double getBppMax()
Gets the maximum R value for consideration in in bits per pixel
public void setBppMax(double value)
Sets the maximum R value for consideration in in bits per pixel
value
- The maximum R value for consideration in bits per pixel.public int getMaxQ()
Gets the maximum quantization value.
public void setMaxQ(int value)
Sets the maximum quantization value.
value
- The maximum quantization value.public int getMinQ()
Gets the minimum allowed quantization value.
public int getMaxPixelValue()
Gets the maximum pixel value.
public int getPsnrMax()
Gets the PSNR maximum expected value.
public int getDiscretizedBppMax()
Gets the maximum R value for consideration.
public static RdOptimizerSettings create()
Creates this instance.