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