Home
last modified time | relevance | path

Searched refs:GBitmap (Results 1 – 25 of 29) sorted by relevance

12

/dports/graphics/djvulibre/djvulibre-3.5.28/libdjvu/
H A DGBitmap.h128 GBitmap(void);
130 GBitmap(const GBitmap &ref);
131 GBitmap(const GBitmap &ref, int border);
132 GBitmap(const GBitmap &ref, const GRect &rect, int border=0);
135 virtual ~GBitmap();
142 static GP<GBitmap> create(void) {return new GBitmap;} in create()
153 static GP<GBitmap> create(const GBitmap &ref) in create()
158 static GP<GBitmap> create(const GBitmap &ref, const int border) in create()
199 GBitmap& operator=(const GBitmap &ref);
594 inline GBitmap&
[all …]
H A DGBitmap.cpp85 GBitmap::~GBitmap() in ~GBitmap()
99 GBitmap::GBitmap() in GBitmap() function in GBitmap
107 GBitmap::GBitmap(int nrows, int ncolumns, int border) in GBitmap() function in GBitmap
125 GBitmap::GBitmap(ByteStream &ref, int border) in GBitmap() function in GBitmap
143 GBitmap::GBitmap(const GBitmap &ref) in GBitmap() function in GBitmap
161 GBitmap::GBitmap(const GBitmap &ref, int border) in GBitmap() function in GBitmap
180 GBitmap::GBitmap(const GBitmap &ref, const GRect &rect, int border) in GBitmap() function in GBitmap
233 GBitmap::init(const GBitmap &ref, int aborder) in init()
470 GBitmap::share() in share()
555 GBitmap::blit(const GBitmap *bm, int x, int y) in blit()
[all …]
H A DGPixmap.h94 class GBitmap; variable
151 GPixmap(const GBitmap &ref);
152 GPixmap(const GBitmap &ref, const GRect &rect);
179 static GP<GPixmap> create(const GBitmap &ref) in create()
187 static GP<GPixmap> create(const GBitmap &ref, const GRect &rect) in create()
224 void init(const GBitmap &ref, const GPixel *ramp=0);
236 GPixmap& operator=(const GBitmap &ref);
306 void attenuate(const GBitmap *bm, int x, int y);
332 void stencil(const GBitmap *bm,
335 void stencil(const GBitmap *bm,
[all …]
H A DJB2Image.h185 class GBitmap; variable
227 GP<GBitmap> bits;
330 void compute_bounding_box(const GBitmap &cbm);
382 GP<GBitmap> get_bitmap(int subsample = 1, int align = 1) const;
617 void code_bitmap_directly (GBitmap &bm);
618 void code_bitmap_by_cross_coding (GBitmap &bm, GP<GBitmap> &cbm, const int libno);
621 static void compute_bounding_box(GBitmap &cbm, LibRect &lrect);
647 virtual void code_absolute_mark_size(GBitmap &bm, int border=0) = 0;
648 virtual void code_relative_mark_size(GBitmap &bm, int cw, int ch, int border=0) = 0;
649 virtual void code_bitmap_directly(GBitmap &bm,const int dw, int dy,
[all …]
H A DJB2Image.cpp120 void code_bitmap_by_cross_coding (GBitmap &bm, GBitmap &cbm,
287 GP<GBitmap>
295 GP<GBitmap> bm = GBitmap::create(sheight, swidth, border); in get_bitmap()
307 GP<GBitmap>
317 GP<GBitmap> bm = GBitmap::create(sheight, swidth, border); in get_bitmap()
855 GP<GBitmap> copycbm=GBitmap::create(); in code_bitmap_by_cross_coding()
887 JB2Dict::JB2Codec::Decode::code_bitmap_by_cross_coding (GBitmap &bm, GBitmap &cbm, in code_bitmap_by_cross_coding()
926 GP<GBitmap> cbm; in code_record()
927 GP<GBitmap> bm; in code_record()
1089 GP<GBitmap> bm; in code_record()
[all …]
H A DIW44Image.h179 class GBitmap; variable
280 static GP<IW44Image> create_encode(const GBitmap &bm, const GP<GBitmap> mask=0);
287 …static GP<IW44Image> create_encode(const GPixmap &bm, const GP<GBitmap> mask=0, CRCBMode crcbmode=…
295 virtual GP<GBitmap> get_bitmap(void) {return 0;} in get_bitmap()
301 virtual GP<GBitmap> get_bitmap(int subsample, const GRect &rect) {return 0;} in get_bitmap()
411 virtual GP<GBitmap> get_bitmap(void);
417 virtual GP<GBitmap> get_bitmap(int subsample, const GRect &rect);
H A DJB2EncodeCodec.cpp116 void code_absolute_mark_size(GBitmap &bm, int border=0);
117 void code_relative_mark_size(GBitmap &bm, int cw, int ch, int border=0);
118 void code_bitmap_directly(GBitmap &bm,const int dw, int dy,
121 void code_bitmap_by_cross_coding (GBitmap &bm, GBitmap &cbm,
280 JB2Dict::JB2Codec::Encode::code_absolute_mark_size(GBitmap &bm, int border) in code_absolute_mark_size()
287 JB2Dict::JB2Codec::Encode::code_relative_mark_size(GBitmap &bm, int cw, int ch, int border) in code_relative_mark_size()
297 GBitmap &bm,const int dw, int dy, in code_bitmap_directly()
322 JB2Dict::JB2Codec::Encode::code_bitmap_by_cross_coding (GBitmap &bm, GBitmap &cbm, in code_bitmap_by_cross_coding()
H A DGScaler.h215 void scale( const GRect &provided_input, const GBitmap &input,
216 const GRect &desired_output, GBitmap &output );
219 unsigned char *get_line(int, const GRect &, const GRect &, const GBitmap &);
H A DMakefile.am12 DjVuPalette.cpp DjVuPort.cpp DjVuText.cpp DjVuToPS.cpp GBitmap.cpp \
24 DjVuPort.h DjVuText.h DjVuToPS.h GBitmap.h GContainer.h GException.h \
H A DDjVuImage.cpp649 GP<GBitmap>
845 GP<GBitmap> bm; in stencil()
854 bm = GBitmap::create(rect.height(), rect.width()); in stencil()
932 bm = GBitmap::create(comprect.height(), comprect.width()); in stencil()
1096 typedef GP<GBitmap>(DjVuImage::*BImager)(const GRect&,int,int) const;
1099 static GP<GBitmap>
1130 GP<GBitmap> bm=(dimg.*get)(zrect, red, align); in do_bitmap()
1152 GP<GBitmap> sbm = (dimg.*get)(srect, red, 1); in do_bitmap()
1155 GP<GBitmap> bm = GBitmap::create(zrect.height(), zrect.width(), border); in do_bitmap()
1241 GP<GBitmap>
H A DDjVuImage.h363 GP<GBitmap> get_bitmap(const GRect &rect, const GRect &all,
420 GP<GBitmap> get_bitmap(const GRect &r, int s=1, int align = 1) const;
H A DGPixmap.cpp217 GPixmap::GPixmap(const GBitmap &ref) in GPixmap()
232 GPixmap::GPixmap(const GBitmap &ref, const GRect &rect) in GPixmap()
310 GPixmap::init(const GBitmap &ref, const GPixel *userramp) in init()
341 GPixmap::init(const GBitmap &ref, const GRect &rect, const GPixel *userramp) in init()
475 GP<GBitmap> bm; in init()
492 bm = GBitmap::create(bs); in init()
1372 GPixmap::attenuate(const GBitmap *bm, int xpos, int ypos) in attenuate()
1422 GPixmap::blit(const GBitmap *bm, int xpos, int ypos, const GPixel *color) in blit()
1478 GPixmap::blit(const GBitmap *bm, int xpos, int ypos, const GPixmap *color) in blit()
1595 GPixmap::stencil(const GBitmap *bm, in stencil()
[all …]
H A DIW44EncodeCodec.cpp165 void init(const GBitmap &bm, const GP<GBitmap> mask=0);
218 void init(const GPixmap &bm, const GP<GBitmap> mask=0, CRCBMode crcbmode=CRCBnormal);
1396 IW44Image::create_encode(const GBitmap &bm, const GP<GBitmap> mask) in create_encode()
1415 IWBitmap::Encode::init(const GBitmap &bm, const GP<GBitmap> gmask) in init()
1436 GBitmap *mask=gmask; in init()
1559 const GPixmap &pm, const GP<GBitmap> gmask, CRCBMode crcbmode) in create_encode()
1577 IWPixmap::Encode::init(const GPixmap &pm, const GP<GBitmap> gmask, CRCBMode crcbmode) in init()
1604 GBitmap *mask=gmask; in init()
H A DXMLParser.h84 class GBitmap; variable
H A DMMRDecoder.cpp814 GBitmap::append_run(p, count); in scanrle()
893 GPArray<GBitmap> blocks(0,blocksperline-1); in decode()
915 blocks[b] = GBitmap::create(bandline+1, lastx-firstx); in decode()
H A DMakefile.in164 libdjvulibre_la-DjVuToPS.lo libdjvulibre_la-GBitmap.lo \
232 ./$(DEPDIR)/libdjvulibre_la-GBitmap.Plo \
473 DjVuPalette.cpp DjVuPort.cpp DjVuText.cpp DjVuToPS.cpp GBitmap.cpp \
485 DjVuPort.h DjVuText.h DjVuToPS.h GBitmap.h GContainer.h GException.h \
H A DIW44Image.cpp1430 unsigned int usage = sizeof(GBitmap); in get_memory_usage()
1437 GP<GBitmap>
1446 GP<GBitmap> pbm = GBitmap::create(h, w); in get_bitmap()
1461 GP<GBitmap>
1469 GP<GBitmap> pbm = GBitmap::create(h,w); in get_bitmap()
H A DGScaler.cpp328 const GBitmap &input ) in get_line()
399 GBitmapScaler::scale( const GRect &provided_input, const GBitmap &input, in scale()
400 const GRect &desired_output, GBitmap &output ) in scale()
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/dssim-core-3.1.0/src/
H A Dtolab.rs14 pub type GBitmap = ImgVec<f32>; typedef
45 fn to_lab(&self) -> Vec<GBitmap>; in to_lab() argument
50 fn to_lab(&self) -> Vec<GBitmap> { in to_lab() argument
57 fn to_lab(&self) -> Vec<GBitmap> { in to_lab() argument
62 impl ToLABBitmap for GBitmap { implementation
63 fn to_lab(&self) -> Vec<GBitmap> { in to_lab() argument
89 fn rgb_to_lab<T: Copy + Sync + Send + 'static, F>(img: ImgRef<'_, T>, cb: F) -> Vec<GBitmap> in rgb_to_lab()
132 fn to_lab(&self) -> Vec<GBitmap> { in to_lab() argument
141 fn to_lab(&self) -> Vec<GBitmap> { in to_lab() argument
/dports/graphics/djvulibre/djvulibre-3.5.28/tools/
H A Ddjvumake.cpp725 GP<GBitmap> fg_mask=GBitmap::create(); in create_masksub_chunks()
738 GP<GBitmap> bg_mask=GBitmap::create(); in create_masksub_chunks()
1058 static GP<GBitmap>
1059 dilate8(const GBitmap *p_bm) in dilate8()
1061 const GBitmap& bm = *p_bm; in dilate8()
1062 GP<GBitmap> p_newbm = GBitmap::create(bm.rows(),bm.columns(),1); in dilate8()
1063 GBitmap& newbm = *p_newbm; in dilate8()
1100 static GP<GBitmap>
1101 erode8(const GBitmap *p_bm) in erode8()
1103 const GBitmap& bm = *p_bm; in erode8()
[all …]
H A Djb2tune.cpp90 GP<GBitmap> bits; // bitmap pointer
98 compute_area(GBitmap *bits) in compute_area()
100 GBitmap &bitmap = *bits; in compute_area()
119 compute_baseline(GBitmap *bits) in compute_baseline()
171 compute_comparable_image(GBitmap *bits) in compute_comparable_image()
252 GBitmap &bitmap = *(jshp.bits); in tune_jb2image()
268 GBitmap &cross_bitmap = *lib[candidate].bits; in tune_jb2image()
H A Dc44.cpp638 GP<GBitmap>
641 GP<GBitmap> msk8; in getmask()
645 msk8 = GBitmap::create(*mbs); in getmask()
728 GP<GBitmap> gibm=GBitmap::create(ibs); in main()
729 GBitmap &ibm=*gibm; in main()
H A Dcjb2.cpp192 void add_bitmap_runs(const GBitmap &bm, int offx=0, int offy=0, int ccid=0);
193 GP<GBitmap> get_bitmap_for_cc(int ccid) const;
248 CCImage::add_bitmap_runs(const GBitmap &bm, int offx, int offy, int ccid) in add_bitmap_runs()
628 GP<GBitmap>
633 GP<GBitmap> bits = GBitmap::create(bb.height(), bb.width()); in get_bitmap_for_cc()
835 GP<GBitmap> input=GBitmap::create(*ibs); in cjb2()
H A Dcpaldjvu.cpp167 GP<GBitmap> get_bitmap_for_cc(int ccid) const;
571 GP<GBitmap>
576 GP<GBitmap> bits = GBitmap::create(bb.height(), bb.width()); in get_bitmap_for_cc()
782 GP<GBitmap> mask = jimg.get_bitmap(BACKGROUND_SUBSAMPLING_FACTOR); in cpaldjvu()
H A Dcsepdjvu.cpp515 GP<GBitmap> get_bitmap_for_cc(int ccid) const;
1058 GP<GBitmap>
1063 GP<GBitmap> bits = GBitmap::create(bb.height(), bb.width()); in get_bitmap_for_cc()
1629 GP<GBitmap> mask = jimg.get_bitmap(bgred); in csepdjvu_page()

12