Class BarcodeVideoFilter
ClassList > BarcodeVideoFilter
Inherits the following classes: QAbstractVideoFilter
Public Properties
| Type | Name |
|---|---|
| property BarcodeDecoder * | decoder |
Public Signals
| Type | Name |
|---|---|
| signal void | decoderChanged |
Public Functions
| Type | Name |
|---|---|
| BarcodeVideoFilter () |
|
| QVideoFilterRunnable * | createFilterRunnable () override |
| void | decodeVideoFrame (QVideoFrame * input) |
| BarcodeDecoder * | decoder () const |
| bool | isDecoding () const |
| void | setDecoder (BarcodeDecoder * decoder) |
Public Properties Documentation
property decoder [1/2]
BarcodeDecoder * BarcodeVideoFilter::decoder;
Public Signals Documentation
signal decoderChanged
void BarcodeVideoFilter::decoderChanged;
Public Functions Documentation
function BarcodeVideoFilter
explicit BarcodeVideoFilter::BarcodeVideoFilter ()
function createFilterRunnable
QVideoFilterRunnable * BarcodeVideoFilter::createFilterRunnable () override
function decodeVideoFrame
void BarcodeVideoFilter::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 BarcodeDecoder * BarcodeVideoFilter::decoder () const
Returns the barcode decoder to be used when analyzing video frames.
function isDecoding
inline bool BarcodeVideoFilter::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 BarcodeVideoFilter::setDecoder (
BarcodeDecoder * decoder
)
Sets the decoder to be used when analyzing video frames.
The documentation for this class was generated from the following file src/core/barcodevideofilter.h