mirror of
https://github.com/status-im/qzxing.git
synced 2025-02-15 12:26:25 +00:00
commit
a98d663ed0
@ -209,8 +209,8 @@ void QZXingFilterRunnable::processVideoFrameProbed(SimpleVideoFrame & videoFrame
|
|||||||
image_ptr = rgbDataToGrayscale(data, captureRect, 0, 1, 2, 3);
|
image_ptr = rgbDataToGrayscale(data, captureRect, 0, 1, 2, 3);
|
||||||
break;
|
break;
|
||||||
case QVideoFrame::Format_ARGB32:
|
case QVideoFrame::Format_ARGB32:
|
||||||
break;
|
|
||||||
image_ptr = rgbDataToGrayscale(data, captureRect, 0, 1, 2, 3);
|
image_ptr = rgbDataToGrayscale(data, captureRect, 0, 1, 2, 3);
|
||||||
|
break;
|
||||||
case QVideoFrame::Format_ARGB32_Premultiplied:
|
case QVideoFrame::Format_ARGB32_Premultiplied:
|
||||||
image_ptr = rgbDataToGrayscale(data, captureRect, 0, 1, 2, 3, true);
|
image_ptr = rgbDataToGrayscale(data, captureRect, 0, 1, 2, 3, true);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user