summaryrefslogtreecommitdiff
path: root/libopenjpeg/j2k.h
diff options
context:
space:
mode:
authorParvatha Elangovan <p.elangovan@intopix.com>2007-03-07 16:04:33 +0000
committerParvatha Elangovan <p.elangovan@intopix.com>2007-03-07 16:04:33 +0000
commit78003a016a30c4d64779e09bb7135861db4c1b89 (patch)
treeed7ad986672431915940fd7ebf62648a52198327 /libopenjpeg/j2k.h
parent9e5d0b1a40da3ffa70c2d3851ebdea790adaaba1 (diff)
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
Diffstat (limited to 'libopenjpeg/j2k.h')
-rw-r--r--libopenjpeg/j2k.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libopenjpeg/j2k.h b/libopenjpeg/j2k.h
index 9738bf85..5f8e0824 100644
--- a/libopenjpeg/j2k.h
+++ b/libopenjpeg/j2k.h
@@ -187,6 +187,12 @@ typedef struct opj_tcp {
Coding parameters
*/
typedef struct opj_cp {
+ /** Digital cinema profile*/
+ OPJ_CINEMA_MODE cinema;
+ /** Size of the image in bits*/
+ int img_size;
+ /** Rsiz*/
+ OPJ_RSIZ_CAPABILITIES rsiz;
/** allocation by rate/distortion */
int disto_alloc;
/** allocation by fixed layer */