Mercurial > hg > orthanc
comparison Core/Enumerations.cpp @ 2089:7a969f235adf
PixelFormat_BGRA32
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 19 Sep 2016 17:22:41 +0200 |
parents | 655489d9165d |
children | a43708636890 |
comparison
equal
deleted
inserted
replaced
2088:b9428d5f7eaf | 2089:7a969f235adf |
---|---|
731 return "RGB24"; | 731 return "RGB24"; |
732 | 732 |
733 case PixelFormat_RGBA32: | 733 case PixelFormat_RGBA32: |
734 return "RGBA32"; | 734 return "RGBA32"; |
735 | 735 |
736 case PixelFormat_BGRA32: | |
737 return "BGRA32"; | |
738 | |
736 case PixelFormat_Grayscale8: | 739 case PixelFormat_Grayscale8: |
737 return "Grayscale (unsigned 8bpp)"; | 740 return "Grayscale (unsigned 8bpp)"; |
738 | 741 |
739 case PixelFormat_Grayscale16: | 742 case PixelFormat_Grayscale16: |
740 return "Grayscale (unsigned 16bpp)"; | 743 return "Grayscale (unsigned 16bpp)"; |
1059 | 1062 |
1060 case PixelFormat_RGB24: | 1063 case PixelFormat_RGB24: |
1061 return 3; | 1064 return 3; |
1062 | 1065 |
1063 case PixelFormat_RGBA32: | 1066 case PixelFormat_RGBA32: |
1067 case PixelFormat_BGRA32: | |
1064 return 4; | 1068 return 4; |
1065 | 1069 |
1066 case PixelFormat_Float32: | 1070 case PixelFormat_Float32: |
1067 assert(sizeof(float) == 4); | 1071 assert(sizeof(float) == 4); |
1068 return 4; | 1072 return 4; |