added the ability to specify the rate as "float" (before : integer)

This commit is contained in:
Antonin Descampe
2006-10-31 17:10:14 +00:00
parent 480021bc33
commit b565431251
6 changed files with 17 additions and 14 deletions

View File

@@ -216,7 +216,7 @@ typedef struct opj_cparameters {
/** number of layers */
int tcp_numlayers;
/** rates of layers */
int tcp_rates[100];
float tcp_rates[100];
/** different psnr for successive layers */
float tcp_distoratio[100];
/** number of resolutions */