-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparsejpeg.h
More file actions
23 lines (17 loc) · 797 Bytes
/
Copy pathparsejpeg.h
File metadata and controls
23 lines (17 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef PARSEJPEG_H
#define PARSEJPEG_H
#include <stdint.h>
#include "definitions.h"
jpeg_t *jpegParse( const uint8_t *fileContents, const uint32_t fileSize );
int parse(const uint8_t **filePtr, uint32_t *fileSize,
jpeg_t *jpeg, uint16_t *id);
int parseHeader(const uint8_t **filePtr, uint32_t *fileSize, uint16_t *id);
int parseData(const uint8_t **filePtr, uint32_t *fileSize,
jpeg_t *jpeg, const uint16_t *id);
int parseBuffer(const uint8_t **filePtr, uint32_t *fileSize,
uint8_t **buffer, uint16_t *bufferLength);
int parseScan(const uint8_t **filePtr, uint32_t *fileSize,
uint8_t **buffer, uint16_t *bufferLength);
int parseMultipleBuffer (const uint8_t **filePtr, uint32_t *fileSize,
uint8_t ***buffer, uint16_t **bufferLength, uint16_t *bufferNumber);
#endif