/dports/graphics/jasper/jasper-version-2.0.33/src/libjasper/ras/ |
H A D | ras_enc.c | 121 enc->numcmpts = 3; in ras_encode() 135 enc->numcmpts = 1; in ras_encode() 164 if (enc->numcmpts == 3) { in ras_encode() 168 if (enc->numcmpts > 1) { in ras_encode() 175 } else if (enc->numcmpts == 1) { in ras_encode() 231 assert(numcmpts <= 3); in ras_putdatastd() 233 if (RAS_ISRGB(hdr) && numcmpts < 3) { in ras_putdatastd() 242 for (i = 0; i < numcmpts; ++i) { in ras_putdatastd() 255 for (i = 0; i < numcmpts; ++i) { in ras_putdatastd() 296 for (i = 0; i < numcmpts; ++i) { in ras_putdatastd() [all …]
|
/dports/graphics/jasper/jasper-version-2.0.33/src/libjasper/bmp/ |
H A D | bmp_enc.c | 132 enc->numcmpts = 3; in bmp_encode() 144 enc->numcmpts = 1; in bmp_encode() 178 numpad = (width * enc->numcmpts) % 4; in bmp_encode() 191 info->depth = enc->numcmpts * depth; in bmp_encode() 287 int numcmpts; in bmp_putdata() local 291 numcmpts = (info->depth == 24) ? 3:1; in bmp_putdata() 300 for (i = 0; i < numcmpts; ++i) { in bmp_putdata() 305 for (i = 0; i < numcmpts; ++i) { in bmp_putdata() 328 if (numcmpts == 3) { in bmp_putdata() 338 } else if (numcmpts == 1) { in bmp_putdata() [all …]
|
H A D | bmp_cod.c | 121 int numcmpts; in bmp_numcmpts() local 124 numcmpts = 3; in bmp_numcmpts() 126 numcmpts = bmp_isgrayscalepal(info->palents, info->numcolors) ? in bmp_numcmpts() 129 numcmpts = 0; in bmp_numcmpts() 132 return numcmpts; in bmp_numcmpts()
|
H A D | bmp_dec.c | 160 uint_fast16_t numcmpts; in bmp_decode() local 242 numcmpts = bmp_numcmpts(info); in bmp_decode() 262 if (numcmpts == 3) { in bmp_decode() 429 int numcmpts; in bmp_getdata() local 439 numcmpts = bmp_numcmpts(info); in bmp_getdata() 443 for (i = 0; i < numcmpts; ++i) { in bmp_getdata() 448 for (i = 0; i < numcmpts; ++i) { in bmp_getdata() 456 numpad = (numcmpts * info->width) % 4; in bmp_getdata() 491 if (numcmpts == 3) { in bmp_getdata() 505 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in bmp_getdata() [all …]
|
/dports/graphics/jasper/jasper-version-2.0.33/src/libjasper/pnm/ |
H A D | pnm_enc.c | 108 static int pnm_putdata(jas_stream_t *out, pnm_hdr_t *hdr, jas_image_t *image, int numcmpts, int *cm… 141 enc->numcmpts = 3; in pnm_encode() 155 enc->numcmpts = 1; in pnm_encode() 182 for (cmptno = 0; cmptno < enc->numcmpts; ++cmptno) { in pnm_encode() 202 if (enc->numcmpts == 1) { in pnm_encode() 204 } else if (enc->numcmpts == 3) { in pnm_encode() 220 if (pnm_putdata(out, &hdr, image, enc->numcmpts, enc->cmpts)) { in pnm_encode() 335 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in pnm_putdata() 342 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in pnm_putdata() 351 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in pnm_putdata() [all …]
|
H A D | pnm_dec.c | 198 if (!jas_safe_size_mul3(hdr.width, hdr.height, hdr.numcmpts, in pnm_decode() 221 if (!(image = jas_image_create(hdr.numcmpts, cmptparms, in pnm_decode() 226 if (hdr.numcmpts == 3) { in pnm_decode() 313 hdr->numcmpts = 1; in pnm_gethdr() 316 hdr->numcmpts = 3; in pnm_gethdr() 335 int numcmpts; in pnm_getdata() 351 numcmpts = jas_image_numcmpts(image); in pnm_getdata() 361 for (cmptno = 0; cmptno < hdr->numcmpts; ++cmptno) { in pnm_getdata() 393 for (cmptno = 0; cmptno < hdr->numcmpts; ++cmptno) { in pnm_getdata() 449 for (cmptno = 0; cmptno < hdr->numcmpts; ++cmptno) { in pnm_getdata() [all …]
|
/dports/graphics/jasper/jasper-version-2.0.33/src/libjasper/mif/ |
H A D | mif_cod.c | 180 for (cmptno = 0; cmptno < hdr->numcmpts; ++cmptno) { in mif_decode() 305 for (cmptno = 0; cmptno < hdr->numcmpts; ++cmptno) { in mif_encode() 412 hdr->numcmpts = 0; in mif_hdr_create() 438 assert(maxcmpts >= hdr->numcmpts); in mif_hdr_growcmpts() 608 if (mif_hdr_addcmpt(hdr, hdr->numcmpts, cmpt)) { in mif_process_cmpt() 658 assert(cmptno >= hdr->numcmpts); in mif_hdr_addcmpt() 661 if (hdr->numcmpts >= hdr->maxcmpts) { in mif_hdr_addcmpt() 662 if (mif_hdr_growcmpts(hdr, hdr->numcmpts + 128)) { in mif_hdr_addcmpt() 666 hdr->cmpts[hdr->numcmpts] = cmpt; in mif_hdr_addcmpt() 667 ++hdr->numcmpts; in mif_hdr_addcmpt() [all …]
|
/dports/graphics/jasper/jasper-version-2.0.33/src/appl/ |
H A D | jasper.c | 159 int_fast16_t numcmpts; in main() local 248 numcmpts = jas_image_numcmpts(image); in main() 249 if (cmdopts->cmptno >= 0 && cmdopts->cmptno < numcmpts) { in main() 250 for (i = numcmpts - 1; i >= 0; --i) { in main() 555 inpixmap.numcmpts = jas_image_numcmpts(oldimage); 556 outpixmap.numcmpts = 3; 557 for (i = 0; i < inpixmap.numcmpts; ++i) { 560 for (i = 0; i < outpixmap.numcmpts; ++i)
|
H A D | imginfo.c | 138 int numcmpts; in main() local 251 if (!(numcmpts = jas_image_numcmpts(image))) { in main() 254 if (numcmpts) { in main() 263 printf("%s %d %d %d %d %ld\n", fmtname, numcmpts, width, height, depth, in main()
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/OpenJPEG/src/openjpeg/ |
H A D | image.c | 39 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparms, OP… in opj_image_create() argument 49 image->numcomps = numcmpts; in opj_image_create() 60 for(compno = 0; compno < numcmpts; compno++) { in opj_image_create() 82 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparm… in opj_image_tile_create() argument 92 image->numcomps = numcmpts; in opj_image_tile_create() 103 for(compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/misc/vxl/vxl-3.3.2/v3p/openjpeg2/ |
H A D | image.c | 39 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparms, OP… in opj_image_create() argument 49 image->numcomps = numcmpts; in opj_image_create() 60 for(compno = 0; compno < numcmpts; compno++) { in opj_image_create() 82 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparm… in opj_image_tile_create() argument 92 image->numcomps = numcmpts; in opj_image_tile_create() 103 for(compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/jp2/ |
H A D | ReaderWriterJP2.cpp | 32 static int putdata(jas_stream_t *out, jas_image_t *image, int numcmpts) in putdata() argument 52 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in putdata() 59 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in putdata() 67 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in putdata() 93 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in putdata() 105 int numcmpts; in getdata() local 114 numcmpts = jas_image_numcmpts(image); in getdata() 122 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in getdata() 133 for (cmptno = 0; cmptno < numcmpts; ++cmptno) in getdata() 143 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in getdata() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/jp2/ |
H A D | ReaderWriterJP2.cpp | 32 static int putdata(jas_stream_t *out, jas_image_t *image, int numcmpts) in putdata() argument 52 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in putdata() 59 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in putdata() 67 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in putdata() 93 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in putdata() 105 int numcmpts; in getdata() local 114 numcmpts = jas_image_numcmpts(image); in getdata() 122 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in getdata() 133 for (cmptno = 0; cmptno < numcmpts; ++cmptno) in getdata() 143 for (cmptno = 0; cmptno < numcmpts; ++cmptno) { in getdata() [all …]
|
/dports/editors/texmaker/texmaker-5.0.3/pdfium/third_party/libopenjpeg20/ |
H A D | image.c | 39 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparms, OP… in opj_image_create() argument 46 image->numcomps = numcmpts; in opj_image_create() 56 for(compno = 0; compno < numcmpts; compno++) { in opj_image_create() 208 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparm… in opj_image_tile_create() argument 217 image->numcomps = numcmpts; in opj_image_tile_create() 227 for(compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/graphics/freeimage/FreeImage/Source/LibOpenJPEG/ |
H A D | image.c | 34 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparms, OP… in opj_image_create() argument 41 image->numcomps = numcmpts; in opj_image_create() 50 for(compno = 0; compno < numcmpts; compno++) { in opj_image_create() 199 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, opj_image_cmptparm_t *cmptparm… in opj_image_tile_create() argument 209 image->numcomps = numcmpts; in opj_image_tile_create() 220 for(compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmopenjpeg/src/lib/openjp2/ |
H A D | image.c | 40 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, in opj_image_create() argument 49 image->numcomps = numcmpts; in opj_image_create() 60 for (compno = 0; compno < numcmpts; compno++) { in opj_image_create() 228 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, in opj_image_tile_create() argument 238 image->numcomps = numcmpts; in opj_image_tile_create() 249 for (compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/third_party/libopenjpeg20/ |
H A D | image.c | 40 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, in opj_image_create() argument 49 image->numcomps = numcmpts; in opj_image_create() 60 for (compno = 0; compno < numcmpts; compno++) { in opj_image_create() 228 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, in opj_image_tile_create() argument 238 image->numcomps = numcmpts; in opj_image_tile_create() 249 for (compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/third_party/libopenjpeg20/ |
H A D | image.c | 40 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, in opj_image_create() argument 49 image->numcomps = numcmpts; in opj_image_create() 60 for (compno = 0; compno < numcmpts; compno++) { in opj_image_create() 228 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, in opj_image_tile_create() argument 238 image->numcomps = numcmpts; in opj_image_tile_create() 249 for (compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/devel/gdcm/gdcm-3.0.10/Utilities/gdcmopenjpeg/src/lib/openjp2/ |
H A D | image.c | 40 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, in opj_image_create() argument 49 image->numcomps = numcmpts; in opj_image_create() 60 for (compno = 0; compno < numcmpts; compno++) { in opj_image_create() 228 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, in opj_image_tile_create() argument 238 image->numcomps = numcmpts; in opj_image_tile_create() 249 for (compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/openjpeg/openjp2/ |
H A D | image.c | 40 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, in opj_image_create() argument 49 image->numcomps = numcmpts; in opj_image_create() 60 for (compno = 0; compno < numcmpts; compno++) { in opj_image_create() 228 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, in opj_image_tile_create() argument 238 image->numcomps = numcmpts; in opj_image_tile_create() 249 for (compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/openjpeg/src/lib/openjp2/ |
H A D | image.c | 40 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, in opj_image_create() argument 49 image->numcomps = numcmpts; in opj_image_create() 60 for (compno = 0; compno < numcmpts; compno++) { in opj_image_create() 228 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, in opj_image_tile_create() argument 238 image->numcomps = numcmpts; in opj_image_tile_create() 249 for (compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/graphics/openjpeg/openjpeg-2.4.0/src/lib/openjp2/ |
H A D | image.c | 40 opj_image_t* OPJ_CALLCONV opj_image_create(OPJ_UINT32 numcmpts, in opj_image_create() argument 49 image->numcomps = numcmpts; in opj_image_create() 60 for (compno = 0; compno < numcmpts; compno++) { in opj_image_create() 228 opj_image_t* OPJ_CALLCONV opj_image_tile_create(OPJ_UINT32 numcmpts, in opj_image_tile_create() argument 238 image->numcomps = numcmpts; in opj_image_tile_create() 249 for (compno = 0; compno < numcmpts; compno++) { in opj_image_tile_create()
|
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/openjpeg/libopenjpeg/ |
H A D | image.c | 34 opj_image_t* OPJ_CALLCONV opj_image_create(int numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR… in opj_image_create() argument 41 image->numcomps = numcmpts; in opj_image_create() 50 for(compno = 0; compno < numcmpts; compno++) { in opj_image_create()
|
/dports/graphics/openjpeg/openjpeg-2.4.0/src/lib/openmj2/ |
H A D | image.c | 40 opj_image_t* OPJ_CALLCONV opj_image_create(int numcmpts, in opj_image_create() argument 49 image->numcomps = numcmpts; in opj_image_create() 59 for (compno = 0; compno < numcmpts; compno++) { in opj_image_create()
|
/dports/graphics/openjpeg15/openjpeg-version.1.5.2/libopenjpeg/ |
H A D | image.c | 34 opj_image_t* OPJ_CALLCONV opj_image_create(int numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR… in opj_image_create() argument 41 image->numcomps = numcmpts; in opj_image_create() 50 for(compno = 0; compno < numcmpts; compno++) { in opj_image_create()
|