示例#1
0
文件: swresample.go 项目: hyhy01/goav
//int swr_config_frame (SwrContext *swr, const AVFrame *out, const AVFrame *in)
//Configure or reconfigure the SwrContext using the information provided by the AVFrames.
func Swr_config_frame(s *SwrContext, o, i *AVFrame) int {
	return int(C.swr_config_frame((*C.struct_SwrContext)(s), (*C.struct_AVFrame)(o), (*C.struct_AVFrame)(i)))
}
示例#2
0
文件: context.go 项目: gale320/goav
//Configure or reconfigure the Context using the information provided by the AvFrames.
func (s *Context) SwrConfigFrame(o, i *Frame) int {
	return int(C.swr_config_frame((*C.struct_SwrContext)(s), (*C.struct_AVFrame)(o), (*C.struct_AVFrame)(i)))
}