annotate libmpdemux/mpeg_hdr.h @ 11118:344052fdfc4a
Fix colorkey for xvidix, tested on Riva128 4MB X@15/16/24bpp (aka 15/15/32 in nvidia_vid)
This is very cool, using mplayer -vo xvidix -ao oss -framedrop -dr movie.avi I can play
640x272 DivX 1MBps on PII 233, 64MB, i440LX, Riva128 4MB AGP, FreeBSD 5.0, XFree 4.2.0,
with little framedrop,
author |
atmos4 |
date |
Tue, 14 Oct 2003 21:29:25 +0000 |
parents |
4bc54a0f775f |
children |
92553e3c8f01 |
rev |
line source |
2565
|
1
|
|
2 typedef struct {
|
|
3 // video info:
|
|
4 int mpeg1; // 0=mpeg2 1=mpeg1
|
|
5 int display_picture_width;
|
|
6 int display_picture_height;
|
|
7 int aspect_ratio_information;
|
|
8 int frame_rate_code;
|
|
9 int fps; // fps*10000
|
|
10 int bitrate; // 0x3FFFF==VBR
|
|
11 // timing:
|
|
12 int picture_structure;
|
|
13 int progressive_sequence;
|
|
14 int repeat_first_field;
|
|
15 int progressive_frame;
|
|
16 int top_field_first;
|
|
17 int display_time; // secs*100
|
|
18 } mp_mpeg_header_t;
|
|
19
|
|
20 int mp_header_process_sequence_header (mp_mpeg_header_t * picture, unsigned char * buffer);
|
|
21 int mp_header_process_extension (mp_mpeg_header_t * picture, unsigned char * buffer);
|