comparison libmpdemux/stheader.h @ 7232:f83050f59e23

removed obsolete items
author alex
date Sun, 01 Sep 2002 18:23:18 +0000
parents 27d1f7faefd4
children 3a22c16fea46
comparison
equal deleted inserted replaced
7231:1e84415320d8 7232:f83050f59e23
31 int a_buffer_size; 31 int a_buffer_size;
32 int sample_format; 32 int sample_format;
33 // win32 codec stuff: 33 // win32 codec stuff:
34 AVIStreamHeader audio; 34 AVIStreamHeader audio;
35 WAVEFORMATEX *wf; 35 WAVEFORMATEX *wf;
36 // char wf_ext[64]; // in format
37 WAVEFORMATEX o_wf; // out format
38 HACMSTREAM srcstream; // handle
39 int audio_in_minsize; 36 int audio_in_minsize;
40 int audio_out_minsize; 37 int audio_out_minsize;
41 // other codecs: 38 // other codecs:
42 void* context; // codec-specific stuff (usually HANDLE or struct pointer) 39 void* context; // codec-specific stuff (usually HANDLE or struct pointer)
43 // ac3_frame_t *ac3_frame;
44 void* ac3_frame; // TODO: use *context
45 int pcm_bswap;
46 #ifdef HAVE_OGGVORBIS
47 struct ov_struct_st *ov; // should be assigned on init TODO: use *context
48 #endif
49 unsigned char *codecdata; 40 unsigned char *codecdata;
50 int codecdata_len; 41 int codecdata_len;
51 } sh_audio_t; 42 } sh_audio_t;
52 43
53 typedef struct { 44 typedef struct {
66 unsigned int outfmtidx; 57 unsigned int outfmtidx;
67 // unsigned int bitrate; 58 // unsigned int bitrate;
68 // buffers: 59 // buffers:
69 float num_frames; // number of frames played 60 float num_frames; // number of frames played
70 int num_frames_decoded; // number of frames decoded 61 int num_frames_decoded; // number of frames decoded
71 unsigned our_out_buffer_size;
72 char *our_out_buffer;
73 mp_image_t *image; 62 mp_image_t *image;
74 // win32 codec stuff: 63 // win32 codec stuff:
75 AVIStreamHeader video; 64 AVIStreamHeader video;
76 BITMAPINFOHEADER *bih; // in format 65 BITMAPINFOHEADER *bih; // in format
77 BITMAPINFOHEADER o_bih; // out format
78 void* context; // codec-specific stuff (usually HANDLE or struct pointer) 66 void* context; // codec-specific stuff (usually HANDLE or struct pointer)
79 HIC hic; // handle
80 void* video_out; 67 void* video_out;
81 void* vfilter; 68 void* vfilter;
82 int vf_inited; 69 int vf_inited;
83 } sh_video_t; 70 } sh_video_t;
84 71