English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Video/Audio codecs in ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-17 (14:34)
From: Brian Hurt <bhurt@s...>
Subject: Re: [Caml-list] Video/Audio codecs in ocaml

On Thu, 17 Nov 2005, Jonathan Roewen wrote:

>> Has anyone done anything with video and/or audio processing
>> using ocaml?
> Even better: would anyone like to help with an mpeg2 decoder written
> completely in ocaml?
> OCaml is supposed to be good at numerical processing right? So I hope
> performance for a 100% software based decoder will be okay...

No, it won't be.  Nor, I comment, will C.  To get sufficient performance 
for real-time MPEG decoding, you need to code the inner loop (the 2DFFT) 
using SSE or Altivec or similiar.

The higher level stuff (managing the bit stream, etc.) can all be done in