Re: XviD-devel Digest, Vol 70, Issue 3

"李冰" <[email protected]>
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
Dear  Everybody:

       First I will thank you all, and double thanks to those who replied my questions.

       Thanks to  Michael and Dark Shikari,  I really find that my problems were caused by nasm version.

       My  envirionment  is:    Intel Core Duo CPU, 2.16G,  2G Mem, Fedora Core 8,    XVID source 1.1.3,  nasm 2.05.01 .

       Belows are the output of ./configure.  Please notice the red-marked section.  

       It says that my "nasm" is too old!!  In fact my nasm is the most recent version:  NASM version 2.05.01 compiled on Oct 29 2008. 

       

[libing@libing generic]$ ./configure

(..............I omit some unimportant infomation here.)

checking for yasm... no
checking for nasm... yes
checking for nasm patch version... nasm: error: unrecognised option `-r'
nasm: error: no input file specified
type `nasm -h' for help
-1
configure: WARNING: nasm patch version is too old
configure: WARNING: no correct assembler was found - Compiling generic sources only
configure: creating ./config.status
config.status: creating platform.inc

[libing@libing generic]$ nasm  -v
NASM version 2.05.01 compiled on Oct 29 2008



Thus , my problems are listed below:

Q1.   How to compile xvid using   nasm 2.05.01 ? why my configure can not correctly process it?

Q2.   In the xvid_decraw.c , if I set use to XVID_CSP_I420, the decode speed may be up to 220 fps(720x576 video),
        If i use XVID_CSP_RGB565, the speed will slow down to only 80fps.   I wonder why it consume so much CPU time to do yuv/rgb convertion?

Q3.   When I compile xvid, if I want to use assemble language, I must manually define ARCH_IS_IA32 in xvid.h. Or else assemble code will not be 
        compiled.  


  I hope you can solve these problems for me.  Thanks !



Best reguard!
__________________________________
                  Ice Lee 




发件人: xvid-devel-request 
发送时间: 2008-11-19  19:00:09 
收件人: xvid-devel 
抄送: 
主题: XviD-devel Digest, Vol 70, Issue 3 
Send XviD-devel mailing list submissions to

Today's Topics:
   1. Re: About xvid source assembly language optimize(why it does
      not work?) (Jason Garrett-Glaser)
   2. Re: About xvid source assembly language optimize(why it does
      not work?) (Michael Militzer)
----------------------------------------------------------------------
Message: 1
Date: Tue, 18 Nov 2008 08:50:16 -0800
From: "Jason Garrett-Glaser" <[email protected]>
To: [email protected]
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1

Are you really sure that not using "-asm" implies non-asm?  I would be
quite surprised if that was indeed the default...
Dark Shikari
------------------------------
Message: 2
Date: Tue, 18 Nov 2008 18:05:28 +0100
From: Michael Militzer [email protected]
To: [email protected]
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
format="flowed"
Hi,
make sure you really compiled xvid with assembly optimizations enabled. You
need yasm or nasm present - or otherwise xvid will be compiled with c-code
only.
Also note that the -m option will write out data to your disk. It might be
that more time is spent on I/O than on the actual decoding. In that case,
asm and noasm options could seem to perform similar.
Regards,
Michael
_______________________________________________
XviD-devel mailing list
[email protected]
http://list.xvid.org/mailman/listinfo/xvid-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.