Re: Multi-instance of decoder

"Brad Cagle" <[email protected]>
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
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 <[email protected]>
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
> [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.