1 /** 2 * @file HaasImageCodecDef.h 3 * @author HaasAI Group 4 * @version V1.0.0 5 * @date 2021-01-10 6 * @license GNU General Public License (GPL) 7 * @brief 8 * @attention 9 * This file is part of HaasAI. \n 10 * This program is free software; you can redistribute it and/or modify \n 11 * it under the terms of the GNU General Public License version 3 as \n 12 * published by the Free Software Foundation. \n 13 * You should have received a copy of the GNU General Public License \n 14 * along with HaasAI. If not, see <http://www.gnu.org/licenses/>. \n 15 * Unless required by applicable law or agreed to in writing, software \n 16 * distributed under the License is distributed on an "AS IS" BASIS, \n 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. \n 18 * See the License for the specific language governing permissions and \n 19 * limitations under the License. \n 20 * \n 21 * @htmlonly 22 * <span style="font-weight: bold">History</span> 23 * @endhtmlonly 24 * Version|Author|Date|Describe 25 * ------|----|------|-------- 26 * V1.0|HaasAI Group|2021-01-10|Create File 27 * <h2><center>©COPYRIGHT 2021 WELLCASA All Rights Reserved.</center></h2> 28 */ 29 #ifndef HAAS_IMAGE_CODEC_DEF_H 30 #define HAAS_IMAGE_CODEC_DEF_H 31 32 #include "base/include/base/HaasCommonImage.h" 33 34 /**@enum CodecImageType_t 35 * @brief Codec Image Type \n 36 */ 37 typedef enum { 38 CODEC_IMAGE_SOURCE_NONE = -1, 39 CODEC_IMAG_SOURCE_IMAGE_PNG = 0, 40 CODEC_IMAG_SOURCE_IMAGE_JPG = 1, 41 CODEC_IMAG_SOURCE_IMAGE_BMP = 2, 42 CODEC_IMAG_SOURCE_IMAGE_GIF = 3, 43 CODEC_IMAG_SOURCE_MAX = 30, 44 } CodecImageType_t; 45 #endif 46