2022-03-09 10:37:11 +01:00

54 lines
1.5 KiB
C

/**
******************************************************************************
* @file LibJPEG/LibJPEG_Decoding/Inc/main.h
* @author MCD Application Team
* @brief Header for main.c module
******************************************************************************
* @attention
*
* Copyright (c) 2017 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H
/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx_hal.h"
/* Jpeg includes component */
#include <stdint.h>
#include <string.h>
#include "jpeglib.h"
/* EVAL includes component */
#include "stm324xg_eval.h"
#include "stm324xg_eval_lcd.h"
#include "stm324xg_eval_sram.h"
/* FatFs includes component */
#include "ff_gen_drv.h"
#include "sd_diskio.h"
#include "decode.h"
/* Exported types ------------------------------------------------------------*/
typedef struct RGB
{
uint8_t B;
uint8_t G;
uint8_t R;
}RGB_typedef;
/* Exported constants --------------------------------------------------------*/
#define IMAGE_HEIGHT 240
#define IMAGE_WIDTH 320
#endif /* __MAIN_H */