decodeLuminance static method
List<UCode>
decodeLuminance(
- Uint8List plane,
- int width,
- int height, {
- int rowStride = 0,
- 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);