Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



Loading...
Searching...
No Matches
PvCompressionFilter.h
1// *****************************************************************************
2//
3// Copyright (c) 2023, Pleora Technologies Inc., All rights reserved.
4//
5// *****************************************************************************
6
7#ifndef __PVCOMPRESSIONFILTER_H__
8#define __PVCOMPRESSIONFILTER_H__
9
10#include <IPvFilter.h>
11#include <PvEncoding.h>
12
13
14namespace PvBufferLib
15{
16 class PTCEncoder;
17}
18
24
25class PV_BUFFER_API PvCompressionFilter : public IPvFilter
26{
27public:
28
33
34
38 virtual ~PvCompressionFilter();
39
51 PvResult Execute( const PvBuffer *aIn, PvBuffer *aOut );
52
61 PvResult SetThreadCount( uint32_t aCount );
62
68 uint32_t GetThreadCount() const;
69
79 PvResult GetThreadsPriority( uint32_t &aPriority ) const;
80
94 PvResult SetThreadsPriority( uint32_t aPriority );
95
105 PvResult SetEncoding( PvEncodingEnum aValue );
106
110 PvEncodingEnum GetEncoding() const;
111
112protected:
113
114private:
115
116 // Not implemented
118 const PvCompressionFilter &operator=( const PvCompressionFilter & );
119
120 PvBufferLib::PTCEncoder *mThis;
121
122};
123
124
125#endif // __PVCOMPRESSIONFILTER_H__
126
PvEncodingEnum
The PvEncodingEnum enumeration indicates the coding used by the PvCompressionFilter.
Definition PvEncoding.h:20
Base class (interface) of various processing filters provided by the eBUS SDK.
Definition IPvFilter.h:19
virtual PvResult Execute(const PvBuffer *aIn, PvBuffer *aOut)=0
Executes the filter: performs processing on aIn, writing into aOut.
virtual uint32_t GetThreadCount() const =0
Gets the maximum number of threads the filter can use.
virtual PvResult SetThreadCount(uint32_t aCount)=0
Sets the thread count to be used by the filter.
virtual PvResult GetThreadsPriority(uint32_t &aPriority) const =0
Gets the thread priority of the filter's worker threads.
virtual PvResult SetThreadsPriority(uint32_t aPriority)=0
Sets the thread priority of the filter's worker threads.
Represents a block of GigE Vision or USB3 Vision data in memory.
Definition PvBuffer.h:111
Definition PvCompressionFilter.h:26
Result information.
Definition PvResult.h:30

Copyright (c) 2002-2026 Pleora Technologies Inc.
www.pleora.com