diff options
author | 2001-05-14 02:06:32 +0000 | |
---|---|---|
committer | 2001-05-14 02:06:32 +0000 | |
commit | f0868dd2218a4afb59e8b7ecfd37f7c546156ce7 (patch) | |
tree | 53e994f34a2eb308338e81c94deadec2c3632366 /mplayer.c | |
parent | 74c06e3776581169249d54014816b06d38a87836 (diff) |
opendivx 0.50cvs stuff added (disabled by default)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@796 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -1187,12 +1187,25 @@ switch(sh_video->codec->driver){ if(verbose) printf("OpenDivX video codec\n"); { 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; - dec_param.color_depth = 32; +#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"); break; |