Added option for Digital cinema profile compliant codestream. This can be chosen by "-cinema2K" or "-cinema4K" for a 2K and 4K compliance respectively. The feature for tileparts has not been implemented in this version. Modification in image_to_j2k.c

Added the Digital Cinema profiles (CINEMA2K and CINEMA4K) to the list of profiles recognized in the codestream SIZ marker segment. Modification in openjpeg.h,j2k.c
Added feature for constant quality within bitrate defined in Digital cinema standards. Modification in tcd.c
Modified the method of generation of buffer length. Modification in cio.c
This commit is contained in:
Parvatha Elangovan
2007-03-07 16:04:33 +00:00
parent 9e5d0b1a40
commit 78003a016a
8 changed files with 249 additions and 56 deletions

View File

@@ -113,6 +113,19 @@ braindamage below.
==========================================================
*/
typedef enum RSIZ_CAPABILITIES {
STD_RSIZ = 0,
CINEMA2K = 3, /** Profile name for a 2K image*/
CINEMA4K = 4 /** Profile name for a 4K image*/
} OPJ_RSIZ_CAPABILITIES;
typedef enum CINEMA_MODE {
OFF = 0,
CINEMA2K_24 = 1,
CINEMA2K_48 = 2,
CINEMA4K_24 = 3
}OPJ_CINEMA_MODE;
/** Progression order */
typedef enum PROG_ORDER {
PROG_UNKNOWN = -1, /**< place-holder */
@@ -204,6 +217,12 @@ typedef struct opj_poc {
Compression parameters
*/
typedef struct opj_cparameters {
/** Digital Cinema compliance 0-not compliant, 1-compliant*/
OPJ_CINEMA_MODE cp_cinema;
/** Progression order*/
char cp_prog[4];
/** Profile name*/
OPJ_RSIZ_CAPABILITIES cp_rsiz;
/** size of tile: tile_size_on = false (not in argument) or = true (in argument) */
bool tile_size_on;
/** XTOsiz */