1a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk/* 2a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * Copyright (C) 2013 The Android Open Source Project 3a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * 4a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * Licensed under the Apache License, Version 2.0 (the "License"); 5a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * you may not use this file except in compliance with the License. 6a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * You may obtain a copy of the License at 7a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * 8a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * http://www.apache.org/licenses/LICENSE-2.0 9a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * 10a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * Unless required by applicable law or agreed to in writing, software 11a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * distributed under the License is distributed on an "AS IS" BASIS, 12a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * See the License for the specific language governing permissions and 14a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk * limitations under the License. 15a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk */ 16a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk 17a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk#ifndef JPEG_CONFIG_H_ 18a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk#define JPEG_CONFIG_H_ 19a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunknamespace Jpeg_Config { 20a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk 21a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk// Pixel format 22a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunkenum Format { 23a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk FORMAT_GRAYSCALE = 0x001, // 1 byte/pixel 24a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk FORMAT_RGB = 0x003, // 3 bytes/pixel RGBRGBRGBRGB... 25a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk FORMAT_RGBA = 0x004, // 4 bytes/pixel RGBARGBARGBARGBA... 26a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk FORMAT_ABGR = 0x104 // 4 bytes/pixel ABGRABGRABGR... 27a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk}; 28a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk 29a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk} // end namespace Jpeg_Config 30a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk 31a8221bbdb8ece9b02dbf7b72565f9fbc5b314f7cRuben Brunk#endif // JPEG_CONFIG_H_ 32