Added the default lossless parameter to opj_set_default_encoder_parameters in openjpeg.c

This commit is contained in:
Parvatha Elangovan 2008-07-09 11:43:02 +00:00
parent 1d45d7514b
commit cebdbda260
2 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed
+ : added
July 9, 2008
+ [Parvatha] Added the default lossless parameter to opj_set_default_encoder_parameters in openjpeg.c.
June 12, 2008
* [antonin] fixed a bug in dirent.h that prevented codec on Linux Alpha Systems to compile correctly. Thanks to RobinC.

View File

@ -238,6 +238,10 @@ void OPJ_CALLCONV opj_set_default_encoder_parameters(opj_cparameters_t *paramete
parameters->tp_on = 0;
parameters->decod_format = -1;
parameters->cod_format = -1;
parameters->tcp_rates[0] = 0;
parameters->tcp_numlayers = 1;
parameters->cp_disto_alloc = 1;
/* UniPG>> */
#ifdef USE_JPWL
parameters->jpwl_epc_on = false;