ret = do_DWT(inimage, inmask, width, height, nLevels, 0, wvtfilter, workcoeff, workmask);
--- common/video/iso-mpeg4/src/vtc_main_wavelet.cpp.orig 2005-05-04 13:56:00.000000000 -0600
+++ common/video/iso-mpeg4/src/vtc_main_wavelet.cpp 2009-11-19 03:07:44.000000000 -0700
- errorHandler("Filter type %d is not available.",type);
+ errorHandler((char*)"Filter type %d is not available.",type);
(Int *)malloc(sizeof(Int)*width[col]*height[col]))==NULL)
- errorHandler("Memory error: outcoeff\n");
+ errorHandler((char*)"Memory error: outcoeff\n");
(UChar *)malloc(sizeof(Char)*width[col]*height[col]))==NULL)
- errorHandler("Memory error: outmask\n");
+ errorHandler((char*)"Memory error: outmask\n");
ret = do_DWT(inimage[col], inmask[col], width[col], height[col],
nLevels[col], 0, &(wvtfilter[col==0?0:1]),
- errorHandler("DWT Error Code %d\n", ret);
+ errorHandler((char*)"DWT Error Code %d\n", ret);
mzte_codec.m_iMean[col] = RemoveDCMean(outcoeff[col], outmask[col],
width[col], height[col], nLevels[col]);
if ((inmask[col]=(UChar *)malloc(sizeof(UChar)*
Width[col]*Height[col]))==NULL)
- errorHandler("Memory Failed\n");
+ errorHandler((char*)"Memory Failed\n");
if ((incoeff[col] = (Int *)malloc(sizeof(Int)*
Width[col]*Height[col]))==NULL)
- errorHandler("Memory Failed\n");
+ errorHandler((char*)"Memory Failed\n");
/* copy dequantized coefficients to incoeff */
if ((outmask[col] = (UChar *)malloc(sizeof(UChar)*
Width[col]*Height[col]))==NULL)
- errorHandler("Memory Failed\n");
+ errorHandler((char*)"Memory Failed\n");
if ((outimage[col] = (UChar *)malloc(sizeof(UChar)*
Width[col]*Height[col]))==NULL)
- errorHandler("Memory Failed\n");
+ errorHandler((char*)"Memory Failed\n");
if(mzte_codec.m_iQuantType==2) {
Int target_spatial_levels;
nLevels[col], MinLevel, 0 /* byte */,