Welcome to mirror list, hosted at ThFree Co, Russian Federation.

data_formats.hpp « graphics - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2f1a1594f958b0df3adf4aaba5868c13eecd3fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

namespace graphics
{
  enum DataFormat
  {
    Data8Bpp,
    Data4Bpp,
    Data565Bpp
  };

  /// getting size of the pixel in specified DataFormat.
  unsigned formatSize(DataFormat const & fmt);
  /// getting string representation of the specified DataFormat.
  char const * formatName(DataFormat const & fmt);
}