Package gov.nih.mipav.model.file
Class charls.default_traits
java.lang.Object
gov.nih.mipav.model.file.charls.default_traits
- Enclosing class:
charls
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final boolean(package private) int(package private) final 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(package private) charls.traits -
Constructor Summary
ConstructorsConstructorDescriptiondefault_traits(int arg_maximum_sample_value, int arg_near_lossless, charls.SampleType sample_t, charls.PixelType pixel_t) -
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<Integer> lhs, charls.pair<Integer> rhs) (package private) booleanis_near(charls.quad<Integer> lhs, charls.quad<Integer> rhs) (package private) booleanis_near(charls.triplet<Integer> lhs, charls.triplet<Integer> rhs) (package private) booleanis_near8(charls.pair<Short> lhs, charls.pair<Short> rhs) (package private) booleanis_near8(charls.quad<Short> lhs, charls.quad<Short> rhs) (package private) booleanis_near8(charls.triplet<Short> lhs, charls.triplet<Short> rhs) (package private) booleanis_valid()(package private) intmodulo_range(int error_value) (package private) intquantize(int error_value)
-
Field Details
-
always_lossless_and_default_parameters
final boolean always_lossless_and_default_parameters- See Also:
-
fixed_bits_per_pixel
final boolean fixed_bits_per_pixel- See Also:
-
sample_t
charls.SampleType sample_t -
pixel_t
charls.PixelType pixel_t -
maximum_sample_value
int maximum_sample_value -
near_lossless
int near_lossless -
range
int range -
quantized_bits_per_sample
int quantized_bits_per_sample -
bits_per_sample
int bits_per_sample -
limit
int limit -
quantization_range
int quantization_range -
tr
-
-
Constructor Details
-
default_traits
public default_traits(int arg_maximum_sample_value, int arg_near_lossless, charls.SampleType sample_t, charls.PixelType pixel_t)
-
-
Method Details
-
compute_error_value
int compute_error_value(int e) -
compute_reconstructed_sample
int compute_reconstructed_sample(int predicted_value, int error_value) -
is_near
boolean is_near(int lhs, int rhs) -
is_near8
-
is_near8
-
is_near8
-
is_near
-
is_near
-
is_near
-
correct_prediction
int correct_prediction(int predicted) -
modulo_range
int modulo_range(int error_value) -
is_valid
boolean is_valid() -
quantize
int quantize(int error_value) -
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)
-