Lines Matching defs:device_filter
44 IBaseFilter *device_filter[2];
143 if (ctx->device_filter[VideoDevice])
144 IBaseFilter_Release(ctx->device_filter[VideoDevice]);
145 if (ctx->device_filter[AudioDevice])
146 IBaseFilter_Release(ctx->device_filter[AudioDevice]);
250 IBaseFilter *device_filter = NULL;
270 while (!device_filter && IEnumMoniker_Next(classenum, 1, &m, NULL) == S_OK) {
291 IMoniker_BindToObject(m, 0, 0, &IID_IBaseFilter, (void *) &device_filter);
307 if (!device_filter) {
312 *pfilter = device_filter;
512 * Cycle through available pins using the device_filter device, of type
519 IBaseFilter *device_filter, IPin **ppin)
537 r = IBaseFilter_EnumPins(device_filter, &pins);
636 IBaseFilter *device_filter = NULL;
639 if ((r = dshow_cycle_devices(avctx, devenum, devtype, &device_filter)) < 0)
641 ctx->device_filter[devtype] = device_filter;
642 if ((r = dshow_cycle_pins(avctx, devtype, device_filter, NULL)) < 0)
653 IBaseFilter *device_filter = NULL;
663 if ((r = dshow_cycle_devices(avctx, devenum, devtype, &device_filter)) < 0) {
668 ctx->device_filter [devtype] = device_filter;
670 r = IGraphBuilder_AddFilter(graph, device_filter, NULL);
676 if ((r = dshow_cycle_pins(avctx, devtype, device_filter, &device_pin)) < 0) {