File: jpegmarker.h

package info (click to toggle)
jpeginfo 1.7.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 552 kB
  • sloc: sh: 3,487; ansic: 2,225; python: 95; makefile: 73
file content (25 lines) | stat: -rw-r--r-- 548 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* jpegmarker.h
 *
 * Copyright (c) 1997-2023 Timo Kokkonen
 *
 */

#ifndef JPEGMARKER_H
#define JPEGMARKER_H 1

struct jpeg_special_marker_type {
	unsigned int marker;
	char *name;
	unsigned int ident_len;
	char *ident_str;
};

extern const struct jpeg_special_marker_type jpeg_special_marker_types[];

const char* jpeg_marker_name(unsigned int marker);
const char* jpeg_special_marker_name(jpeg_saved_marker_ptr marker);
int jpeg_special_marker(jpeg_saved_marker_ptr marker);
size_t jpeg_special_marker_types_count();


#endif /* JPEGMARKER_H */