Home
last modified time | relevance | path

Searched refs:cmptno (Results 1 – 10 of 10) sorted by relevance

/external/opencv3/3rdparty/libjasper/jasper/
Djas_image.h353 #define jas_image_cmpttype(image, cmptno) \ argument
354 ((image)->cmpts_[(cmptno)]->type_)
355 #define jas_image_setcmpttype(image, cmptno, type) \ argument
356 ((image)->cmpts_[(cmptno)]->type_ = (type))
359 #define jas_image_cmptwidth(image, cmptno) \ argument
360 ((image)->cmpts_[cmptno]->width_)
363 #define jas_image_cmptheight(image, cmptno) \ argument
364 ((image)->cmpts_[cmptno]->height_)
367 #define jas_image_cmptsgnd(image, cmptno) \ argument
368 ((image)->cmpts_[cmptno]->sgnd_)
[all …]
/external/opencv3/3rdparty/libjasper/
Djas_image.c133 int cmptno; in jas_image_create() local
151 for (cmptno = 0; cmptno < image->maxcmpts_; ++cmptno) { in jas_image_create()
152 image->cmpts_[cmptno] = 0; in jas_image_create()
157 for (cmptno = 0, cmptparm = cmptparms; cmptno < numcmpts; ++cmptno, in jas_image_create()
167 for (cmptno = 0, cmptparm = cmptparms; cmptno < numcmpts; ++cmptno, in jas_image_create()
169 if (!(image->cmpts_[cmptno] = jas_image_cmpt_create(cmptparm->tlx, in jas_image_create()
211 int cmptno; in jas_image_copy() local
217 for (cmptno = 0; cmptno < image->numcmpts_; ++cmptno) { in jas_image_copy()
218 if (!(newimage->cmpts_[cmptno] = jas_image_cmpt_copy(image->cmpts_[cmptno]))) { in jas_image_copy()
404 int jas_image_readcmpt(jas_image_t *image, int cmptno, jas_image_coord_t x, in jas_image_readcmpt() argument
[all …]
Djpc_enc.c355 int cmptno; in cp_create() local
394 for (cmptno = 0; cmptno < jas_image_numcmpts(image); ++cmptno) { in cp_create()
395 if (jas_image_cmptbrx(image, cmptno) + jas_image_cmpthstep(image, cmptno) <= in cp_create()
396 jas_image_brx(image) || jas_image_cmptbry(image, cmptno) + in cp_create()
397 jas_image_cmptvstep(image, cmptno) <= jas_image_bry(image)) { in cp_create()
402 hsteplcm *= jas_image_cmpthstep(image, cmptno); in cp_create()
403 vsteplcm *= jas_image_cmptvstep(image, cmptno); in cp_create()
409 for (cmptno = 0, ccp = cp->ccps; cmptno < JAS_CAST(int, cp->numcmpts); ++cmptno, in cp_create()
411 ccp->sampgrdstepx = jas_image_cmpthstep(image, cmptno); in cp_create()
412 ccp->sampgrdstepy = jas_image_cmptvstep(image, cmptno); in cp_create()
[all …]
Djp2_enc.c103 uint_fast16_t cmptno; in jp2_write_header() local
201 for (cmptno = 0; cmptno < bpcc->numcmpts; ++cmptno) { in jp2_write_header()
202 bpcc->bpcs[cmptno] = JP2_SPTOBPC(jas_image_cmptsgnd(image, in jp2_write_header()
203 cmptno), jas_image_cmptprec(image, cmptno)); in jp2_write_header()
Djpc_mct.c251 jpc_fix_t jpc_mct_getsynweight(int mctid, int cmptno) in jpc_mct_getsynweight() argument
258 switch (cmptno) { in jpc_mct_getsynweight()
271 switch (cmptno) { in jpc_mct_getsynweight()
Djpc_mct.h109 jpc_fix_t jpc_mct_getsynweight(int mctid, int cmptno);
Djp2_dec.c113 int cmptno; in jp2_decode()
326 … if (dec->cmap->data.cmap.ents[i].cmptno >= JAS_CAST(uint, jas_image_numcmpts(dec->image))) { in jp2_decode()
362 …jas_image_depalettize(dec->image, cmapent->cmptno, pclrd->numlutents, lutents, JP2_BPCTODTYPE(pclr… in jp2_decode()
Djp2_cod.h227 uint_fast16_t cmptno; member
Djpc_dec.c412 int cmptno; in jpc_dec_process_crg() local
417 for (cmptno = 0, cmpt = dec->cmpts; cmptno < dec->numcomps; ++cmptno, in jpc_dec_process_crg()
448 int cmptno; in jpc_dec_process_sot() local
454 for (cmptno = 0, cmpt = dec->cmpts, compinfo = compinfos; in jpc_dec_process_sot()
455 cmptno < dec->numcomps; ++cmptno, ++cmpt, ++compinfo) { in jpc_dec_process_sot()
Djp2_cod.c782 if (jp2_getuint16(in, &ent->cmptno) || in jp2_cmap_getdata()
810 (int) ent->cmptno, (int) ent->map, (int) ent->pcol); in jp2_cmap_dumpdata()