2
definitions of common startcodes
3
Copyright (C) 2000 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Library General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
17
#ifndef __STARTCODES_H
18
#define __STARTCODES_H
22
/* Macros for picture code type. */
32
#define SEQ_END_CODE 0x000001b7
33
#define SEQ_START_CODE 0x000001b3
34
#define GOP_START_CODE 0x000001b8
35
#define PICTURE_START_CODE 0x00000100
36
#define SLICE_MIN_START_CODE 0x00000101
37
#define SLICE_MAX_START_CODE 0x000001af
38
#define EXT_START_CODE 0x000001b5
39
#define USER_START_CODE 0x000001b2
40
#define SEQUENCE_ERROR_CODE 0x000001b4
42
//extension start code ids
43
#define SEQUENCE_EXTENSION_ID 1
44
#define SEQUENCE_DISPLAY_EXTENSION_ID 2
45
#define QUANT_MATRIX_EXTENSION_ID 3
46
#define COPYRIGHT_EXTENSION_ID 4
47
#define SEQUENCE_SCALABLE_EXTENSION_ID 5
48
#define PICTURE_DISPLAY_EXTENSION_ID 7
49
#define PICTURE_CODING_EXTENSION_ID 8
50
#define PICTURE_SPATIAL_SCALABLE_EXTENSION_ID 9
51
#define PICTURE_TEMPORAL_SCALABLE_EXTENSION_ID 10
53
#define ISO_11172_END_CODE ((unsigned int)0x000001b9)
54
#define SYSTEM_HEADER_START_CODE ((unsigned int)0x000001bb)
56
/* Macros used with macroblock address decoding. */
58
#define MB_STUFFING 34