Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Helpers
Jpeg
IJpegLoader.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "GLHelpers.h"
6
#include "Types.h"
7
#include "Rendering.h"
8
#include "JpegImage.h"
9
10
namespace
Eegeo
11
{
12
namespace
Helpers
13
{
14
namespace
Jpeg
15
{
16
class
IJpegLoader
17
{
18
public
:
19
virtual
~
IJpegLoader
() { };
20
21
virtual
void
DecompressJpeg(Byte *jpeg,
size_t
len,
JpegImage
&image,
bool
invertVertically=
false
) = 0;
22
23
virtual
bool
TryDecompressJpeg(Byte *jpeg,
size_t
len,
JpegImage
&image,
bool
invertVertically=
false
) = 0;
24
25
virtual
bool
LoadJpgFromBuffer(
26
Eegeo::Helpers::GLHelpers::TextureInfo
&textureInfo,
27
const
Byte* resourceBuffer,
28
size_t
resourceBufferSizeBytes,
29
bool
mipmap,
30
bool
invertVertically) = 0;
31
};
32
}
33
}
34
}
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1