1 /***************************************************************************
2                       NAL TYPE for H264
3 
4 **************************************************************************/
5 /***************************************************************************
6  *                                                                         *
7  *   This program is free software; you can redistribute it and/or modify  *
8  *   it under the terms of the GNU General Public License as published by  *
9  *   the Free Software Foundation; either version 2 of the License, or     *
10  *   (at your option) any later version.                                   *
11  *                                                                         *
12  ***************************************************************************/
13 #ifndef ADM_H264_TAG_H
14 #define ADM_H264_TAG_H
15 #define NAL_NON_IDR       1
16 #define NAL_IDR           5
17 #define NAL_SEI           6
18 #define NAL_SPS           7
19 #define NAL_PPS           8
20 #define NAL_AU_DELIMITER  9
21 #define NAL_FILLER        12
22 
23 typedef struct AspectRatio {
24     int num;
25     int den;
26 } AspectRatio;
27 
28 const AspectRatio pixel_aspect[17] = {
29 	{0, 1},
30 	{1, 1},
31 	{12, 11},
32 	{10, 11},
33 	{16, 11},
34 	{40, 33},
35 	{24, 11},
36 	{20, 11},
37 	{32, 11},
38 	{80, 33},
39 	{18, 11},
40 	{15, 11},
41 	{64, 33},
42 	{160,99},
43 	{4, 3},
44 	{3, 2},
45 	{2, 1},
46 };
47 #endif
48 //EOF
49