FFmpeg
libavcodec
gif.h
Go to the documentation of this file.
1
/*
2
* GIF format definitions
3
* Copyright (c) 2003 Fabrice Bellard
4
* Copyright (c) 2006 Baptiste Coudurier
5
* Copyright (c) 2012 Vitaliy E Sugrobov
6
*
7
* This file is part of FFmpeg.
8
*
9
* FFmpeg is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU Lesser General Public
11
* License as published by the Free Software Foundation; either
12
* version 2.1 of the License, or (at your option) any later version.
13
*
14
* FFmpeg is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* Lesser General Public License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General Public
20
* License along with FFmpeg; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
*/
23
24
/**
25
* @file
26
* GIF format definitions.
27
*/
28
29
#ifndef AVCODEC_GIF_H
30
#define AVCODEC_GIF_H
31
32
#include <stdint.h>
33
34
#include "
libavutil/attributes_internal.h
"
35
36
static
attribute_nonstring
const
uint8_t
gif87a_sig
[6] =
"GIF87a"
;
37
static
attribute_nonstring
const
uint8_t
gif89a_sig
[6] =
"GIF89a"
;
38
39
#define GCE_DISPOSAL_NONE 0
40
#define GCE_DISPOSAL_INPLACE 1
41
#define GCE_DISPOSAL_BACKGROUND 2
42
#define GCE_DISPOSAL_RESTORE 3
43
44
#define GIF_TRAILER 0x3b
45
#define GIF_EXTENSION_INTRODUCER 0x21
46
#define GIF_IMAGE_SEPARATOR 0x2c
47
#define GIF_GCE_EXT_LABEL 0xf9
48
#define GIF_COM_EXT_LABEL 0xfe
49
#define GIF_APP_EXT_LABEL 0xff
50
#define NETSCAPE_EXT_STR "NETSCAPE2.0"
51
52
#endif
/* AVCODEC_GIF_H */
gif89a_sig
static const attribute_nonstring uint8_t gif89a_sig[6]
Definition:
gif.h:37
attribute_nonstring
#define attribute_nonstring
Definition:
attributes_internal.h:42
attributes_internal.h
gif87a_sig
static const attribute_nonstring uint8_t gif87a_sig[6]
Definition:
gif.h:36
Generated on Thu Mar 5 2026 19:22:01 for FFmpeg by
1.8.17