[Mplayer-cvslog] CVS: main mplayer.c,1.118,1.119

GEREOFFY arpi_esp at users.sourceforge.net
Mon May 14 04:06:35 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv23489

Modified Files:
	mplayer.c 
Log Message:
opendivx 0.50cvs stuff added (disabled by default)

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -C2 -r1.118 -r1.119
*** mplayer.c	2001/05/13 22:45:21	1.118
--- mplayer.c	2001/05/14 02:06:32	1.119
***************
*** 1188,1197 ****
     { DEC_PARAM dec_param;
       DEC_SET dec_set;
  	dec_param.x_dim = sh_video->bih->biWidth;
  	dec_param.y_dim = sh_video->bih->biHeight;
! 	dec_param.color_depth = 32;
  	decore(0x123, DEC_OPT_INIT, &dec_param, NULL);
  	dec_set.postproc_level = divx_quality;
  	decore(0x123, DEC_OPT_SETPP, &dec_set, NULL);
     }
     if(verbose) printf("INFO: OpenDivX video codec init OK!\n");
--- 1188,1210 ----
     { DEC_PARAM dec_param;
       DEC_SET dec_set;
+ //     DEC_MEM_REQS dec_mem;
  	dec_param.x_dim = sh_video->bih->biWidth;
  	dec_param.y_dim = sh_video->bih->biHeight;
! #if 0
!         // 0.50-CVS
!         decore(0x123, DEC_OPT_MEMORY_REQS, &dec_param, &dec_mem);
!         dec_param.buffers.mp4_edged_ref_buffers=malloc(dec_mem.mp4_edged_ref_buffers_size);
!         dec_param.buffers.mp4_edged_for_buffers=malloc(dec_mem.mp4_edged_for_buffers_size);
!         dec_param.buffers.mp4_display_buffers=malloc(dec_mem.mp4_display_buffers_size);
!         dec_param.buffers.mp4_state=malloc(dec_mem.mp4_state_size);
!         dec_param.buffers.mp4_tables=malloc(dec_mem.mp4_tables_size);
!         dec_param.buffers.mp4_stream=malloc(dec_mem.mp4_stream_size);
! #else
!         dec_param.color_depth = 32;
! #endif
  	decore(0x123, DEC_OPT_INIT, &dec_param, NULL);
  	dec_set.postproc_level = divx_quality;
  	decore(0x123, DEC_OPT_SETPP, &dec_set, NULL);
+ 
     }
     if(verbose) printf("INFO: OpenDivX video codec init OK!\n");


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list