示例#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
}
示例#2
0
文件: filter.go 项目: gale320/goav
//Iterate over all registered filters.
func (f *Filter) AvfilterNext() *Filter {
	return (*Filter)(C.avfilter_next((*C.struct_AVFilter)(f)))
}
示例#3
0
文件: avfilter.go 项目: hyhy01/goav
//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)))
}