#include <PvCompressionFilter.h>
Public Member Functions | |
| PvCompressionFilter () | |
| Constructor. | |
| virtual | ~PvCompressionFilter () |
| Destructor. | |
| PvResult | Execute (const PvBuffer *aIn, PvBuffer *aOut) |
| Compresses aIn into aOut. More... | |
| PvResult | SetThreadCount (uint32_t aCount) |
| Sets the maximum of threads to use for compression. Not supported for compression. More... | |
| uint32_t | GetThreadCount () const |
| Returns how many threads are used for compression. More... | |
| PvResult | GetThreadsPriority (uint32_t &aPriority) const |
| Gets the thread priority of the filter's worker threads. More... | |
| PvResult | SetThreadsPriority (uint32_t aPriority) |
| Sets the thread priority of the filter's worker threads. More... | |
| PvResult | SetEncoding (PvEncodingEnum aValue) |
| Sets the encoding used when compressing the image. More... | |
| PvEncodingEnum | GetEncoding () const |
| Returns the encoding used when compressing the image. | |
Public Member Functions inherited from IPvFilter | |
| IPvFilter () | |
| Constructor. | |
| virtual | ~IPvFilter () |
| Destructor. | |
Filter used for image compression.
Compresses aIn into aOut.
| aIn | [in] Input buffer. |
| aOut | [in] Output buffer. |
Implements IPvFilter.
|
virtual |
Returns how many threads are used for compression.
Implements IPvFilter.
|
virtual |
Gets the thread priority of the filter's worker threads.
| aPriority | [out] Output reference to the worker threads priority. |
Implements IPvFilter.
| PvResult PvCompressionFilter::SetEncoding | ( | PvEncodingEnum | aValue | ) |
Sets the encoding used when compressing the image.
| aValue | [in] Encoding to be used by the filter. |
|
virtual |
Sets the maximum of threads to use for compression. Not supported for compression.
| aCount | [in] How many threads to use for compression. |
Implements IPvFilter.
|
virtual |
Sets the thread priority of the filter's worker threads.
Only one worker thread is created. Setting thread priority isn't supported.
Implements IPvFilter.
Copyright (c) 2002-2024 Pleora Technologies Inc.
www.pleora.com