Re: Xvid-devel Digest, Vol 74, Issue 2

Michael Militzer <[email protected]>
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
Hi,

seems a bit slow indeed. Have you used the '-asm' option with xvid_decraw
to enable assembly optimizations?

If you want to render the video to the screen with maximum speed you should
try to offset the RGB colorspace conversion to the graphics card. Almost
all graphics adapters on PC support this. So create a YUV overlay (e.g. with
DirectDraw or SDL), use XVID_CSP_I420 in xvid and let the graphics card do
the rest...

Regards,
Michael


Quoting 李冰 <[email protected]>:

> Hello  Everyone:
>
>         I am using  xvid decore, and I am runing the  xvid_decraw.c   
> in the downloaded xvid source package.
>
>         My raw mpeg4 file is a 720x576 image sequence. My computer   
> is Intel Core Duo CPU T2600 2.16G.
>
>         I changed the CSP and BPP to different values.
>
>
>         I i set CSP = XVID_CSP_I420 ; BPP=1,  the decode speed is   
> about  80fps.
>         I i set CSP = XVID_CSP_BGR ;  BPP=3,  the decode speed is   
> about  40fps. It seems that the decoder slow down heavily.
>         I i set CSP = XVID_CSP_RGB565 ; BPP=2,  the decode speed is   
> about  25fps. I can do nothing except decode!
>
>
>         Since my VGA is only in 16bit color depth, if i can decode   
> fast using the  XVID_CSP_RGB565 output format, I will make
>
> least changes with xvid.   But the speed is too slow!
>
>         I wanna to know:
>         1)  Is my decode speed normal?? why is the  decode process so slow?
>         2)  If i wanna to display the mp4 streams on 16-bit vga, how  
>  to satisfy the need  of speed?
>         3)  If i use  I420 output mode, how to convert it to RGB565 format??
>
>          Thanks to all!
>
>                                                Ice
>
>
>
> 发件人: [email protected]
> 发送时间: 2009-03-25  19:00:10
> 收件人: [email protected]
> 抄送:
> 主题: Xvid-devel Digest, Vol 74, Issue 2
>
> Send Xvid-devel mailing list submissions to
> [email protected]
> To subscribe or unsubscribe via the World Wide Web, visit
> http://list.xvid.org/mailman/listinfo/xvid-devel
> or, via email, send a message with subject or body 'help' to
> [email protected]
> You can reach the person managing the list at
> [email protected]
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Xvid-devel digest..."
> Today's Topics:
>    1. Using the MMX and SSE functions on linux platform (???)
>    2. Re: Using the MMX and SSE functions on linux platform
>       (Michael Militzer)
> ----------------------------------------------------------------------
> Message: 1
> Date: Wed, 25 Mar 2009 09:37:01 +0800
> From: ??? <[email protected]>
> Subject: [XviD-devel] Using the MMX and SSE functions on linux
> platform
> To: [email protected]
> Message-ID:
> <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
> Dear frineds:      I want to use the MMX and SSE functions of Xvid to
> optimize the program,but I find them not be used using the default Xvid
> configure file.
>    What could I do ? My CPU can run MMX and SSE codes.
> thank you!
> Kongxw
> ------------------------------
> Message: 2
> Date: Wed, 25 Mar 2009 08:23:17 +0100
> From: Michael Militzer <[email protected]>
> Subject: Re: [XviD-devel] Using the MMX and SSE functions on linux
> platform
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
> format="flowed"
> Hi,
> make sure you have nasm (>= 2.0) installed on your build machine.
> Otherwise, configure will exclude the MMX/SSE asm code.
> http://www.nasm.us/
> Regards,
> Michael
> Quoting ??? <[email protected]>:
>> Dear frineds:      I want to use the MMX and SSE functions of Xvid to
>> optimize the program,but I find them not be used using the default Xvid
>> configure file.
>>    What could I do ? My CPU can run MMX and SSE codes.
>>
>> thank you!
>>
>> Kongxw
>> _______________________________________________
>> Xvid-devel mailing list
>> [email protected]
>> http://list.xvid.org/mailman/listinfo/xvid-devel
>>
>>
> ------------------------------
> _______________________________________________
> Xvid-devel mailing list
> [email protected]
> http://list.xvid.org/mailman/listinfo/xvid-devel
> End of Xvid-devel Digest, Vol 74, Issue 2
> *****************************************
> .
> _______________________________________________
> Xvid-devel mailing list
> [email protected]
> http://list.xvid.org/mailman/listinfo/xvid-devel
>






_______________________________________________
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.