decodeLuminance static method

List<UCode> decodeLuminance(
  1. Uint8List plane,
  2. int width,
  3. int height, {
  4. int rowStride = 0,
  5. UCodeScanOptions options = const UCodeScanOptions(),
})

Decodes the luminance plane of a YUV/NV21 camera frame with no copy.

Implementation

static List<UCode> decodeLuminance(Uint8List plane, int width, int height, {int rowStride = 0, UCodeScanOptions options = const UCodeScanOptions()}) =>
    decode(UGrayImage.fromLuminance(plane, width, height, rowStride: rowStride), options);