fourcc static method

int fourcc(
  1. String cc
)

Implementation

static int fourcc(String cc) {
  final cc_ = ascii.encode(cc);
  if (cc_.length != 4) return -1;
  return cvideoio.cv_VideoWriter_fourcc(cc_[0], cc_[1], cc_[2], cc_[3]);
}