JB2Dict::JB2Codec Class Reference
List of all members.Detailed Description
Definition at line 592 of file JB2Image.h.
Public Types | |
| typedef unsigned int | NumContext |
Public Member Functions | |
| virtual | ~JB2Codec () |
Protected Member Functions | |
| JB2Codec (const bool xencoding=false) | |
| JB2Codec (const JB2Codec &ref) | |
| JB2Codec & | operator= (const JB2Codec &ref) |
| int | CodeNum (int lo, int hi, NumContext *pctx, int v) |
| void | reset_numcoder (void) |
| void | code_eventual_lossless_refinement (void) |
| void | init_library (JB2Dict &jim) |
| int | add_library (const int shapeno, JB2Shape &jshp) |
| void | code_relative_location (JB2Blit *jblt, int rows, int columns) |
| void | code_bitmap_directly (GBitmap &bm) |
| void | code_bitmap_by_cross_coding (GBitmap &bm, GP< GBitmap > &cbm, const int libno) |
| void | code_record (int &rectype, const GP< JB2Dict > &jim, JB2Shape *jshp) |
| void | code_record (int &rectype, const GP< JB2Image > &jim, JB2Shape *jshp, JB2Blit *jblt) |
| virtual bool | CodeBit (const bool bit, BitContext &ctx)=0 |
| virtual void | code_comment (GUTF8String &comment)=0 |
| virtual void | code_record_type (int &rectype)=0 |
| virtual int | code_match_index (int &index, JB2Dict &jim)=0 |
| virtual void | code_inherited_shape_count (JB2Dict &jim)=0 |
| virtual void | code_image_size (JB2Dict &jim) |
| virtual void | code_image_size (JB2Image &jim) |
| virtual void | code_absolute_location (JB2Blit *jblt, int rows, int columns)=0 |
| virtual void | code_absolute_mark_size (GBitmap &bm, int border=0)=0 |
| virtual void | code_relative_mark_size (GBitmap &bm, int cw, int ch, int border=0)=0 |
| virtual void | code_bitmap_directly (GBitmap &bm, const int dw, int dy, unsigned char *up2, unsigned char *up1, unsigned char *up0)=0 |
| virtual void | code_bitmap_by_cross_coding (GBitmap &bm, GBitmap &cbm, const int xd2c, const int dw, int dy, int cy, unsigned char *up1, unsigned char *up0, unsigned char *xup1, unsigned char *xup0, unsigned char *xdn1)=0 |
| virtual int | get_diff (const int x_diff, NumContext &rel_loc)=0 |
| void | fill_short_list (const int v) |
| int | update_short_list (const int v) |
Static Protected Member Functions | |
| static void | compute_bounding_box (GBitmap &cbm, LibRect &lrect) |
| static int | get_direct_context (unsigned char const *const up2, unsigned char const *const up1, unsigned char const *const up0, const int column) |
| static int | shift_direct_context (const int context, const int next, unsigned char const *const up2, unsigned char const *const up1, unsigned char const *const up0, const int column) |
| static int | get_cross_context (unsigned char const *const up1, unsigned char const *const up0, unsigned char const *const xup1, unsigned char const *const xup0, unsigned char const *const xdn1, const int column) |
| static int | shift_cross_context (const int context, const int n, unsigned char const *const up1, unsigned char const *const up0, unsigned char const *const xup1, unsigned char const *const xup0, unsigned char const *const xdn1, const int column) |
Protected Attributes | |
| int | cur_ncell |
| BitContext * | bitcells |
| GPBuffer< BitContext > | gbitcells |
| NumContext * | leftcell |
| GPBuffer< NumContext > | gleftcell |
| NumContext * | rightcell |
| GPBuffer< NumContext > | grightcell |
| bool | refinementp |
| char | gotstartrecordp |
| NumContext | dist_comment_byte |
| NumContext | dist_comment_length |
| NumContext | dist_record_type |
| NumContext | dist_match_index |
| BitContext | dist_refinement_flag |
| GTArray< int > | shape2lib |
| GTArray< int > | lib2shape |
| GTArray< LibRect > | libinfo |
| NumContext | abs_loc_x |
| NumContext | abs_loc_y |
| NumContext | abs_size_x |
| NumContext | abs_size_y |
| NumContext | image_size_dist |
| NumContext | inherited_shape_count_dist |
| BitContext | offset_type_dist |
| NumContext | rel_loc_x_current |
| NumContext | rel_loc_x_last |
| NumContext | rel_loc_y_current |
| NumContext | rel_loc_y_last |
| NumContext | rel_size_x |
| NumContext | rel_size_y |
| int | last_bottom |
| int | last_left |
| int | last_right |
| int | last_row_bottom |
| int | last_row_left |
| int | image_columns |
| int | image_rows |
| int | short_list [3] |
| int | short_list_pos |
| BitContext | bitdist [1024] |
| BitContext | cbitdist [2048] |
Classes | |
| struct | LibRect |
The documentation for this class was generated from the following files:

