comparison libmpcodecs/vd_libmpeg2.c @ 5003:88481d4b9e0e

divx_quality and equalizer support done
author arpi
date Sat, 09 Mar 2002 19:18:46 +0000
parents c32191b02a66
children 9c29ace24f4d
comparison
equal deleted inserted replaced
5002:70751bbd6404 5003:88481d4b9e0e
32 } 32 }
33 33
34 // init driver 34 // init driver
35 static int init(sh_video_t *sh){ 35 static int init(sh_video_t *sh){
36 mpeg2_init(); 36 mpeg2_init();
37 picture->pp_options=0; //divx_quality; 37 picture->pp_options=divx_quality;
38 // send seq header to the decoder: *** HACK *** 38 // send seq header to the decoder: *** HACK ***
39 mpeg2_decode_data(NULL,videobuffer,videobuffer+videobuf_len,0); 39 mpeg2_decode_data(NULL,videobuffer,videobuffer+videobuf_len,0);
40 mpeg2_allocate_image_buffers (picture); 40 mpeg2_allocate_image_buffers (picture);
41 return 1; 41 return 1;
42 } 42 }