Mercurial > mplayer.hg
comparison libmpdemux/stheader.h @ 4196:b75f3bb25261
image field added. 10*10l....
author | arpi |
---|---|
date | Wed, 16 Jan 2002 12:24:36 +0000 |
parents | 2cef9d562af0 |
children | d282da672340 |
comparison
equal
deleted
inserted
replaced
4195:b086b94ec244 | 4196:b75f3bb25261 |
---|---|
1 // Stream headers: | 1 // Stream headers: |
2 | 2 |
3 #include "wine/mmreg.h" | 3 #include "wine/mmreg.h" |
4 #include "wine/avifmt.h" | 4 #include "wine/avifmt.h" |
5 #include "wine/vfw.h" | 5 #include "wine/vfw.h" |
6 | |
7 #include "../mp_image.h" | |
6 | 8 |
7 typedef struct { | 9 typedef struct { |
8 demux_stream_t *ds; | 10 demux_stream_t *ds; |
9 unsigned int format; | 11 unsigned int format; |
10 struct codecs_st *codec; | 12 struct codecs_st *codec; |
60 // unsigned int bitrate; | 62 // unsigned int bitrate; |
61 // buffers: | 63 // buffers: |
62 float num_frames; // number of frames played | 64 float num_frames; // number of frames played |
63 int num_frames_decoded; // number of frames decoded | 65 int num_frames_decoded; // number of frames decoded |
64 char *our_out_buffer; | 66 char *our_out_buffer; |
67 mp_image_t *image; | |
65 // win32 codec stuff: | 68 // win32 codec stuff: |
66 AVIStreamHeader video; | 69 AVIStreamHeader video; |
67 BITMAPINFOHEADER *bih; // in format | 70 BITMAPINFOHEADER *bih; // in format |
68 BITMAPINFOHEADER o_bih; // out format | 71 BITMAPINFOHEADER o_bih; // out format |
69 void* context; // codec-specific stuff (usually HANDLE or struct pointer) | 72 void* context; // codec-specific stuff (usually HANDLE or struct pointer) |