# opj_cp Struct Reference
[J2K - JPEG-2000 codestream reader/writer]

`#include <gdcm_j2k.h>`

Collaboration diagram for opj_cp:
[legend]

List of all members.

## Public Attributes

OPJ_CINEMA_MODE | cinema
char * | comment
int | disto_alloc
int | fixed_alloc
int | fixed_quality
int | img_size
int | layer
OPJ_LIMIT_DECODING | limit_decoding
int * | matrice
int | max_comp_size
int | ppm
unsigned char * | ppm_data
unsigned char * | ppm_data_first
int | ppm_len
int | ppm_previous
int | ppm_store
int | reduce
OPJ_RSIZ_CAPABILITIES | rsiz
opj_tcp_t * | tcps
int | tdx
int | tdy
int | th
int * | tileno
int | tileno_size
char | tp_flag
char | tp_on
int | tp_pos
int | tw
int | tx0
int | ty0

## Detailed Description

Coding parameters

## Member Data Documentation

OPJ_CINEMA_MODE opj_cp::cinema

Digital cinema profile

char* opj_cp::comment

comment for coding

int opj_cp::disto_alloc

allocation by rate/distortion

int opj_cp::fixed_alloc

allocation by fixed layer

int opj_cp::fixed_quality

add fixed_quality

int opj_cp::img_size

Size of the image in bits

int opj_cp::layer

if != 0, then only the first "layer" layers are decoded; if == 0 or not used, all the quality layers are decoded

OPJ_LIMIT_DECODING opj_cp::limit_decoding

if == NO_LIMITATION, decode entire codestream; if == LIMIT_TO_MAIN_HEADER then only decode the main header

int* opj_cp::matrice

fixed layer

int opj_cp::max_comp_size

Maximum rate for each component. If == 0, component size limitation is not considered

int opj_cp::ppm

if ppm == 1 --> there was a PPM marker for the present tile

unsigned char* opj_cp::ppm_data

packet header store there for futur use in t2_decode_packet

unsigned char* opj_cp::ppm_data_first

pointer remaining on the first byte of the first header if ppm is used

int opj_cp::ppm_len

ppmbug1

int opj_cp::ppm_previous

use in case of multiple marker PPM (case on non-finished previous info)

int opj_cp::ppm_store

use in case of multiple marker PPM (number of info already store)

int opj_cp::reduce

if != 0, then original dimension divided by 2^(reduce); if == 0 or not used, image is decoded to the full resolution

OPJ_RSIZ_CAPABILITIES opj_cp::rsiz

Rsiz

opj_tcp_t* opj_cp::tcps

tile coding parameters

int opj_cp::tdx

XTsiz

int opj_cp::tdy

YTsiz

int opj_cp::th

number of tiles in heigth

int* opj_cp::tileno

ID number of the tiles present in the codestream

int opj_cp::tileno_size

size of the vector tileno

char opj_cp::tp_flag

Flag determining tile part generation

char opj_cp::tp_on

Enabling Tile part generation

int opj_cp::tp_pos

Position of tile part flag in progression order

int opj_cp::tw

number of tiles in width

int opj_cp::tx0

XTOsiz

int opj_cp::ty0

YTOsiz

The documentation for this struct was generated from the following file:

- gdcm_j2k.h