MaxstARSDK
SurfaceThumbnail.h
Go to the documentation of this file.
1 /*==============================================================================
2 Copyright 2017 Maxst, Inc. All Rights Reserved.
3 ==============================================================================*/
4 
5 
6 #pragma once
7 
8 #include "Types.h"
9 
10 namespace maxstAR
11 {
16  {
17  public:
18  virtual ~SurfaceThumbnail() {}
19 
23  virtual int getWidth() = 0;
24 
28  virtual int getHeight() = 0;
29 
33  virtual int getBpp() = 0;
34 
38  virtual ColorFormat getFormat() = 0;
39 
43  virtual int getLength() = 0;
44 
48  virtual unsigned char * getData() = 0;
49  };
50 }
51 
ColorFormat
Image Color format. RGB888 : YUV420sp : YUV420 : YUV420_888 : GRAY8 :
Definition: Types.h:24
Definition: BackgroundRenderer.h:11
Contains surface thumbnail image information of first keyframe.
Definition: SurfaceThumbnail.h:15
virtual ~SurfaceThumbnail()
Definition: SurfaceThumbnail.h:18
#define MAXSTAR_API
Definition: Types.h:11