~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to mpeglib/lib/mpegplay/startCodes.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  definitions of common startcodes
 
3
  Copyright (C) 2000  Martin Vogt
 
4
 
 
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.
 
8
 
 
9
  For more information look at the file COPYRIGHT in this package
 
10
 
 
11
 */
 
12
 
 
13
 
 
14
 
 
15
 
 
16
 
 
17
#ifndef __STARTCODES_H
 
18
#define __STARTCODES_H
 
19
 
 
20
 
 
21
 
 
22
/* Macros for picture code type. */
 
23
 
 
24
#define I_TYPE 1
 
25
#define P_TYPE 2
 
26
#define B_TYPE 3
 
27
#define D_TYPE 4
 
28
 
 
29
/* Start codes. */
 
30
 
 
31
 
 
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
 
41
 
 
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
 
52
 
 
53
#define ISO_11172_END_CODE          ((unsigned int)0x000001b9)
 
54
#define SYSTEM_HEADER_START_CODE    ((unsigned int)0x000001bb)
 
55
 
 
56
/* Macros used with macroblock address decoding. */
 
57
 
 
58
#define MB_STUFFING 34
 
59
#define MB_ESCAPE 35
 
60
 
 
61
 
 
62
 
 
63
#endif