Class QfBarcodeVideoFilter
ClassList > QfBarcodeVideoFilter
Inherits the following classes: QAbstractVideoFilter
Public Properties
| Type | Name |
|---|---|
| property QfBarcodeDecoder * | decoder |
Public Signals
| Type | Name |
|---|---|
| signal void | decoderChanged |
Public Functions
| Type | Name |
|---|---|
| QfBarcodeVideoFilter () |
|
| QVideoFilterRunnable * | createFilterRunnable () override |
| void | decodeVideoFrame (QVideoFrame * input) |
| QfBarcodeDecoder * | decoder () const |
| bool | isDecoding () const |
| void | setDecoder (QfBarcodeDecoder * decoder) |
Public Properties Documentation
property decoder [1/2]
QfBarcodeDecoder * QfBarcodeVideoFilter::decoder;
Public Signals Documentation
signal decoderChanged
void QfBarcodeVideoFilter::decoderChanged;
Public Functions Documentation
function QfBarcodeVideoFilter
explicit QfBarcodeVideoFilter::QfBarcodeVideoFilter ()
function createFilterRunnable
QVideoFilterRunnable * QfBarcodeVideoFilter::createFilterRunnable () override
function decodeVideoFrame
void QfBarcodeVideoFilter::decodeVideoFrame (
QVideoFrame * input
)
Handle the decoding of a video frame barcodes. The frame will be analyzed for the presence of a barcode, and if so the decoder will capture the decoded string.
function decoder [2/2]
inline QfBarcodeDecoder * QfBarcodeVideoFilter::decoder () const
Returns the barcode decoder to be used when analyzing video frames.
function isDecoding
inline bool QfBarcodeVideoFilter::isDecoding () const
Returns whether a video frame decoding is happening, which will dictate whether incoming video frames will be skipped or not.
function setDecoder
void QfBarcodeVideoFilter::setDecoder (
QfBarcodeDecoder * decoder
)
Sets the decoder to be used when analyzing video frames.
The documentation for this class was generated from the following file src/core/qfbarcodevideofilter.h