Update of /cvsroot/dirac/compress/encoder
In directory
sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv12419/encoder
Modified Files:
encmain.cpp
Log Message:
Supports higher wavelet depth when MMX is not used.
Index: encmain.cpp
============================================================
=======
RCS file: /cvsroot/dirac/compress/encoder/encmain.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** encmain.cpp 20 Jun 2007 14:42:04 -0000 1.55
--- encmain.cpp 26 Jul 2007 12:47:48 -0000 1.56
***************
*** 58,62 ****
using namespace std;
! const int VIDEO_BUFFER_SIZE = 1024*1024;
unsigned char video_buf[VIDEO_BUFFER_SIZE];
--- 58,62 ----
using namespace std;
! const int VIDEO_BUFFER_SIZE = 32*1024*1024;
unsigned char video_buf[VIDEO_BUFFER_SIZE];
***************
*** 807,814 ****
i++;
enc_ctx.enc_params.wlt_depth =
strtoul(argv[i],NULL,10);
if(enc_ctx.enc_params.wlt_depth > 5)
cerr << "Exceeds maximum
transform depth ";
! else
parsed[i] = true;
}
else if ( strcmp(argv[i],
"-iwlt_filter") == 0 )
--- 807,818 ----
i++;
enc_ctx.enc_params.wlt_depth =
strtoul(argv[i],NULL,10);
+ #if defined(HAVE_MMX)
if(enc_ctx.enc_params.wlt_depth > 5)
cerr << "Exceeds maximum
transform depth ";
! else
parsed[i] = true;
+ #else
+ parsed[i] = true;
+ #endif
}
else if ( strcmp(argv[i],
"-iwlt_filter") == 0 )
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dirac-commits mailing list
Dirac-commits lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dirac-com
mits
|