Example #1
0
func NewGraph() (*Graph, error) {
	cGraph := C.avfilter_graph_alloc()
	if cGraph == nil {
		return nil, ErrAllocationError
	}
	return NewGraphFromC(unsafe.Pointer(cGraph)), nil
}
Example #2
0
//Allocate a filter graph.
//AVFilterGraph * 	avfilter_graph_alloc (void)
func Avfilter_graph_alloc() *AVFilterGraph {
	return (*AVFilterGraph)(C.avfilter_graph_alloc())
}
Example #3
0
//Allocate a filter graph.
func AvfilterGraphAlloc() *Graph {
	return (*Graph)(C.avfilter_graph_alloc())
}