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