Digital cinema compliance for 4K chosen by "-cinema4K" option. Modification in image_to_j2k.c.
Bit rate limitation for each color component. Modification in image_to_j2k.c, t2.c. Modified and tested Progression order change "-POC" option. Modification in image_to_j2k.c, j2k.c, pi.c. Function j2k_check_poc_val() to check for possible loss of packets in case of wrong POC declaration. Modification in j2k.c. Structure T2_MODE. This tells if the t2_encode_packets() is called during Threshold calculation or in Final pass. Modification in j2k.h, tcd.c
This commit is contained in:
@@ -104,6 +104,14 @@ typedef enum J2K_STATUS {
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
/**
|
||||
T2 encoding mode
|
||||
*/
|
||||
typedef enum T2_MODE {
|
||||
THRESH_CALC = 0, /** Function called in Rate allocation process*/
|
||||
FINAL_PASS = 1 /** Function called in Tier 2 process*/
|
||||
}J2K_T2_MODE;
|
||||
|
||||
/**
|
||||
Quantization stepsize
|
||||
*/
|
||||
@@ -190,6 +198,8 @@ Coding parameters
|
||||
typedef struct opj_cp {
|
||||
/** Digital cinema profile*/
|
||||
OPJ_CINEMA_MODE cinema;
|
||||
/** Maximum rate for each component. If == 0, component size limitation is not considered */
|
||||
int max_comp_size;
|
||||
/** Size of the image in bits*/
|
||||
int img_size;
|
||||
/** Rsiz*/
|
||||
|
||||
Reference in New Issue
Block a user