VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCompressFrameTaskElement.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
13 
14 namespace makVrv
15 {
21  : public DtImageTaskElement
22  {
23  public:
27 
29  virtual ~DtCompressFrameTaskElement();
30 
32  virtual void setQuality( int quality );
33 
35  virtual int quality() const;
36 
38  virtual void setCompressionStyle( DtVideoFrameBuffer::DataFormat format );
39 
41  virtual DtVideoFrameBuffer::DataFormat compressionStyle() const;
42 
44  void setFromRecord( const makArchives::DtImageTaskRecord& config );
45 
46  protected:
49 
51  void handleProcessFrame( DtVideoFrameBuffer* frame );
52 
53  private:
54  // Default CTOR (unimplemented)
56 
57  // Copy CTOR (unimplemented)
59 
60  // Assignment operator (unimplemented)
62 
63  protected:
65  int myQuality;
66  };
67 
74  {
75  public:
77  friend class DtVideoStreamManager;
78 
81 
84 
85  protected:
87  virtual DtImageTaskElement* create( DtDe& de,
88  DtProcessImageTask* owningTask );
89  };
90 }
DataFormat
Enumerate the compression types.
Definition: DtVideoFrameBuffer.h:24
Record for a sensor definition.
Definition: DtImageTaskRecord.h:20
#define DT_DLL_VRVVIDEOSTREAM
Definition: vrvVideoStream.h:20
A DtCompressFrameTaskElementCreator instance is registered with the image task element factory to cre...
Definition: DtCompressFrameTaskElement.h:72
DtVideoStreamManager is a singleton class that manages DtVideoStreams in VR-Vantage.
Definition: DtVideoStreamManager.h:35
The DtImageTaskElement is an abstract base class for all image task elements.
Definition: DtImageTaskElement.h:25
Contains the DtVideoFrameBuffer class declaration.
A DtCompressFrameTaskElement instance will create a pipeline element that can compress the image bein...
Definition: DtCompressFrameTaskElement.h:20
DtImageTaskElementCreator is the common base class for all image task element creators.
Definition: DtImageTaskElement.h:95
DtProcessImageTask creates and manages all the process image pipeline elements.
Definition: DtProcessImageTask.h:36
Contains declarations needed to initialize the freeImage library.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
int myQuality
Definition: DtCompressFrameTaskElement.h:65
The image as initially captured from the camera is placed into a DtVideoFrameBuffer.
Definition: DtVideoFrameBuffer.h:20
DtVideoFrameBuffer::DataFormat myCompressionStyle
Definition: DtCompressFrameTaskElement.h:64

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)