#include <stdio.h>
#include <it/types.h>
#include <it/io.h>
#include <it/vec.h>
#include <it/distance.h>
#include <it/quantizer.h>
#include <it/random.h>
#include <it/source.h>
#include <it/source_func.h>
#include <it/math.h>
Go to the source code of this file.
Functions | |
it_function_args (gaussian_pdf) | |
it_function (gaussian_pdf) | |
it_function_args (laplacian_pdf) | |
it_function (laplacian_pdf) | |
void | print_quantizer (it_uniform_quantizer_t *SQ) |
void | test_quantizer (vec V, it_quantizer_t *quantizer) |
int | main () |
Definition in file test_quantizer.c.
it_function | ( | laplacian_pdf | ) |
Definition at line 54 of file test_quantizer.c.
it_function | ( | gaussian_pdf | ) |
it_function_args | ( | laplacian_pdf | ) |
Definition at line 49 of file test_quantizer.c.
it_function_args | ( | gaussian_pdf | ) |
Definition at line 35 of file test_quantizer.c.
int main | ( | void | ) |
Definition at line 110 of file test_quantizer.c.
References imat_new(), it_convolutional_code_new(), it_delete, it_dequantize, it_function_args, it_printf(), it_quantize, IT_QUANTIZER, it_quantizer_get_codebook, it_quantizer_get_codebook_range, it_quantizer_set_codebook, it_quantizer_set_index_range, it_scalar_quantizer_new, it_trellis_coded_quantizer_new_partition, it_uniform_quantizer_new_from_center(), it_uniform_quantizer_new_from_range(), lloyd_max(), M_E, M_PI, print_quantizer(), source_gaussian(), source_pdf(), source_uniform_01, test_quantizer(), vec_delete(), and vec_new().
void print_quantizer | ( | it_uniform_quantizer_t * | SQ | ) |
Definition at line 61 of file test_quantizer.c.
References it_dequantize, it_printf(), it_quantizer_get_cardinal, it_quantizer_get_index_range, and it_quantizer_get_step.
Referenced by main().
void test_quantizer | ( | vec | V, | |
it_quantizer_t * | quantizer | |||
) |
Definition at line 73 of file test_quantizer.c.
References entropy(), histogram_normalized(), it_dequantize_vec, it_printf(), it_quantize_vec, ivec_decr(), ivec_delete(), ivec_max(), ivec_min(), vec_delete(), vec_distance_mse(), and vec_variance().
Referenced by main().
|
|