comparison libmpcodecs/ve_rawrgb.c @ 9014:c671e9adbe22

Cleanup of the muxer API, func parameters muxer & muxer_f eliminated. patch by Andriy N. Gritsenko <andrej@lucky.net>
author arpi
date Sun, 19 Jan 2003 01:48:52 +0000
parents 27da710563c2
children
comparison
equal deleted inserted replaced
9013:454ddf1e295f 9014:c671e9adbe22
13 #include "muxer.h" 13 #include "muxer.h"
14 14
15 #include "img_format.h" 15 #include "img_format.h"
16 #include "mp_image.h" 16 #include "mp_image.h"
17 #include "vf.h" 17 #include "vf.h"
18
19 extern void mencoder_write_chunk(muxer_stream_t *s,int len,unsigned int flags);
20 18
21 //===========================================================================// 19 //===========================================================================//
22 20
23 struct vf_priv_s { 21 struct vf_priv_s {
24 muxer_stream_t* mux; 22 muxer_stream_t* mux;
46 return 0; 44 return 0;
47 } 45 }
48 46
49 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ 47 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
50 mux_v->buffer=mpi->planes[0]; 48 mux_v->buffer=mpi->planes[0];
51 mencoder_write_chunk(mux_v, mpi->width*mpi->height*3, 0x10); 49 muxer_write_chunk(mux_v, mpi->width*mpi->height*3, 0x10);
52 return 1; 50 return 1;
53 } 51 }
54 52
55 //===========================================================================// 53 //===========================================================================//
56 54