comparison libmpcodecs/vd_odivx.c @ 4997:5efa42dd4cd8

divx5 support into libmpcodecs (untested)
author atmos4
date Sat, 09 Mar 2002 00:57:05 +0000
parents eb57973314ae
children 88481d4b9e0e
comparison
equal deleted inserted replaced
4996:47c614b4434e 4997:5efa42dd4cd8
102 #ifdef NEW_DECORE 102 #ifdef NEW_DECORE
103 dec_param.output_format=DEC_USER; 103 dec_param.output_format=DEC_USER;
104 #else 104 #else
105 dec_param.color_depth = 32; 105 dec_param.color_depth = 32;
106 #endif 106 #endif
107 #ifdef DECORE_DIVX5
108 dec_param.codec_version = (sh->format==mmioFOURCC('D','I','V','3'))?311:500;
109 dec_param.build_number = 0;
110 #endif
107 dec_param.x_dim = sh->disp_w; 111 dec_param.x_dim = sh->disp_w;
108 dec_param.y_dim = sh->disp_h; 112 dec_param.y_dim = sh->disp_h;
109 decore(0x123, DEC_OPT_INIT, &dec_param, NULL); 113 decore(0x123, DEC_OPT_INIT, &dec_param, NULL);
110 // dec_set.postproc_level = divx_quality; 114 // dec_set.postproc_level = divx_quality;
111 // decore(0x123, DEC_OPT_SETPP, &dec_set, NULL); 115 // decore(0x123, DEC_OPT_SETPP, &dec_set, NULL);