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

@@ -259,7 +259,7 @@ void j2k_dump_cp(FILE *fd, opj_image_t * img, opj_cp_t * cp) {
fprintf(fd, " mct=%d\n", tcp->mct);
fprintf(fd, " rates=");
for (layno = 0; layno < tcp->numlayers; layno++) {
fprintf(fd, "%d ", tcp->rates[layno]);
fprintf(fd, "%.1f ", tcp->rates[layno]);
}
fprintf(fd, "\n");
for (compno = 0; compno < img->numcomps; compno++) {