VR-Forces 4.1 Class Documentation
DtTransformFrameTaskElement.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
11 
13 
16 
17 namespace makVrv
18 {
19  class DtVideoFrameBuffer;
20 
26  : public DtImageTaskElement
27  {
28  public:
32 
34  virtual ~DtTransformFrameTaskElement();
35 
37  virtual bool shouldFlip() const;
38 
40  virtual void setShouldFlip( bool flip );
41 
43  virtual bool shouldScale() const;
44 
46  virtual void setShouldScale( bool scale );
47 
49  virtual int scaleX() const;
50 
52  virtual void setScaleX( int scaleX );
53 
55  virtual int scaleY() const;
56 
58  virtual void setScaleY( int scaleY );
59 
61  virtual bool shouldResample() const;
62 
64  virtual void setShouldResample( bool resample );
65 
67  virtual int bitsPerPixel() const;
68 
70  virtual void setBitsPerPixel( int bpp );
71 
73  void setFromRecord( const makArchives::DtImageTaskRecord& config );
74 
75  protected:
78 
80  void handleProcessFrame(DtVideoFrameBuffer* frame);
81 
82  private:
85 
88 
90  DtTransformFrameTaskElement& operator=(
91  const DtTransformFrameTaskElement& rhs );
92 
93  protected:
94 
98 
99  int myScaleX;
100  int myScaleY;
102  };
103 
110  {
111  public:
113  friend class DtVideoStreamManager;
114 
117 
120 
121  protected:
123  virtual DtImageTaskElement* create( DtDe& de,
124  DtProcessImageTask* owningTask );
125  };
126 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)