diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-02-12 15:55:16 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-02-12 15:55:25 +0100 |
| commit | 84f3bebbff515f2b00ccf0c817930ebb10b91760 (patch) | |
| tree | 629a8ab8f147e18bb9d2312b1324663ddd9a459e /src/lib/openjp2/tcd.c | |
| parent | fffe32adcb9f41a00805f4120012be9625ba450a (diff) | |
Implement writing of IMF profiles
Add -IMF switch to opj_compress as well
Diffstat (limited to 'src/lib/openjp2/tcd.c')
| -rw-r--r-- | src/lib/openjp2/tcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/tcd.c b/src/lib/openjp2/tcd.c index aa419030..c5640066 100644 --- a/src/lib/openjp2/tcd.c +++ b/src/lib/openjp2/tcd.c @@ -573,7 +573,7 @@ OPJ_BOOL opj_tcd_rateallocate(opj_tcd_t *tcd, opj_tcd_makelayer(tcd, layno, thresh, 0); if (cp->m_specific_param.m_enc.m_fixed_quality) { /* fixed_quality */ - if (OPJ_IS_CINEMA(cp->rsiz)) { + if (OPJ_IS_CINEMA(cp->rsiz) || OPJ_IS_IMF(cp->rsiz)) { if (! opj_t2_encode_packets(t2, tcd->tcd_tileno, tcd_tile, layno + 1, dest, p_data_written, maxlen, cstr_info, tcd->cur_tp_num, tcd->tp_pos, tcd->cur_pino, THRESH_CALC, p_manager)) { |
