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