Lines Matching refs:devenum
240 * Cycle through available devices using the device enumerator devenum,
246 dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum,
262 r = ICreateDevEnum_CreateClassEnumerator(devenum, device_guid[devtype],
629 * @param devenum device enumerator used for accessing the device
632 dshow_list_device_options(AVFormatContext *avctx, ICreateDevEnum *devenum,
639 if ((r = dshow_cycle_devices(avctx, devenum, devtype, &device_filter)) < 0)
649 dshow_open_device(AVFormatContext *avctx, ICreateDevEnum *devenum,
663 if ((r = dshow_cycle_devices(avctx, devenum, devtype, &device_filter)) < 0) {
868 ICreateDevEnum *devenum = NULL;
910 &IID_ICreateDevEnum, (void **) &devenum);
918 dshow_cycle_devices(avctx, devenum, VideoDevice, NULL);
920 dshow_cycle_devices(avctx, devenum, AudioDevice, NULL);
926 dshow_list_device_options(avctx, devenum, VideoDevice);
928 dshow_list_device_options(avctx, devenum, AudioDevice);
934 if ((r = dshow_open_device(avctx, devenum, VideoDevice)) < 0 ||
941 if ((r = dshow_open_device(avctx, devenum, AudioDevice)) < 0 ||
1001 if (devenum)
1002 ICreateDevEnum_Release(devenum);