Package gov.nih.mipav.model.file
Class charls.traits
java.lang.Object
gov.nih.mipav.model.file.charls.traits
- Enclosing class:
charls
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) int(package private) boolean(package private) int(package private) int(package private) int(package private) charls.PixelType(package private) int(package private) int(package private) int(package private) charls.SampleType -
Constructor Summary
ConstructorsConstructorDescriptiontraits(boolean always_lossless_and_default_parameters, boolean fixed_bits_per_pixel, charls.SampleType sample_t, charls.PixelType pixel_t, int maximum_sample_value, int range, int near_lossless, int quantized_bits_per_sample, int bits_per_sample, int limit, int quantization_range) -
Method Summary
Modifier and TypeMethodDescription(package private) intcompute_error_value(int e) (package private) intcompute_reconstructed_sample(int predicted_value, int error_value) (package private) intcorrect_prediction(int predicted) (package private) intdequantize(int error_value) (package private) intfix_reconstructed_value_16(int value) (package private) intfix_reconstructed_value_32(int value) (package private) shortfix_reconstructed_value_8(int value) (package private) booleanis_near(int lhs, int rhs) (package private) booleanis_near(charls.pair<Short> lhs, charls.pair<Short> rhs) (package private) booleanis_near(charls.quad<Short> lhs, charls.quad<Short> rhs) (package private) booleanis_near(charls.triplet<Short> lhs, charls.triplet<Short> rhs) (package private) booleanis_near_int(charls.pair<Integer> lhs, charls.pair<Integer> rhs) (package private) booleanis_near_int(charls.quad<Integer> lhs, charls.quad<Integer> rhs) (package private) booleanis_near_int(charls.triplet<Integer> lhs, charls.triplet<Integer> rhs) (package private) booleanis_valid()(package private) intmodulo_range(int error_value) (package private) intquantize(int error_value)
-
Field Details
-
sample_t
charls.SampleType sample_t -
pixel_t
charls.PixelType pixel_t -
always_lossless_and_default_parameters
boolean always_lossless_and_default_parameters -
fixed_bits_per_pixel
boolean fixed_bits_per_pixel -
maximum_sample_value
int maximum_sample_value -
range
int range -
near_lossless
int near_lossless -
quantized_bits_per_sample
int quantized_bits_per_sample -
bits_per_sample
int bits_per_sample -
limit
int limit -
quantization_range
int quantization_range
-
-
Constructor Details
-
traits
public traits(boolean always_lossless_and_default_parameters, boolean fixed_bits_per_pixel, charls.SampleType sample_t, charls.PixelType pixel_t, int maximum_sample_value, int range, int near_lossless, int quantized_bits_per_sample, int bits_per_sample, int limit, int quantization_range)
-
-
Method Details
-
is_near
boolean is_near(int lhs, int rhs) -
is_near
-
is_near
-
is_near_int
-
is_near_int
-
is_near
-
is_near_int
-
compute_reconstructed_sample
int compute_reconstructed_sample(int predicted_value, int error_value) -
compute_error_value
int compute_error_value(int e) -
quantize
int quantize(int error_value) -
modulo_range
int modulo_range(int error_value) -
correct_prediction
int correct_prediction(int predicted) -
is_valid
boolean is_valid() -
dequantize
int dequantize(int error_value) -
fix_reconstructed_value_32
int fix_reconstructed_value_32(int value) -
fix_reconstructed_value_16
int fix_reconstructed_value_16(int value) -
fix_reconstructed_value_8
short fix_reconstructed_value_8(int value)
-