/dports/misc/libpri/libpri-1.6.0/ |
H A D | pritest.c | 144 if (chans[channo].pid) { in hangup_channel() 147 printf("Killing channel %d (pid = %d)\n", channo, chans[channo].pid); in hangup_channel() 236 channo--; in get_free_channel() 237 if((channo>MAX_CHAN)||(channo<0)) { in get_free_channel() 243 channo--; in get_free_channel() 246 return channo; in get_free_channel() 261 if(channo == -1) { in start_channel() 270 if(!channo) { in start_channel() 279 if ((channo >= MAX_CHAN) || (channo < 0)) { in start_channel() 298 pri_answer(pri, chans[channo].call, channo, 1); in start_channel() [all …]
|
/dports/graphics/jasper/jasper-version-2.0.33/src/libjasper/jp2/ |
H A D | jp2_dec.c | 114 unsigned int channo; in jp2_decode() local 386 for (channo = 0; channo < cmapd->numchans; ++channo) { in jp2_decode() 387 cmapent = &cmapd->ents[channo]; in jp2_decode() 389 dec->chantocmptlut[channo] = channo; in jp2_decode() 409 dec->chantocmptlut[channo] = newcmptno; in jp2_decode() 414 cdefent = jp2_cdef_lookup(cdefd, channo); in jp2_decode() 420 …jas_image_setcmpttype(dec->image, newcmptno, jp2_getct(jas_image_clrspc(dec->image), 0, channo + 1… in jp2_decode() 450 uint_fast16_t channo = dec->cdef->data.cdef.ents[i].channo; in jp2_decode() local 452 if (channo >= dec->numchans) { in jp2_decode() 454 channo); in jp2_decode() [all …]
|
H A D | jp2_cod.c | 490 cdef->ents[i].channo, cdef->ents[i].type, cdef->ents[i].assoc); in jp2_cdef_dumpdata() 506 unsigned int channo; in jp2_cdef_getdata() local 514 for (channo = 0; channo < cdef->numchans; ++channo) { in jp2_cdef_getdata() 515 chan = &cdef->ents[channo]; in jp2_cdef_getdata() 516 if (jp2_getuint16(in, &chan->channo) || jp2_getuint16(in, &chan->type) || in jp2_cdef_getdata() 662 if (jp2_putuint16(out, ent->channo) || in jp2_cdef_putdata() 961 const jp2_cdefchan_t *jp2_cdef_lookup(jp2_cdef_t *cdef, int channo) in jp2_cdef_lookup() argument 967 if (cdefent->channo == JAS_CAST(unsigned int, channo)) { in jp2_cdef_lookup()
|
H A D | jp2_cod.h | 213 uint_fast16_t channo; member 312 const jp2_cdefchan_t *jp2_cdef_lookup(jp2_cdef_t *cdef, int channo);
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/atm/ |
H A D | firestream.c | 768 unsigned int channo; in process_incoming() local 787 channo = qe->cmd & 0xffff; in process_incoming() 789 if (channo < dev->nchannels) in process_incoming() 790 atm_vcc = dev->atm_vccs[channo]; in process_incoming() 903 if (dev->channo >= 32) in fs_open() 904 dev->channo = 0; in fs_open() 919 vcc->channo = dev->channo; in fs_open() 932 vcc->channo, vcc->channo); in fs_open() 1082 0x80 + vcc->channo, in fs_open() 1148 0x80 + vcc->channo, -1, 0 ); in fs_close() [all …]
|
H A D | firestream.h | 435 int channo; member 465 int channo; member
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/atm/ |
H A D | firestream.c | 768 unsigned int channo; in process_incoming() local 787 channo = qe->cmd & 0xffff; in process_incoming() 789 if (channo < dev->nchannels) in process_incoming() 790 atm_vcc = dev->atm_vccs[channo]; in process_incoming() 903 if (dev->channo >= 32) in fs_open() 904 dev->channo = 0; in fs_open() 919 vcc->channo = dev->channo; in fs_open() 932 vcc->channo, vcc->channo); in fs_open() 1082 0x80 + vcc->channo, in fs_open() 1148 0x80 + vcc->channo, -1, 0 ); in fs_close() [all …]
|
H A D | firestream.h | 435 int channo; member 465 int channo; member
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/atm/ |
H A D | firestream.c | 768 unsigned int channo; in process_incoming() local 787 channo = qe->cmd & 0xffff; in process_incoming() 789 if (channo < dev->nchannels) in process_incoming() 790 atm_vcc = dev->atm_vccs[channo]; in process_incoming() 903 if (dev->channo >= 32) in fs_open() 904 dev->channo = 0; in fs_open() 919 vcc->channo = dev->channo; in fs_open() 932 vcc->channo, vcc->channo); in fs_open() 1082 0x80 + vcc->channo, in fs_open() 1148 0x80 + vcc->channo, -1, 0 ); in fs_close() [all …]
|
H A D | firestream.h | 435 int channo; member 465 int channo; member
|
/dports/astro/opencpn/OpenCPN-5.2.4/plugins/grib_pi/libs/jasper/src/jp2/ |
H A D | jp2_dec.c | 108 unsigned int channo; in jp2_decode() local 355 for (channo = 0; channo < cmapd->numchans; ++channo) { in jp2_decode() 356 cmapent = &cmapd->ents[channo]; in jp2_decode() 358 dec->chantocmptlut[channo] = channo; in jp2_decode() 366 dec->chantocmptlut[channo] = newcmptno; in jp2_decode() 370 cdefent = jp2_cdef_lookup(cdefd, channo); in jp2_decode() 376 …jas_image_setcmpttype(dec->image, newcmptno, jp2_getct(jas_image_clrspc(dec->image), 0, channo + 1… in jp2_decode() 393 if (dec->cdef->data.cdef.ents[i].channo >= dec->numchans) { in jp2_decode() 398 dec->chantocmptlut[dec->cdef->data.cdef.ents[i].channo], in jp2_decode()
|
H A D | jp2_cod.c | 448 cdef->ents[i].channo, cdef->ents[i].type, cdef->ents[i].assoc); in jp2_cdef_dumpdata() 464 unsigned int channo; in jp2_cdef_getdata() local 471 for (channo = 0; channo < cdef->numchans; ++channo) { in jp2_cdef_getdata() 472 chan = &cdef->ents[channo]; in jp2_cdef_getdata() 473 if (jp2_getuint16(in, &chan->channo) || jp2_getuint16(in, &chan->type) || in jp2_cdef_getdata() 618 if (jp2_putuint16(out, ent->channo) || in jp2_cdef_putdata() 972 jp2_cdefchan_t *jp2_cdef_lookup(jp2_cdef_t *cdef, int channo) in jp2_cdef_lookup() argument 978 if (cdefent->channo == JAS_CAST(unsigned int, channo)) { in jp2_cdef_lookup()
|
H A D | jp2_cod.h | 214 uint_fast16_t channo; member 313 jp2_cdefchan_t *jp2_cdef_lookup(jp2_cdef_t *cdef, int channo);
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/libjasper/ |
H A D | jp2_dec.c | 108 unsigned int channo; in jp2_decode() local 352 for (channo = 0; channo < cmapd->numchans; ++channo) { in jp2_decode() 353 cmapent = &cmapd->ents[channo]; in jp2_decode() 355 dec->chantocmptlut[channo] = channo; in jp2_decode() 363 dec->chantocmptlut[channo] = newcmptno; in jp2_decode() 367 cdefent = jp2_cdef_lookup(cdefd, channo); in jp2_decode() 373 …s_image_setcmpttype(dec->image, newcmptno, jp2_getct(jas_image_clrspc(dec->image), 0, channo + 1)); in jp2_decode() 390 dec->chantocmptlut[dec->cdef->data.cdef.ents[i].channo], in jp2_decode()
|
H A D | jp2_cod.c | 444 (int)cdef->ents[i].channo, (int)cdef->ents[i].type, (int)cdef->ents[i].assoc); in jp2_cdef_dumpdata() 460 unsigned int channo; in jp2_cdef_getdata() local 467 for (channo = 0; channo < cdef->numchans; ++channo) { in jp2_cdef_getdata() 468 chan = &cdef->ents[channo]; in jp2_cdef_getdata() 469 if (jp2_getuint16(in, &chan->channo) || jp2_getuint16(in, &chan->type) || in jp2_cdef_getdata() 614 if (jp2_putuint16(out, ent->channo) || in jp2_cdef_putdata() 968 jp2_cdefchan_t *jp2_cdef_lookup(jp2_cdef_t *cdef, int channo) in jp2_cdef_lookup() argument 974 if (cdefent->channo == JAS_CAST(unsigned int, channo)) { in jp2_cdef_lookup()
|
H A D | jp2_cod.h | 214 uint_fast16_t channo; member 313 jp2_cdefchan_t *jp2_cdef_lookup(jp2_cdef_t *cdef, int channo);
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/jpeg2000/libjasper/jp2/ |
H A D | jp2_dec.c | 286 int channo; in jp2_decode() local 531 for (channo = 0; channo < cmapd->numchans; ++channo) { in jp2_decode() 532 cmapent = &cmapd->ents[channo]; in jp2_decode() 534 dec->chantocmptlut[channo] = channo; in jp2_decode() 545 dec->chantocmptlut[channo] = newcmptno; in jp2_decode() 550 cdefent = jp2_cdef_lookup(cdefd, channo); in jp2_decode() 563 channo + 1)); in jp2_decode() 585 dec->chantocmptlut[dec->cdef->data.cdef.ents[i].channo], in jp2_decode()
|
H A D | jp2_cod.c | 476 (int)cdef->ents[i].channo, (int)cdef->ents[i].type, in jp2_cdef_dumpdata() 493 int channo; in jp2_cdef_getdata() local 500 for (channo = 0; channo < cdef->numchans; ++channo) { in jp2_cdef_getdata() 501 chan = &cdef->ents[channo]; in jp2_cdef_getdata() 502 if (jp2_getuint16(in, &chan->channo) || jp2_getuint16(in, &chan->type) || in jp2_cdef_getdata() 646 if (jp2_putuint16(out, ent->channo) || in jp2_cdef_putdata() 920 jp2_cdefchan_t *jp2_cdef_lookup(jp2_cdef_t *cdef, int channo) in jp2_cdef_lookup() argument 926 if (cdefent->channo == channo) { in jp2_cdef_lookup()
|
H A D | jp2_cod.h | 258 uint_fast16_t channo; member 345 jp2_cdefchan_t *jp2_cdef_lookup(jp2_cdef_t *cdef, int channo);
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/freetdm/src/ |
H A D | priserver.c | 59 static void launch_channel(struct sangoma_pri *spri, int channo) in launch_channel() argument 79 pidmap[channo-1].pid = pid; in launch_channel() 80 printf("-- Launching process %d to handle channel %d\n", pid, channo); in launch_channel() 91 if (ftdm_channel_open(spri->span, channo, &chan) != FTDM_SUCCESS) { in launch_channel() 183 pri_hangup(spri->pri, channo, 16); in launch_channel()
|
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/oplsynth/ |
H A D | musicblock.cpp | 128 void musicBlock::voiceKeyOn(uint32_t slot, uint32_t channo, GenMidiInstrument *instrument, uint32_t… in voiceKeyOn() argument 131 auto &channel = oplchannels[channo]; in voiceKeyOn() 134 voice->index = channo; in voiceKeyOn() 153 else if (channo == CHAN_PERCUSSION) note = 60; in voiceKeyOn() 161 if (!(instrument->flags & GENMIDI_FLAG_FIXED) && channo != CHAN_PERCUSSION) in voiceKeyOn()
|
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/oplsynth/oplsynth/ |
H A D | musicblock.h | 52 …void voiceKeyOn(uint32_t slot, uint32_t channo, GenMidiInstrument *instrument, uint32_t instrument…
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/freetdm/src/ftmod/ftmod_zt/ |
H A D | ftmod_zt.c | 487 int channo; in FIO_CONFIGURE_SPAN_FUNCTION() local 508 channo = atoi(ch); in FIO_CONFIGURE_SPAN_FUNCTION() 510 if (channo < 0) { in FIO_CONFIGURE_SPAN_FUNCTION() 511 ftdm_log(FTDM_LOG_ERROR, "Invalid channel number %d\n", channo); in FIO_CONFIGURE_SPAN_FUNCTION() 519 top = channo + 1; in FIO_CONFIGURE_SPAN_FUNCTION() 531 configured += zt_open_range(span, channo, top, type, name, number, cas_bits); in FIO_CONFIGURE_SPAN_FUNCTION()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/freetdm/src/ftmod/ftmod_wanpipe/ |
H A D | ftmod_wanpipe.c | 517 int channo; in FIO_CONFIGURE_SPAN_FUNCTION() local 542 channo = atoi(ch); in FIO_CONFIGURE_SPAN_FUNCTION() 545 if (channo < 0) { in FIO_CONFIGURE_SPAN_FUNCTION() 546 ftdm_log(FTDM_LOG_ERROR, "Invalid channel number %d\n", channo); in FIO_CONFIGURE_SPAN_FUNCTION() 551 ftdm_log(FTDM_LOG_ERROR, "Invalid span number %d\n", channo); in FIO_CONFIGURE_SPAN_FUNCTION() 559 top = channo + 1; in FIO_CONFIGURE_SPAN_FUNCTION() 571 configured += wp_open_range(span, spanno, channo, top, type, name, number, cas_bits); in FIO_CONFIGURE_SPAN_FUNCTION()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/freetdm/src/ftmod/ftmod_pika/ |
H A D | ftmod_pika.c | 599 int channo; in FIO_CONFIGURE_SPAN_FUNCTION() local 635 channo = atoi(ch); in FIO_CONFIGURE_SPAN_FUNCTION() 644 if (channo < 0) { in FIO_CONFIGURE_SPAN_FUNCTION() 645 ftdm_log(FTDM_LOG_ERROR, "Invalid channel number %d\n", channo); in FIO_CONFIGURE_SPAN_FUNCTION() 650 ftdm_log(FTDM_LOG_ERROR, "Invalid span number %d\n", channo); in FIO_CONFIGURE_SPAN_FUNCTION() 658 top = channo + 1; in FIO_CONFIGURE_SPAN_FUNCTION() 667 configured += pika_open_range(span, boardno, spanno, channo, top, type, name, number, profile); in FIO_CONFIGURE_SPAN_FUNCTION()
|