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 |
getDcClamp_internalized()
Gets the DC clamp value to restrict quantization values range for the first top-left pixel in the block.
|
int |
getDiscretizedBppMax()
Gets the maximum R value for consideration.
|
int |
getMaxChannel_internalized()
Gets the maximum color channel count to use.
|
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 |
setMaxChannel_internalized(int value)
Sets the maximum color channel count to use.
|
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 int getMaxChannel_internalized()
Gets the maximum color channel count to use.
public void setMaxChannel_internalized(int value)
Sets the maximum color channel count to use.
value
- The maximum color channel index.public int getDcClamp_internalized()
Gets the DC clamp value to restrict quantization values range for the first top-left pixel in the block.
public static RdOptimizerSettings create()
Creates this instance.