Lines Matching refs:image
267 int (*encode)(jas_image_t *image, jas_stream_t *out, char *opts);
308 jas_image_t *jas_image_copy(jas_image_t *image);
311 void jas_image_destroy(jas_image_t *image);
314 #define jas_image_width(image) \ argument
315 ((image)->brx_ - (image)->tlx_)
318 #define jas_image_height(image) \ argument
319 ((image)->bry_ - (image)->tly_)
323 #define jas_image_tlx(image) \ argument
324 ((image)->tlx_)
328 #define jas_image_tly(image) \ argument
329 ((image)->tly_)
333 #define jas_image_brx(image) \ argument
334 ((image)->brx_)
338 #define jas_image_bry(image) \ argument
339 ((image)->bry_)
342 #define jas_image_numcmpts(image) \ argument
343 ((image)->numcmpts_)
346 #define jas_image_clrspc(image) \ argument
347 ((image)->clrspc_)
350 #define jas_image_setclrspc(image, clrspc) \ argument
351 ((image)->clrspc_ = (clrspc))
353 #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_)
371 #define jas_image_cmptprec(image, cmptno) \ argument
372 ((image)->cmpts_[cmptno]->prec_)
375 #define jas_image_cmpthstep(image, cmptno) \ argument
376 ((image)->cmpts_[cmptno]->hstep_)
379 #define jas_image_cmptvstep(image, cmptno) \ argument
380 ((image)->cmpts_[cmptno]->vstep_)
383 #define jas_image_cmpttlx(image, cmptno) \ argument
384 ((image)->cmpts_[cmptno]->tlx_)
387 #define jas_image_cmpttly(image, cmptno) \ argument
388 ((image)->cmpts_[cmptno]->tly_)
392 #define jas_image_cmptbrx(image, cmptno) \ argument
393 ((image)->cmpts_[cmptno]->tlx_ + (image)->cmpts_[cmptno]->width_ * \
394 (image)->cmpts_[cmptno]->hstep_)
398 #define jas_image_cmptbry(image, cmptno) \ argument
399 ((image)->cmpts_[cmptno]->tly_ + (image)->cmpts_[cmptno]->height_ * \
400 (image)->cmpts_[cmptno]->vstep_)
404 uint_fast32_t jas_image_rawsize(jas_image_t *image);
410 int jas_image_encode(jas_image_t *image, jas_stream_t *out, int fmt,
416 int jas_image_readcmpt(jas_image_t *image, int cmptno,
421 int jas_image_writecmpt(jas_image_t *image, int cmptno,
426 void jas_image_delcmpt(jas_image_t *image, int cmptno);
429 int jas_image_addcmpt(jas_image_t *image, int cmptno,
441 #define jas_image_cmptdtype(image, cmptno) \ argument
442 …(JAS_IMAGE_CDT_SETSGND((image)->cmpts_[cmptno]->sgnd_) | JAS_IMAGE_CDT_SETPREC((image)->cmpts_[cmp…
444 int jas_image_depalettize(jas_image_t *image, int cmptno, int numlutents,
447 int jas_image_readcmptsample(jas_image_t *image, int cmptno, int x, int y);
448 void jas_image_writecmptsample(jas_image_t *image, int cmptno, int x, int y,
451 int jas_image_getcmptbytype(jas_image_t *image, int ctype);
483 #define jas_image_cmprof(image) ((image)->cmprof_) argument
484 int jas_image_ishomosamp(jas_image_t *image);
485 int jas_image_sampcmpt(jas_image_t *image, int cmptno, int newcmptno,
488 int jas_image_writecmpt2(jas_image_t *image, int cmptno, jas_image_coord_t x,
491 int jas_image_readcmpt2(jas_image_t *image, int cmptno, jas_image_coord_t x,
495 #define jas_image_setcmprof(image, cmprof) ((image)->cmprof_ = cmprof) argument
496 jas_image_t *jas_image_chclrspc(jas_image_t *image, jas_cmprof_t *outprof,
498 void jas_image_dump(jas_image_t *image, FILE *out);
507 int jpg_encode(jas_image_t *image, jas_stream_t *out, char *optstr);
514 int mif_encode(jas_image_t *image, jas_stream_t *out, char *optstr);
521 int pnm_encode(jas_image_t *image, jas_stream_t *out, char *optstr);
528 int ras_encode(jas_image_t *image, jas_stream_t *out, char *optstr);
535 int bmp_encode(jas_image_t *image, jas_stream_t *out, char *optstr);
542 int jp2_encode(jas_image_t *image, jas_stream_t *out, char *optstr);
549 int jpc_encode(jas_image_t *image, jas_stream_t *out, char *optstr);
556 int pgx_encode(jas_image_t *image, jas_stream_t *out, char *optstr);