diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-05-10 14:13:30 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-05-10 14:13:30 +0000 |
| commit | f3170bf64e39a9f9d512adde7e7b315f156fed8e (patch) | |
| tree | f22462c2129db08ad77769a3fea8a8d716fb32fe /codec | |
| parent | 7c9dc11e3331d3770caf647ca50d58f2bca7a249 (diff) | |
Possibility to choose to apply MCT (multiple component transform) enabled, and new decoding_limit: DECODE_ALL_BUT_PACKETS
Diffstat (limited to 'codec')
| -rw-r--r-- | codec/image_to_j2k.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/codec/image_to_j2k.c b/codec/image_to_j2k.c index 60581f51..bc5af747 100644 --- a/codec/image_to_j2k.c +++ b/codec/image_to_j2k.c @@ -1542,6 +1542,8 @@ int main(int argc, char **argv) { } break; } + /* Decide if MCT should be used */ + parameters.tcp_mct = image->numcomps == 3 ? 1 : 0; if(parameters.cp_cinema){ cinema_setup_encoder(¶meters,image); |
