83#include "jpc_tagtree.h" 
   94#define JPC_NUMEXTRABITS        JPC_NMSEDEC_FRACBITS 
   97#define JPC_BADRDSLOPE  (-1) 
  108        uint_fast8_t sampgrdstepx;
 
  111        uint_fast8_t sampgrdstepy;
 
  114        uint_fast8_t sampgrdsubstepx;
 
  117        uint_fast8_t sampgrdsubstepy;
 
  126        uint_fast16_t numstepsizes;
 
  129        uint_fast16_t stepsizes[JPC_MAXBANDS];
 
  150        uint_fast16_t numlyrs;
 
  154        jpc_fix_t *ilyrrates;
 
  166        uint_fast8_t maxrlvls;
 
  169        uint_fast16_t cblkwidthexpn;
 
  172        uint_fast16_t cblkheightexpn;
 
  176        uint_fast8_t cblksty;
 
  182        uint_fast16_t prcwidthexpns[JPC_MAXRLVLS];
 
  185        uint_fast16_t prcheightexpns[JPC_MAXRLVLS];
 
  188        uint_fast8_t numgbits;
 
  201        uint_fast32_t imgareatlx;
 
  205        uint_fast32_t imgareatly;
 
  209        uint_fast32_t refgrdwidth;
 
  213        uint_fast32_t refgrdheight;
 
  217        uint_fast32_t tilegrdoffx;
 
  221        uint_fast32_t tilegrdoffy;
 
  224        uint_fast32_t tilewidth;
 
  227        uint_fast32_t tileheight;
 
  231        uint_fast32_t numhtiles;
 
  235        uint_fast32_t numvtiles;
 
  238        uint_fast32_t numtiles;
 
  241        uint_fast16_t numcmpts;
 
  253        uint_fast32_t totalsize;
 
  256        uint_fast32_t rawsize;
 
  275        enum jpc_segtype type;
 
  281        jpc_mqencstate_t mqencstate;
 
  293        jpc_flt_t cumwmsedec;
 
  308        jpc_enc_pass_t *passes;
 
  335        jpc_enc_pass_t *curpass;
 
  338        struct jpc_enc_prc_s *prc;
 
  342        jpc_enc_pass_t *savedcurpass;
 
  350        int savednumencpasses;
 
  356typedef struct jpc_enc_prc_s {
 
  384        jpc_enc_cblk_t *cblks;
 
  387        jpc_tagtree_t *incltree;
 
  390        jpc_tagtree_t *nlibtree;
 
  393        struct jpc_enc_band_s *band;
 
  397        jpc_tagtree_t *savincltree;
 
  401        jpc_tagtree_t *savnlibtree;
 
  407typedef struct jpc_enc_band_s {
 
  416        enum jpc_tsfb_orient orient;
 
  422        jpc_fix_t absstepsize;
 
  435        struct jpc_enc_rlvl_s *rlvl;
 
  441typedef struct jpc_enc_rlvl_s {
 
  481        unsigned cbgwidthexpn;
 
  486        unsigned cbgheightexpn;
 
  489        uint_fast16_t cblkwidthexpn;
 
  492        uint_fast16_t cblkheightexpn;
 
  498        jpc_enc_band_t *bands;
 
  501        struct jpc_enc_tcmpt_s *tcmpt;
 
  507typedef struct jpc_enc_tcmpt_s {
 
  513        jpc_enc_rlvl_t *rlvls;
 
  531        int prcwidthexpns[JPC_MAXRLVLS];
 
  534        int prcheightexpns[JPC_MAXRLVLS];
 
  552        uint_fast16_t stepsizes[JPC_MAXBANDS];
 
  555        struct jpc_enc_tile_s *tile;
 
  561typedef struct jpc_enc_tile_s {
 
  564        uint_fast32_t tileno;
 
  602        uint_fast32_t *lyrsizes;
 
  608        jpc_enc_tcmpt_t *tcmpts;
 
  611        uint_fast32_t rawsize;
 
  617typedef struct jpc_enc_s {
 
  629        jpc_enc_tile_t *curtile;
 
  632        jpc_cstate_t *cstate;
 
  639        uint_fast32_t mainbodysize;
 
  646        jas_stream_t *tmpstream;
 
Matrix type.
Definition jas_seq.h:117
I/O stream object.
Definition jas_stream.h:206