2019-04-29 21:39:56 +08:00
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
* @file LibJPEG/LibJPEG_Decoding/Inc/decode.h
|
|
|
|
* @author MCD Application Team
|
|
|
|
* @brief header of decode.c file
|
|
|
|
******************************************************************************
|
|
|
|
* @attention
|
|
|
|
*
|
2021-12-14 16:25:05 +08:00
|
|
|
* Copyright (c) 2018 STMicroelectronics.
|
|
|
|
* All rights reserved.
|
2019-04-29 21:39:56 +08:00
|
|
|
*
|
2021-12-14 16:25:05 +08:00
|
|
|
* 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.
|
2019-04-29 21:39:56 +08:00
|
|
|
*
|
|
|
|
******************************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
|
|
#ifndef __DECODE_H
|
|
|
|
#define __DECODE_H
|
|
|
|
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
|
|
#include "main.h"
|
|
|
|
|
|
|
|
/* Private typedef -----------------------------------------------------------*/
|
|
|
|
/* Private define ------------------------------------------------------------*/
|
|
|
|
/* Private macro -------------------------------------------------------------*/
|
|
|
|
/* Private variables ---------------------------------------------------------*/
|
|
|
|
/* Private function prototypes -----------------------------------------------*/
|
|
|
|
/* Private functions ---------------------------------------------------------*/
|
|
|
|
|
|
|
|
void jpeg_decode(JFILE *file, uint32_t width, uint8_t * buff, uint8_t (*callback)(uint8_t*, uint32_t));
|
|
|
|
|
|
|
|
#endif /* __DECODE_H */
|
|
|
|
|