[XviD-devel] Multi-instance of decoder

Brad Cagle brad.cagle at gmail.com
Fri May 23 15:30:26 CEST 2008


A thread per instance would be the way to go. I have used Xvid in many
multi-threaded
projects, and It has never been a problem. Also if you are using multi-core
CPU's your
project will be utilising the CPU more efficiently.

On Fri, May 23, 2008 at 2:53 AM, RG Nur Rahmat <rgnurrahmat at gmail.com>
wrote:

> Hello Guys,
>
> I am trying to use XviD decoder in 4 instances in which they are running
> parallel, so far, all I know if these decoder functions are called
> sequentially, I will not have problem in displaying the encoded video.
> However, in the network, we can not determine when data packet will arrive
> so that my decoder function will crash due to parallel usage.
>
> My question is, how to go about this problem? Will multi-threading solve
> the
> problem, considering I'll be suing the same decoder core?
>
> Thank you for your replies.
>
> Regards,
> RG Nur Rahmat
> _______________________________________________
> XviD-devel mailing list
> XviD-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel
>


More information about the XviD-devel mailing list