getWriterBackends static method
Returns list of available backends which works via cv::VideoWriter()
Implementation
static List<VideoCaptureAPIs> getWriterBackends() {
final p = calloc<ffi.Pointer<ffi.Int>>();
final pszie = calloc<ffi.Int>();
cvRun(() => cvg.cv_video_registry_getWriterBackends(p, pszie));
final backends = List.generate(pszie.value, (i) => VideoCaptureAPIs.fromValue(p.value[i]));
calloc.free(p);
calloc.free(pszie);
return backends;
}