1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef INCLUDED_BASEBMP_SCANLINEFORMATS_HXX
25 #define INCLUDED_BASEBMP_SCANLINEFORMATS_HXX
26 
27 #include <sal/types.h>
28 
29 /* Definition of Scanline formats */
30 
31 namespace basebmp { namespace Format
32 {
33     static const sal_Int32 NONE                         = 0;
34     static const sal_Int32 ONE_BIT_MSB_GREY             = (sal_Int32)0x01;
35     static const sal_Int32 ONE_BIT_LSB_GREY             = (sal_Int32)0x02;
36     static const sal_Int32 ONE_BIT_MSB_PAL              = (sal_Int32)0x03;
37     static const sal_Int32 ONE_BIT_LSB_PAL              = (sal_Int32)0x04;
38     static const sal_Int32 FOUR_BIT_MSB_GREY            = (sal_Int32)0x05;
39     static const sal_Int32 FOUR_BIT_LSB_GREY            = (sal_Int32)0x06;
40     static const sal_Int32 FOUR_BIT_MSB_PAL             = (sal_Int32)0x07;
41     static const sal_Int32 FOUR_BIT_LSB_PAL             = (sal_Int32)0x08;
42     static const sal_Int32 EIGHT_BIT_PAL                = (sal_Int32)0x09;
43     static const sal_Int32 EIGHT_BIT_GREY               = (sal_Int32)0x0A;
44     static const sal_Int32 SIXTEEN_BIT_LSB_TC_MASK      = (sal_Int32)0x0B;
45     static const sal_Int32 SIXTEEN_BIT_MSB_TC_MASK      = (sal_Int32)0x0C;
46     static const sal_Int32 TWENTYFOUR_BIT_TC_MASK       = (sal_Int32)0x0D;
47     static const sal_Int32 THIRTYTWO_BIT_TC_MASK        = (sal_Int32)0x0E;
48     static const sal_Int32 THIRTYTWO_BIT_TC_MASK_ARGB   = (sal_Int32)0x0F;
49     static const sal_Int32 MAX                          = (sal_Int32)0x0F;
50 } }
51 
52 #endif /* INCLUDED_BASEBMP_SCANLINEFORMATS_HXX */
53