Home
last modified time | relevance | path

Searched refs:hdl (Results 1 - 17 of 17) sorted by relevance

/third_party/ffmpeg/libavdevice/
H A Dsndio.c40 struct sio_hdl *hdl; in ff_sndio_open() local
43 hdl = sio_open(audio_device, is_output ? SIO_PLAY : SIO_REC, 0); in ff_sndio_open()
44 if (!hdl) { in ff_sndio_open()
61 if (!sio_setpar(hdl, &par) || !sio_getpar(hdl, &par)) { in ff_sndio_open()
92 sio_onmove(hdl, movecb, s); in ff_sndio_open()
94 if (!sio_start(hdl)) { in ff_sndio_open()
99 s->hdl = hdl; in ff_sndio_open()
106 if (hdl) in ff_sndio_open()
[all...]
H A Dsndio_enc.c60 ret = sio_write(s->hdl, s->buffer, s->buffer_size); in audio_write_packet()
61 if (ret == 0 || sio_eof(s->hdl)) in audio_write_packet()
75 sio_write(s->hdl, s->buffer, s->buffer_offset); in audio_write_trailer()
H A Dsndio_dec.c68 ret = sio_read(s->hdl, pkt->data, pkt->size); in audio_read_packet()
69 if (ret == 0 || sio_eof(s->hdl)) { in audio_read_packet()
H A Dsndio.h33 struct sio_hdl *hdl; member
/third_party/node/test/async-hooks/
H A Dtest-zlib.zlib-binding.deflate.js20 const hdl = as[0];
21 assert.strictEqual(hdl.type, 'ZLIB');
22 assert.strictEqual(typeof hdl.uid, 'number');
23 assert.strictEqual(typeof hdl.triggerAsyncId, 'number');
24 checkInvocations(hdl, { init: 1 }, 'when created handle');
44 checkInvocations(hdl, { init: 1 }, 'when initialized handle');
49 checkInvocations(hdl, { init: 1 }, 'when invoked write() on handle');
54 checkInvocations(hdl, { init: 1, before: 1 },
59 checkInvocations(hdl, { init: 1, before: 2, after: 1 },
71 checkInvocations(hdl, { ini
[all...]
/third_party/NuttX/drivers/usbdev/gadget/
H A Dusbd_video.c96 static int uvc_check_handle(uvc_t hdl) in uvc_check_handle() argument
103 if (hdl == NULL) in uvc_check_handle()
119 hdl != (uvc_t)uvc) in uvc_check_handle()
183 static int uvc_wait_host_sub(uvc_t hdl, int *connected) in uvc_wait_host_sub() argument
189 ret = uvc_check_handle(hdl); in uvc_wait_host_sub()
194 uvc = (struct uvc_handle *)hdl; in uvc_wait_host_sub()
215 int uvc_wait_host(uvc_t hdl, int wait_option, int *connected) in uvc_wait_host() argument
227 ret = uvc_wait_host_sub(hdl, connected); in uvc_wait_host()
233 ret = uvc_wait_host_sub(hdl, connected); in uvc_wait_host()
249 int uvc_open_device(uvc_t *hdl, struc argument
370 uvc_video_stop(uvc_t hdl) uvc_video_stop() argument
385 uvc_close_device(uvc_t hdl) uvc_close_device() argument
426 uvc_get_state(uvc_t hdl, uint32_t *state) uvc_get_state() argument
456 uvc_video_tran_nocp(uvc_t hdl, uvc_continue_func next_func, void *priv) uvc_video_tran_nocp() argument
528 uvc_video_tran_copy(uvc_t hdl, uvc_continue_func copy_func, void *priv) uvc_video_tran_copy() argument
[all...]
H A Dusbd_video.h109 extern int uvc_open_device(uvc_t *hdl, struct uvc_open_param *param);
/third_party/backends/tools/
H A Dsane-find-scanner.c60 libusb_device_handle *hdl,
765 get_libusb_string_descriptor (libusb_device_handle *hdl, int index) in get_libusb_string_descriptor() argument
775 ret = libusb_get_descriptor (hdl, LIBUSB_DT_STRING, index, in get_libusb_string_descriptor()
794 ret = libusb_get_descriptor (hdl, LIBUSB_DT_STRING, index, in get_libusb_string_descriptor()
822 libusb_device_handle *hdl; in check_libusb_device() local
849 ret = libusb_open (dev, &hdl); in check_libusb_device()
857 ret = libusb_get_configuration (hdl, &config); in check_libusb_device()
862 libusb_close (hdl); in check_libusb_device()
871 libusb_close (hdl); in check_libusb_device()
875 vendor = get_libusb_string_descriptor (hdl, des in check_libusb_device()
[all...]
H A Dcheck-usb-chip.c3458 libusb_device_handle * hdl,
3505 * @param hdl libusb opened handle
3633 * @param hdl libusb opened handle
3736 * @param hdl libusb opened handle
3887 * @param hdl libusb opened handle
4123 * @param hdl libusb opened handle
4274 libusb_device_handle * hdl, in check_usb_chip()
4288 ret = libusb_set_configuration (hdl, config0->bConfigurationValue); in check_usb_chip()
4299 ret = libusb_claim_interface (hdl, 0); in check_usb_chip()
4310 chip_name = check_merlin (hdl, des in check_usb_chip()
4272 check_usb_chip(int verbosity, struct libusb_device_descriptor desc, libusb_device_handle * hdl, struct libusb_config_descriptor *config0) check_usb_chip() argument
[all...]
/third_party/libsnd/programs/
H A Dsndfile-play.c676 { struct sio_hdl *hdl ; in sndio_play() local
695 if ((hdl = sio_open (NULL, SIO_PLAY, 0)) == NULL) in sndio_play()
707 if (! sio_setpar (hdl, &par) || ! sio_getpar (hdl, &par)) in sndio_play()
712 if (! sio_start (hdl)) in sndio_play()
718 sio_write (hdl, buffer, readcount * sizeof (short)) ; in sndio_play()
720 sio_close (hdl) ; in sndio_play()
/third_party/libabigail/src/
H A Dabg-elf-reader.cc412 Elf *hdl; in locate_alt_ctf_debug_info() local
413 if ((hdl = elf_begin(fd, ELF_C_READ, nullptr)) == nullptr) in locate_alt_ctf_debug_info()
421 elf_helpers::find_section(hdl, ".ctf", SHT_PROGBITS); in locate_alt_ctf_debug_info()
424 elf_end(hdl); in locate_alt_ctf_debug_info()
/third_party/ffmpeg/libavfilter/
H A Dvf_deinterlace_qsv.c138 static mfxStatus frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) in frame_get_hdl() argument
140 mfxHDLPair *pair_dst = (mfxHDLPair*)hdl; in frame_get_hdl()
H A Dvf_scale_qsv.c249 static mfxStatus frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) in frame_get_hdl() argument
251 mfxHDLPair *pair_dst = (mfxHDLPair*)hdl; in frame_get_hdl()
H A Dqsvvpp.c203 static mfxStatus frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) in frame_get_hdl() argument
205 mfxHDLPair *pair_dst = (mfxHDLPair*)hdl; in frame_get_hdl()
/third_party/ffmpeg/libavcodec/
H A Dqsv.c711 static mfxStatus qsv_frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) in qsv_frame_get_hdl() argument
714 mfxHDLPair *pair_dst = (mfxHDLPair*)hdl; in qsv_frame_get_hdl()
/third_party/backends/sanei/
H A Dsanei_usb.c1917 libusb_device_handle *hdl; in libusb_scan_devices() local
1967 ret = libusb_open (dev, &hdl); in libusb_scan_devices()
1977 ret = libusb_get_configuration (hdl, &config); in libusb_scan_devices()
1979 libusb_close (hdl); in libusb_scan_devices()
2095 usb_manager_device_handle *hdl; in libusb_scan_devices() local
2145 ret = usb_manager_open (dev, &hdl); in libusb_scan_devices()
2155 ret = usb_manager_get_configuration (hdl, &config); in libusb_scan_devices()
2157 usb_manager_close (hdl); in libusb_scan_devices()
/third_party/ffmpeg/libavutil/
H A Dhwcontext_qsv.c598 static mfxStatus frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) in frame_get_hdl() argument
600 mfxHDLPair *pair_dst = (mfxHDLPair*)hdl; in frame_get_hdl()

Completed in 28 milliseconds