VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtReadFramebufferProcessData.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
12 #include <cstddef> // size_t
13 
14 namespace makVrv
15 {
20  {
21  public:
24  {
25  RAW,
26  JPG,
27  PNG,
28  BMP,
30  X264
31  };
32 
35 
38 
40  void * getImageData() const;
41 
43  size_t getImageSizeInBytes() const;
44 
46  DataFormat getType() const;
47 
49  size_t width() const;
50 
52  size_t height() const;
53 
55  size_t getRowSizeInBytes() const;
56 
58  int getPixelFormat() const;
59 
61  int getDataType() const;
62 
64  int getPixelSizeInBits() const;
65 
66  protected:
67 
69  void * myData;
70 
73 
76 
78  size_t myWidth;
79 
81  size_t myHeight;
82 
85 
88 
91 
94 
96  friend class DtEncoderIO;
97  };
98 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)