From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 71569BB9C for ; Thu, 17 Nov 2005 15:34:33 +0100 (CET) Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jAHEYWRs028710 for ; Thu, 17 Nov 2005 15:34:32 +0100 Received: from [192.168.42.2] (bhurt.dsl.visi.com [208.42.141.66]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id 64C7B8B77; Thu, 17 Nov 2005 08:34:31 -0600 (CST) Date: Thu, 17 Nov 2005 08:39:13 -0600 (CST) From: Brian Hurt X-X-Sender: bhurt@localhost.localdomain To: Jonathan Roewen Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Video/Audio codecs in ocaml In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Miltered: at concorde with ID 437C94F8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 ocaml:01 decoding:01 wrote:01 numerical:03 stream:04 brian:04 brian:04 100%:94 thu:05 written:06 okay:07 sufficient:08 stuff:08 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 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 Ocaml. Brian