diff options
Diffstat (limited to 'tools/h264.h')
-rw-r--r-- | tools/h264.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/h264.h b/tools/h264.h index 34e11b81..f3f32281 100644 --- a/tools/h264.h +++ b/tools/h264.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: h264.h,v 1.2 2008-03-16 22:12:56 phintuka Exp $ + * $Id: h264.h,v 1.3 2008-05-20 11:00:42 phintuka Exp $ * */ @@ -18,10 +18,18 @@ extern "C" { #include "mpeg.h" +#define NAL_SPS 0x07 +#define NAL_AUD 0x09 + +typedef struct { + int num; + int den; +} h264_rational_t; + typedef struct { int width; int height; - double pixel_aspect; + h264_rational_t pixel_aspect; /* ... */ } h264_sps_data_t; |