Bugs corrected in decoding of command line (getopt.c), in the handling of 16 bit files (t1.c and tcd.c) and the calculation of elapsed time for multiple tiles parts (tcd.c and tdc.h).
This commit is contained in:
		| @@ -483,7 +483,7 @@ void cinema_setup_encoder(opj_cparameters_t *parameters,opj_image_t *image){ | ||||
| 			parameters->numresolution = 6; | ||||
| 		} | ||||
| 		if (!((image->comps[0].w == 2048) | (image->comps[0].h == 1080))){ | ||||
| 			fprintf(stdout,"Image coordinates %d x %d is not 2K compliant.\nDCI 2K compliance requires that atleast one of coordinates match 2048 x 1080\n",image->comps[0].w,image->comps[0].h); | ||||
| 			fprintf(stdout,"Image coordinates %d x %d is not 2K compliant.\nJPEG Digital Cinema Profile-3 (2K profile) compliance requires that at least one of coordinates match 2048 x 1080\n",image->comps[0].w,image->comps[0].h); | ||||
| 			parameters->cp_rsiz = STD_RSIZ; | ||||
| 		} | ||||
| 	break; | ||||
| @@ -495,7 +495,7 @@ void cinema_setup_encoder(opj_cparameters_t *parameters,opj_image_t *image){ | ||||
| 				parameters->numresolution = 7; | ||||
| 			} | ||||
| 		if (!((image->comps[0].w == 4096) | (image->comps[0].h == 2160))){ | ||||
| 			fprintf(stdout,"Image coordinates %d x %d is not 4K compliant.\nDCI 4K compliance requires that atleast one of coordinates match 4096 x 2160\n",image->comps[0].w,image->comps[0].h); | ||||
| 			fprintf(stdout,"Image coordinates %d x %d is not 4K compliant.\JPEG Digital Cinema Profile-4 (4K profile) compliance requires that atleast one of coordinates match 4096 x 2160\n",image->comps[0].w,image->comps[0].h); | ||||
| 			parameters->cp_rsiz = STD_RSIZ; | ||||
| 		} | ||||
| 		parameters->numpocs = initialise_4K_poc(parameters->POC,parameters->numresolution); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Francois-Olivier Devaux
					Francois-Olivier Devaux