Example #1
0
func Filters() []*Filter {
	var filters []*Filter
	var cPrev *C.AVFilter
	for {
		if cPrev = C.avfilter_next(cPrev); cPrev == nil {
			break
		}
		filters = append(filters, NewFilterFromC(unsafe.Pointer(cPrev)))
	}
	return filters
}
Example #2
0
//Iterate over all registered filters.
func (f *Filter) AvfilterNext() *Filter {
	return (*Filter)(C.avfilter_next((*C.struct_AVFilter)(f)))
}
Example #3
0
//const AVFilter * 	avfilter_next (const AVFilter *prev)
//Iterate over all registered filters.
func Avfilter_next(f *AVFilter) *AVFilter {
	return (*AVFilter)(C.avfilter_next((*C.struct_AVFilter)(f)))
}