Lines Matching refs:streamno
151 int jpc_streamlist_insert(jpc_streamlist_t *streamlist, int streamno,
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);
2062 int jpc_streamlist_insert(jpc_streamlist_t *streamlist, int streamno, in jpc_streamlist_insert() argument
2081 if (streamno != streamlist->numstreams) { in jpc_streamlist_insert()
2085 streamlist->streams[streamno] = stream; in jpc_streamlist_insert()
2090 jas_stream_t *jpc_streamlist_remove(jpc_streamlist_t *streamlist, int streamno) in jpc_streamlist_remove() argument
2094 if (streamno >= streamlist->numstreams) { in jpc_streamlist_remove()
2097 stream = streamlist->streams[streamno]; in jpc_streamlist_remove()
2098 for (i = streamno + 1; i < streamlist->numstreams; ++i) { in jpc_streamlist_remove()
2107 int streamno; in jpc_streamlist_destroy() local
2109 for (streamno = 0; streamno < streamlist->numstreams; in jpc_streamlist_destroy()
2110 ++streamno) { in jpc_streamlist_destroy()
2111 jas_stream_close(streamlist->streams[streamno]); in jpc_streamlist_destroy()
2118 jas_stream_t *jpc_streamlist_get(jpc_streamlist_t *streamlist, int streamno) in jpc_streamlist_get() argument
2120 assert(streamno < streamlist->numstreams); in jpc_streamlist_get()
2121 return streamlist->streams[streamno]; in jpc_streamlist_get()