diff options
| author | Antonin Descampe <antonin@gmail.com> | 2014-12-09 12:09:08 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2014-12-09 12:09:08 +0000 |
| commit | 8d320bbdf88edc09628d532bee6f6b975317a961 (patch) | |
| tree | d23360671c8366faf9327cdf67882a06a88c95a5 /src/lib/openjp2/t1.h | |
| parent | 776b83ddbcf4441e2af05ec7c09f08c760fe05b7 (diff) | |
[trunk] check number of components when getting mct norm (fixes issue 436)
Diffstat (limited to 'src/lib/openjp2/t1.h')
| -rw-r--r-- | src/lib/openjp2/t1.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/openjp2/t1.h b/src/lib/openjp2/t1.h index e1d41ed5..3bc0ad9e 100644 --- a/src/lib/openjp2/t1.h +++ b/src/lib/openjp2/t1.h @@ -126,11 +126,13 @@ Encode the code-blocks of a tile @param tile The tile to encode @param tcp Tile coding parameters @param mct_norms FIXME DOC +@param mct_numcomps Number of components used for MCT */ OPJ_BOOL opj_t1_encode_cblks( opj_t1_t *t1, opj_tcd_tile_t *tile, opj_tcp_t *tcp, - const OPJ_FLOAT64 * mct_norms); + const OPJ_FLOAT64 * mct_norms, + OPJ_UINT32 mct_numcomps); /** Decode the code-blocks of a tile |
