Home
last modified time | relevance | path

Searched refs:jas_stream_t (Results 1 – 25 of 32) sorted by relevance

12

/external/opencv3/3rdparty/libjasper/jasper/
Djas_stream.h243 } jas_stream_t; typedef
296 jas_stream_t *jas_stream_fopen(const char *filename, const char *mode);
299 jas_stream_t *jas_stream_memopen(char *buf, int bufsize);
302 jas_stream_t *jas_stream_fdopen(int fd, const char *mode);
305 jas_stream_t *jas_stream_freopen(const char *path, const char *mode, FILE *fp);
308 jas_stream_t *jas_stream_tmpfile(void);
311 int jas_stream_close(jas_stream_t *stream);
331 (((const jas_stream_t *)(stream))->rwlimit_)
334 int jas_stream_setrwlimit(jas_stream_t *stream, long rwlimit);
338 (((const jas_stream_t *)(stream))->rwcnt_)
[all …]
Djas_image.h170 jas_stream_t *stream_;
264 jas_image_t *(*decode)(jas_stream_t *in, char *opts);
267 int (*encode)(jas_image_t *image, jas_stream_t *out, char *opts);
270 int (*validate)(jas_stream_t *in);
407 jas_image_t *jas_image_decode(jas_stream_t *in, int fmt, char *optstr);
410 int jas_image_encode(jas_image_t *image, jas_stream_t *out, int fmt,
480 int jas_image_getfmt(jas_stream_t *in);
506 jas_image_t *jpg_decode(jas_stream_t *in, char *optstr);
507 int jpg_encode(jas_image_t *image, jas_stream_t *out, char *optstr);
508 int jpg_validate(jas_stream_t *in);
[all …]
Djas_icc.h299 int (*input)(struct jas_iccattrval_s *, jas_stream_t *, int);
300 int (*output)(struct jas_iccattrval_s *, jas_stream_t *);
376 jas_iccprof_t *jas_iccprof_load(jas_stream_t *in);
377 int jas_iccprof_save(jas_iccprof_t *prof, jas_stream_t *out);
Djas_cm.h234 int jas_cmprof_load(jas_cmprof_t *prof, jas_stream_t *in, int fmt);
236 int jas_cmprof_save(jas_cmprof_t *prof, jas_stream_t *out, int fmt);
/external/opencv3/3rdparty/libjasper/
Djp2_cod.c96 static int jp2_getuint8(jas_stream_t *in, uint_fast8_t *val);
97 static int jp2_getuint16(jas_stream_t *in, uint_fast16_t *val);
98 static int jp2_getuint32(jas_stream_t *in, uint_fast32_t *val);
99 static int jp2_getuint64(jas_stream_t *in, uint_fast64_t *val);
100 static int jp2_putuint8(jas_stream_t *out, uint_fast8_t val);
101 static int jp2_putuint16(jas_stream_t *out, uint_fast16_t val);
102 static int jp2_putuint32(jas_stream_t *out, uint_fast32_t val);
103 static int jp2_putuint64(jas_stream_t *out, uint_fast64_t val);
105 static int jp2_getint(jas_stream_t *in, int s, int n, int_fast32_t *val);
107 jp2_box_t *jp2_box_get(jas_stream_t *in);
[all …]
Djas_stream.c99 static void jas_stream_destroy(jas_stream_t *stream);
100 static jas_stream_t *jas_stream_create(void);
101 static void jas_stream_initbuf(jas_stream_t *stream, int bufmode, char *buf,
148 static jas_stream_t *jas_stream_create() in jas_stream_create()
150 jas_stream_t *stream; in jas_stream_create()
152 if (!(stream = jas_malloc(sizeof(jas_stream_t)))) { in jas_stream_create()
171 jas_stream_t *jas_stream_memopen(char *buf, int bufsize) in jas_stream_memopen()
173 jas_stream_t *stream; in jas_stream_memopen()
236 jas_stream_t *jas_stream_fopen(const char *filename, const char *mode) in jas_stream_fopen()
238 jas_stream_t *stream; in jas_stream_fopen()
[all …]
Djpc_cs.c101 static int jpc_poc_putparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *out);
102 static int jpc_poc_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in);
105 static int jpc_unk_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in);
106 static int jpc_sot_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in);
107 static int jpc_siz_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in);
108 static int jpc_cod_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in);
109 static int jpc_coc_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in);
110 static int jpc_qcd_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in);
111 static int jpc_qcc_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in);
112 static int jpc_rgn_getparms(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in);
[all …]
Djpc_cs.h695 int (*getparms)(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *in);
698 int (*putparms)(jpc_ms_t *ms, jpc_cstate_t *cstate, jas_stream_t *out);
731 jpc_ms_t *jpc_getms(jas_stream_t *in, jpc_cstate_t *cstate);
734 int jpc_putms(jas_stream_t *out, jpc_cstate_t *cstate, jpc_ms_t *ms);
737 int jpc_getdata(jas_stream_t *in, jas_stream_t *out, long n);
740 int jpc_putdata(jas_stream_t *out, jas_stream_t *in, long n);
746 int jpc_getuint8(jas_stream_t *in, uint_fast8_t *val);
749 int jpc_getuint16(jas_stream_t *in, uint_fast16_t *val);
752 int jpc_getuint32(jas_stream_t *in, uint_fast32_t *val);
755 int jpc_putuint8(jas_stream_t *out, uint_fast8_t val);
[all …]
Djas_icc.c83 static int jas_iccgetuint(jas_stream_t *in, int n, ulonglong *val);
84 static int jas_iccgetuint8(jas_stream_t *in, jas_iccuint8_t *val);
85 static int jas_iccgetuint16(jas_stream_t *in, jas_iccuint16_t *val);
86 static int jas_iccgetsint32(jas_stream_t *in, jas_iccsint32_t *val);
87 static int jas_iccgetuint32(jas_stream_t *in, jas_iccuint32_t *val);
88 static int jas_iccgetuint64(jas_stream_t *in, jas_iccuint64_t *val);
89 static int jas_iccputuint(jas_stream_t *out, int n, ulonglong val);
90 static int jas_iccputsint(jas_stream_t *out, int n, longlong val);
92 static int jas_iccprof_readhdr(jas_stream_t *in, jas_icchdr_t *hdr);
93 static int jas_iccprof_writehdr(jas_stream_t *out, jas_icchdr_t *hdr);
[all …]
Djp2_cod.h279 int (*getdata)(jp2_box_t *box, jas_stream_t *in);
280 int (*putdata)(jp2_box_t *box, jas_stream_t *out);
301 jp2_box_t *jp2_box_get(jas_stream_t *in);
302 int jp2_box_put(jp2_box_t *box, jas_stream_t *out);
Djpc_t2dec.c97 long jpc_dec_lookahead(jas_stream_t *in);
100 static int jpc_dec_decodepkt(jpc_dec_t *dec, jas_stream_t *pkthdrstream, jas_stream_t *in, int comp…
156 static int jpc_dec_decodepkt(jpc_dec_t *dec, jas_stream_t *pkthdrstream, jas_stream_t *in, int comp… in jpc_dec_decodepkt()
417 int jpc_dec_decodepkts(jpc_dec_t *dec, jas_stream_t *pkthdrstream, jas_stream_t *in) in jpc_dec_decodepkts()
567 long jpc_dec_lookahead(jas_stream_t *in) in jpc_dec_lookahead()
Djp2_enc.c94 int jp2_write_header(jas_image_t *image, jas_stream_t *out) in jp2_write_header()
99 jas_stream_t *tmpstream; in jp2_write_header()
110 jas_stream_t *iccstream; in jp2_write_header()
346 int jp2_write_codestream(jas_image_t *image, jas_stream_t *out, char *optstr) in jp2_write_codestream()
387 int jp2_encode(jas_image_t *image, jas_stream_t *out, char *optstr) in jp2_encode()
397 int jp2_encode_uuid(jas_image_t *image, jas_stream_t *out, in jp2_encode_uuid()
Djpc_dec.h134 jas_stream_t **streams;
247 jas_stream_t *stream;
512 jas_stream_t *pkthdrstream;
625 jas_stream_t *in;
Djpc_t2dec.h89 int jpc_dec_decodepkts(jpc_dec_t *dec, jas_stream_t *pkthdrstream,
90 jas_stream_t *in);
Djpc_t2enc.h88 int jpc_enc_encpkts(jpc_enc_t *enc, jas_stream_t *out);
91 int jpc_enc_encpkt(jpc_enc_t *enc, jas_stream_t *out, int compno, int lvlno,
Djpc_mqdec.h109 jas_stream_t *in;
124 jpc_mqdec_t *jpc_mqdec_create(int maxctxs, jas_stream_t *in);
134 void jpc_mqdec_setinput(jpc_mqdec_t *dec, jas_stream_t *in);
Djpc_enc.h316 jas_stream_t *stream;
619 jas_stream_t *out;
642 jas_stream_t *tmpstream;
Djpc_mqenc.h120 jas_stream_t *out;
156 jpc_mqenc_t *jpc_mqenc_create(int maxctxs, jas_stream_t *out);
Djpc_bs.h124 jas_stream_t *stream_;
136 jpc_bitstream_t *jpc_bitstream_sopen(jas_stream_t *stream, char *mode);
Djpc_mqdec.c107 jpc_mqdec_t *jpc_mqdec_create(int maxctxs, jas_stream_t *in) in jpc_mqdec_create()
182 void jpc_mqdec_setinput(jpc_mqdec_t *mqdec, jas_stream_t *in) in jpc_mqdec_setinput()
Djpc_t1enc.h90 int jpc_enc_enccblk(jpc_enc_t *enc, jas_stream_t *out, jpc_enc_tcmpt_t *comp,
Djpc_dec.c145 int jpc_pptstabwrite(jas_stream_t *out, jpc_ppxstab_t *tab);
152 jas_stream_t *stream);
153 jas_stream_t *jpc_streamlist_remove(jpc_streamlist_t *streamlist, int streamno);
155 jas_stream_t *jpc_streamlist_get(jpc_streamlist_t *streamlist, int streamno);
176 static jpc_dec_t *jpc_dec_create(jpc_dec_importopts_t *impopts, jas_stream_t *in);
235 jas_image_t *jpc_decode(jas_stream_t *in, char *optstr) in jpc_decode()
1843 static jpc_dec_t *jpc_dec_create(jpc_dec_importopts_t *impopts, jas_stream_t *in) in jpc_dec_create()
2052 sizeof(jas_stream_t *)))) { in jpc_streamlist_create()
2063 jas_stream_t *stream) in jpc_streamlist_insert()
2065 jas_stream_t **newstreams; in jpc_streamlist_insert()
[all …]
Djp2_dec.c96 jas_image_t *jp2_decode(jas_stream_t *in, char *optstr) in jp2_decode()
435 int jp2_validate(jas_stream_t *in) in jp2_validate()
441 jas_stream_t *tmpstream; in jp2_validate()
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_jpeg2000.cpp99 jas_stream_close( (jas_stream_t*)m_stream ); in close()
116 jas_stream_t* stream = jas_stream_fopen( m_filename.c_str(), "rb" ); in readHeader()
160 jas_stream_t* stream = (jas_stream_t*)m_stream; in readData()
479 jas_stream_t *stream = jas_stream_fopen( m_filename.c_str(), "wb" ); in write()
/external/opencv/otherlibs/highgui/
Dgrfmt_jpeg2000.h78 jas_stream_t *m_stream;

12