diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-28 22:12:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-28 22:16:14 +0200 |
commit | fe7136ef8202b19fda262ea91adc09b3367d37d7 (patch) | |
tree | a90e7814be95420970639e8204364bf96dc6e637 /libavcodec/j2k.h | |
parent | aa0d11ed0bdfc38f800771b1d695469ff691dd96 (diff) | |
download | ffmpeg-fe7136ef8202b19fda262ea91adc09b3367d37d7.tar.gz |
j2k/jpeg2000: split stepsize in float & int variables
This is more clear and less prone to mistakes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/j2k.h')
-rw-r--r-- | libavcodec/j2k.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/j2k.h b/libavcodec/j2k.h index aacd006a1d..65ecc7ab8b 100644 --- a/libavcodec/j2k.h +++ b/libavcodec/j2k.h @@ -179,7 +179,8 @@ typedef struct Jpeg2000Prec { typedef struct Jpeg2000Band { uint16_t coord[2][2]; // border coordinates {{x0, x1}, {y0, y1}} uint16_t log2_cblk_width, log2_cblk_height; - uint32_t stepsize; // quantization stepsize (* 2^13) + int i_stepsize; // quantization stepsize + float f_stepsize; // quantization stepsize Jpeg2000Prec *prec; } Jpeg2000Band; // subband |