Mercurial > libavcodec.hg
comparison h264.h @ 7988:a7dfe657968d libavcodec
Move nal unit types enum and EXTENDED_SAR #define from h264data.h to h264.h.
author | michael |
---|---|
date | Fri, 03 Oct 2008 13:30:19 +0000 |
parents | 5be944626072 |
children | 58955234a2bd |
comparison
equal
deleted
inserted
replaced
7987:bf12bb0efb68 | 7988:a7dfe657968d |
---|---|
81 #endif | 81 #endif |
82 | 82 |
83 #ifndef ENABLE_H264_ENCODER | 83 #ifndef ENABLE_H264_ENCODER |
84 #define ENABLE_H264_ENCODER 0 | 84 #define ENABLE_H264_ENCODER 0 |
85 #endif | 85 #endif |
86 | |
87 #define EXTENDED_SAR 255 | |
88 | |
89 /* NAL unit types */ | |
90 enum { | |
91 NAL_SLICE=1, | |
92 NAL_DPA, | |
93 NAL_DPB, | |
94 NAL_DPC, | |
95 NAL_IDR_SLICE, | |
96 NAL_SEI, | |
97 NAL_SPS, | |
98 NAL_PPS, | |
99 NAL_AUD, | |
100 NAL_END_SEQUENCE, | |
101 NAL_END_STREAM, | |
102 NAL_FILLER_DATA, | |
103 NAL_SPS_EXT, | |
104 NAL_AUXILIARY_SLICE=19 | |
105 }; | |
86 | 106 |
87 /** | 107 /** |
88 * Sequence parameter set | 108 * Sequence parameter set |
89 */ | 109 */ |
90 typedef struct SPS{ | 110 typedef struct SPS{ |