fourcc static method
Implementation
static int fourcc(String cc) {
final cc_ = ascii.encode(cc);
if (cc_.length != 4) return -1;
return cvRunArena<int>((arena) {
final p = arena<ffi.Int>();
cvRun(() => cffi.VideoWriter_Fourcc(cc_[0], cc_[1], cc_[2], cc_[3], p));
return p.value;
});
}