Lines Matching defs:graph
34 IGraphBuilder *graph;
112 if (ctx->graph) {
115 r = IGraphBuilder_EnumFilters(ctx->graph, &fenum);
120 if (IGraphBuilder_RemoveFilter(ctx->graph, f) == S_OK)
127 IGraphBuilder_Release(ctx->graph);
654 IGraphBuilder *graph = ctx->graph;
670 r = IGraphBuilder_AddFilter(graph, device_filter, NULL);
672 av_log(avctx, AV_LOG_ERROR, "Could not add device filter to graph.\n");
689 r = IGraphBuilder_AddFilter(graph, (IBaseFilter *) capture_filter,
692 av_log(avctx, AV_LOG_ERROR, "Could not add capture filter to graph\n");
700 r = IGraphBuilder_ConnectDirect(graph, device_pin, (IPin *) capture_pin, NULL);
867 IGraphBuilder *graph = NULL;
902 &IID_IGraphBuilder, (void **) &graph);
904 av_log(avctx, AV_LOG_ERROR, "Could not create capture graph.\n");
907 ctx->graph = graph;
960 r = IGraphBuilder_QueryInterface(graph, &IID_IMediaControl, (void **) &control);
967 r = IGraphBuilder_QueryInterface(graph, &IID_IMediaEvent, (void **) &media_event);