From xvid-devel-bounces@xvid.org Tue Oct 3 01:18:08 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 3808A126D82 for ; Tue, 3 Oct 2006 01:18:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 2BF191A75CC; Tue, 3 Oct 2006 01:18:37 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07559-05; Tue, 3 Oct 2006 01:18:36 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 5950A1A76AB; Tue, 3 Oct 2006 01:18:29 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 433F81A769C for ; Tue, 3 Oct 2006 01:18:27 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07559-03 for ; Tue, 3 Oct 2006 01:18:23 +0200 (CEST) Received: from rg100.edatahome.com (rg100.edatahome.com [61.151.251.34]) by s8.lansco.de (Postfix) with ESMTP id 135921A75CC for ; Tue, 3 Oct 2006 01:18:21 +0200 (CEST) Received: from mail.edatahome.com (mail.edatahome.com [61.151.251.56]) by rg100.edatahome.com (MOS 3.7.3-GA) with ESMTP id ACM95010; Tue, 3 Oct 2006 07:11:58 +0800 (CST) Received: from YMCHENLT2 (bby-wired-gen1-173.authent.sfu.ca [142.58.64.173]) by mail.edatahome.com (MOS 3.7.5a-GA) with ESMTP id FMP01962 (AUTH ymchen@centralitycomm.com.cn); Tue, 3 Oct 2006 07:08:41 +0800 (CST) From: "Yue-Meng Chen" To: Date: Tue, 3 Oct 2006 07:17:22 +0800 Message-ID: <000001c6e678$f40dd8d0$ad403a8e@YMCHENLT2> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Virus-Scanned: amavisd-new at lansco.de Subject: [XviD-devel] XVID on Visual Studio 2005 X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Hello, I am moving all of my work related to XVID from Visual Studio 2003 to Visual Studio 2005, however, it seems there is some problem to get it compiled. The error massage reported there was something in "portab.h" conflicting with VC system file: "crtdefs.h". I also tried to download the newly updated XVID source code from web-site, but problem is still there. The setting in preprocessor definitions I am using is "ARCH_IS_GENERIC" & "ARCH_IS_32BIT". Did anybody confront the same problem before? or shed some light on it? Thanks, - Richard _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Tue Oct 3 02:51:08 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 98772126D95 for ; Tue, 3 Oct 2006 02:51:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 177731A7F44; Tue, 3 Oct 2006 02:51:38 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10411-08; Tue, 3 Oct 2006 02:51:37 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 280321A7F47; Tue, 3 Oct 2006 02:51:31 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 250BE1A7692 for ; Tue, 3 Oct 2006 02:51:29 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10381-06 for ; Tue, 3 Oct 2006 02:51:27 +0200 (CEST) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by s8.lansco.de (Postfix) with ESMTP id A7B491A7F3D for ; Tue, 3 Oct 2006 02:51:26 +0200 (CEST) Received: by nf-out-0910.google.com with SMTP id h2so24071nfe for ; Mon, 02 Oct 2006 17:50:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ulGaygOU6NZJOVyOXp9lufp/IuHEzVjMOGh716JmQKi9UhzEip4FBBsrc5jCP8UpaluWTmmkGSqN36YWCxJHlcRdQ5T1eJ+hdzBwj5P6dM7BjV/tBBrJslS+26vD6ybX5IYdgn2Yu7sUOAqzl0oBy7YTI6sB5xEahWxEucdB8FQ= Received: by 10.49.41.12 with SMTP id t12mr90247nfj; Mon, 02 Oct 2006 17:50:54 -0700 (PDT) Received: by 10.48.223.9 with HTTP; Mon, 2 Oct 2006 17:50:54 -0700 (PDT) Message-ID: <67ce2c3a0610021750i38470138m333ba7fc49f5a176@mail.gmail.com> Date: Tue, 3 Oct 2006 02:50:54 +0200 From: wiak To: xvid-devel@xvid.org MIME-Version: 1.0 X-Virus-Scanned: amavisd-new at lansco.de Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.6 Subject: [XviD-devel] deinterlace option in xvid gui anyone? X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de this is a good option to have when people get interlanced video dooh ^^ _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Tue Oct 3 23:56:25 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id E35E4126D92 for ; Tue, 3 Oct 2006 23:56:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id C4A1A1A8214; Tue, 3 Oct 2006 23:56:56 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24012-09; Tue, 3 Oct 2006 23:56:56 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 8FB1D1A821B; Tue, 3 Oct 2006 23:56:46 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 5A3281A820B for ; Tue, 3 Oct 2006 23:56:45 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24012-06 for ; Tue, 3 Oct 2006 23:56:42 +0200 (CEST) Received: from s10.lansco.de (ip1.s10.lansco.de [88.198.224.114]) by s8.lansco.de (Postfix) with ESMTP id 30BE019CE51 for ; Tue, 3 Oct 2006 23:56:42 +0200 (CEST) Received: from localhost (s10.lansco.de [88.198.224.114]) by s10.lansco.de (Postfix) with ESMTP id 5DC1CE0095; Tue, 3 Oct 2006 23:56:10 +0200 (CEST) Received: from tnt-2-26.pops.easynet.fr (tnt-2-26.pops.easynet.fr [212.180.33.26]) by www.lansco.de (Horde MIME library) with HTTP; Tue, 03 Oct 2006 23:56:10 +0200 Message-ID: <20061003235610.x81tv512jkgckc48@www.lansco.de> Date: Tue, 03 Oct 2006 23:56:10 +0200 From: Michael Militzer To: p_j_r_m References: <20061003095556.93339.qmail@web37701.mail.mud.yahoo.com> In-Reply-To: <20061003095556.93339.qmail@web37701.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.1.2) X-Virus-Scanned: amavisd-new at lansco.de Cc: xvid-devel@xvid.org Subject: Re: [XviD-devel] [XviD-users] X86_64 compilation X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Hi, do you have yasm (http://www.tortall.net/projects/yasm/) installed on your machine? Might be required to build the asm sources... Regards, Michael Quoting p_j_r_m : > Hi > > I am a Xvid newbie compiling last xvid 1.1.0 for a X86_64 > architecture, but configure seems to produce (by default) makefiles > with generic source, without using assembler sources for x86_64. > (ARCHITECTURE=-DARCH_IS_GENERIC appears un platform.inc) > > #./configure > configure:1388: checking build system type > configure:1406: result: x86_64-unknown-linux-gnu > configure:1414: checking host system type > configure:1428: result: x86_64-unknown-linux-gnu > configure:1436: checking target system type > configure:1450: result: x86_64-unknown-linux-gnu > configure:1466: checking whether to use default CFLAGS > configure:1470: result: yes > configure:1524: checking for gcc > configure:1540: found /usr/bin/gcc > configure:1550: result: gcc > configure:1794: checking for C compiler version > configure:1797: gcc --version &5 > gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-56) > Copyright (C) 2002 Free Software Foundation, Inc. > ... > ...etc > > Its not clear to me if I must execute something as configure > --build=x86_64 or similar. If so, are the assembler sources correct > for X86_64 architecture ? Are they worth using? > > Thanks > > > > > --------------------------------- > Get your own web address for just $1.99/1st yr. We'll help. Yahoo! > Small Business. _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Wed Oct 4 10:37:45 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 85920126D96 for ; Wed, 4 Oct 2006 10:37:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 132D3190D2B; Wed, 4 Oct 2006 10:38:14 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12964-08; Wed, 4 Oct 2006 10:38:13 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 138BD1A80FB; Wed, 4 Oct 2006 10:38:08 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id B7881189CBB for ; Wed, 4 Oct 2006 10:38:03 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13011-08 for ; Wed, 4 Oct 2006 10:38:01 +0200 (CEST) Received: from smtp-msa-out15.orange.fr (smtp15.orange.fr [193.252.23.84]) by s8.lansco.de (Postfix) with ESMTP id 502F8189CAF for ; Wed, 4 Oct 2006 10:38:01 +0200 (CEST) Received: from wwinf1526 (wwinf1526 [172.22.146.100]) by mwinf1504.orange.fr (SMTP Server) with ESMTP id 60FB3700009B for ; Wed, 4 Oct 2006 10:37:29 +0200 (CEST) X-ME-UUID: 20061004083729397.60FB3700009B@mwinf1504.orange.fr From: skal To: xvid-devel@xvid.org Message-ID: <10646486.53071159951049361.JavaMail.www@wwinf1526> MIME-Version: 1.0 X-Originating-IP: [83.114.22.78] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| Date: Wed, 4 Oct 2006 10:37:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] deinterlace option in xvid gui anyone? X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: skal65535@orange.fr, xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de > this is a good option to have when people get interlanced video dooh ^^ Copy that. _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Tue Oct 10 17:45:21 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 7057B126D85 for ; Tue, 10 Oct 2006 17:45:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 89BCC1AD007; Tue, 10 Oct 2006 17:45:49 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30843-02; Tue, 10 Oct 2006 17:45:48 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id DE9471AD020; Tue, 10 Oct 2006 17:45:39 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 8348E1AD004 for ; Tue, 10 Oct 2006 17:45:37 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30546-09 for ; Tue, 10 Oct 2006 17:45:29 +0200 (CEST) Received: from cytosin.uni-konstanz.de (cytosin.uni-konstanz.de [134.34.240.61]) by s8.lansco.de (Postfix) with ESMTP id 1E48B1AD003 for ; Tue, 10 Oct 2006 17:45:29 +0200 (CEST) Received: from [192.168.178.84] (X4474.x.pppool.de [89.59.68.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cytosin.uni-konstanz.de (Postfix) with ESMTP id 72CD18DF for ; Tue, 10 Oct 2006 17:44:56 +0200 (CEST) Message-ID: <452BBFF6.9030707@uni-konstanz.de> Date: Tue, 10 Oct 2006 17:44:54 +0200 From: Johannes Reinhardt User-Agent: Thunderbird 1.5.0.7 (X11/20060922) MIME-Version: 1.0 To: xvid-devel@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Subject: [XviD-devel] A SSIM Plugin for XviD X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Hi, I hacked together a plugin that calculates the ssim quality metric (http://www.cns.nyu.edu/~lcv/ssim/) for every encoded frame and outputs a summary for every frame and at the end. The ssim stats can be written into a file. There are 3 patches put here: http://xvid.ist-dein-freund.de/stuff/ssim01.zip I tried to attach them to the mail, but the list complains about mails > 10 kB. example_make.diff: Fixes a problem with the examples makefile and Linux by replacing the explicit name of the static lib with the one from platform.inc ssim_core.diff: Includes plugin_ssim into xvidcore like the other plugins rawenc.diff: Integrates plugin_ssim into xvid_rawenc and adds two new commandlineswitches Then there is plugin_ssim.c: The source file of the plugin. Belongs to xvidcore/src/plugins plugin_ssim-a.asm: Some asm routines to speed things up a bit. Belongs to xvidcore/src/plugins Some notes: There is code in plugin_ssim.c to visualize the ssim error between original and compressed frame. It uses display.h and display-x11.c from x264 and only works with X. I am not sure how to do tell automake/configure to include these only in *NIX. Is it ok to #ifdef the specific code? The computation of ssim is slow. I tried to speed it up with a bit asm, but I have not coded in asm before. It would be great if some of the asm wizards could comment. It can be sped up more by reducing accuracy, by changing GRID to 2 or 4. But there seems to lurks a bug, as this sometimes gives strange results. I will look into this. The calculated ssim values can differ from the ones avisynth or x264 calculates, so only use them to compare different xvid settings. I call check_cpu_features() in order to turn the sse/mmx code on. What about adding things cpu features and number of threads to xvid_plg_create_t. There are some deprecated fields in xvid_plg_create_t that should have been removed before 1.0. I think about threading the ssim calculation. What would be the best way doing this? Using the macros from motion_smp? Regards, Johannes _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Wed Oct 11 20:56:32 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 8B94E126D94 for ; Wed, 11 Oct 2006 20:56:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id E12681ADB1D; Wed, 11 Oct 2006 20:57:01 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29839-01; Wed, 11 Oct 2006 20:57:01 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 40C871ADB32; Wed, 11 Oct 2006 20:56:56 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id AC97E1AD763 for ; Wed, 11 Oct 2006 20:56:51 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29594-09 for ; Wed, 11 Oct 2006 20:56:46 +0200 (CEST) Received: from webv02.charter.net (rems03.cluster1.charter.net [209.225.8.203]) by s8.lansco.de (Postfix) with ESMTP id 1BAA61ADB15 for ; Wed, 11 Oct 2006 20:56:45 +0200 (CEST) Received: from aa01.charter.net ([10.20.200.153]) by webv02.charter.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20061011184503.DEWK8958.webv02.charter.net@aa01.charter.net> for ; Wed, 11 Oct 2006 14:45:03 -0400 Received: from envy.themanium.net ([68.184.80.176]) by aa01.charter.net with ESMTP id <20061011184503.CGWJ19212.aa01.charter.net@envy.themanium.net> for ; Wed, 11 Oct 2006 14:45:03 -0400 Received: from danspam by envy.themanium.net with local (Exim 4.62) (envelope-from ) id 1GXj4h-0005Yj-2f for xvid-devel@xvid.org; Wed, 11 Oct 2006 14:45:03 -0400 Date: Wed, 11 Oct 2006 14:45:03 -0400 From: Dan To: xvid-devel@xvid.org Message-ID: <20061011184502.GA21248@envy.themanium.net> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 X-Virus-Scanned: amavisd-new at lansco.de Subject: [XviD-devel] GPU Fragment Processor Acceleration of XviD encoding X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: danspam@envy.themanium.net, xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Xvid Developers, For the last year or so, I have been engaged in research in (among other things) using Graphics Processors to accelerate signal processing and other scientific calculations. The results, in some cases are quite stark. In some cases, as much as 100x or more speedup has been observed. 30x+ over, say, a Athlon64 ~2.4GHz, is not uncommon for some of the 2D signal processing calculations that I've worked with. I am also an XviD user and I believe that there may be portions of the XviD encoding process that coule be accelerated using these techniques. I'd like to investigate whether this is the case. I loooked through the forums at xvid.org, and browsed a bit through the mailing list archives. I saw that this has been brought up before, but not by anyone that appeared to be prepared to do actual development, and it does not appear to have been followed through with. I am, unfortunately, totally new to the programmatic workings of XviD. I will ramp up on this, but in the meantime, if anyone is able and willing to give me any points on where the most computationally intensive part of the code is, it would help me tremendously. I don't yet know how much time I can dedicate to this, but I think it would be a very interesting result if significant speedups became available. Thanks for any tips, and I look forward to contributing some working prototypes ASAP. _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Wed Oct 11 21:36:33 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 65EB1126D94 for ; Wed, 11 Oct 2006 21:36:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id D92EB1ADB62; Wed, 11 Oct 2006 21:37:02 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31286-02; Wed, 11 Oct 2006 21:37:02 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 870381ADB65; Wed, 11 Oct 2006 21:36:55 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id D26D81ADB49 for ; Wed, 11 Oct 2006 21:36:52 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31093-08 for ; Wed, 11 Oct 2006 21:36:50 +0200 (CEST) Received: from mail.ln9.net (rrcs-24-73-193-138.se.biz.rr.com [24.73.193.138]) by s8.lansco.de (Postfix) with ESMTP id E89B41ADB48 for ; Wed, 11 Oct 2006 21:36:49 +0200 (CEST) Received: from [192.168.100.164] (yarr.ad.ln9.net [192.168.100.164]) by mail.ln9.net (Postfix) with ESMTP id 70C4F4B028B; Wed, 11 Oct 2006 15:36:16 -0400 (EDT) Message-ID: <452D47B0.1070309@leoninedev.com> Date: Wed, 11 Oct 2006 15:36:16 -0400 From: Bryan Mayland Organization: Leonine Development, Inc. User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: danspam@envy.themanium.net, xvid-devel@xvid.org References: <20061011184502.GA21248@envy.themanium.net> In-Reply-To: <20061011184502.GA21248@envy.themanium.net> X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] GPU Fragment Processor Acceleration of XviD encoding X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Dan wrote: > I am, unfortunately, totally new to the programmatic workings of XviD. I > will ramp up on this, but in the meantime, if anyone is able and willing to > give me any points on where the most computationally intensive part of the > code is, it would help me tremendously. I don't yet know how much time I can > dedicate to this, but I think it would be a very interesting result if > significant speedups became available. > You can enable internal profiling in the code which will spit out a text file that details how much time is spent in each step of the encoding process. That's in the ./configure script as --enable-iprofile iirc. I can get you started though. The greatest amount of time by far is spent doing motion search, about 50%. This is why there are patches by various authors (myself included) to multi-thread the motion search. I don't know how well this translates to a GPU though, due to the large number of texture reads needed to perform just one search iteration for one macroblock. Your best bet is to turn on the profiling and take it from what you see there. I'm very interested in seeing what ideas you come up with for what to offload to the GPU. I've done contracts doing commercial shader effects so I'm very familiar with the architecture, but never could nail down a good candidate for optimization. _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Oct 13 10:46:37 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id E2B67126D97 for ; Fri, 13 Oct 2006 10:46:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 88CB81AE753; Fri, 13 Oct 2006 10:46:39 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22837-05; Fri, 13 Oct 2006 10:46:39 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id E75D31AE878; Fri, 13 Oct 2006 10:46:24 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id B2D4F1AB659 for ; Fri, 13 Oct 2006 10:46:15 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22594-10 for ; Fri, 13 Oct 2006 10:46:10 +0200 (CEST) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by s8.lansco.de (Postfix) with ESMTP id A70361AE888 for ; Fri, 13 Oct 2006 10:46:09 +0200 (CEST) Received: from imp8-g19.free.fr (imp8-g19.free.fr [212.27.42.39]) by smtp3-g19.free.fr (Postfix) with ESMTP id E03D24951C for ; Fri, 13 Oct 2006 10:45:36 +0200 (CEST) Received: by imp8-g19.free.fr (Postfix, from userid 33) id EF87A89B3; Fri, 13 Oct 2006 11:10:47 +0200 (CEST) Received: from ASte-Genev-Bois-151-1-3-133.w82-121.abo.wanadoo.fr (ASte-Genev-Bois-151-1-3-133.w82-121.abo.wanadoo.fr [82.121.129.133]) by imp8-g19.free.fr (IMP) with HTTP for ; Fri, 13 Oct 2006 11:10:47 +0200 Message-ID: <1160730647.452f5817e3a65@imp8-g19.free.fr> Date: Fri, 13 Oct 2006 11:10:47 +0200 From: pascal.massimino@free.fr To: xvid-devel@xvid.org References: <67ce2c3a0610021750i38470138m333ba7fc49f5a176@mail.gmail.com> In-Reply-To: <67ce2c3a0610021750i38470138m333ba7fc49f5a176@mail.gmail.com> MIME-Version: 1.0 User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 82.121.129.133 X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] deinterlace option in xvid gui anyone? X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Hi everybody, Selon wiak : > this is a good option to have when people get interlanced video dooh ^^ i've added a very simple de-interlacing code available through xvid_image_deinterlace() function in image.h. If someone feels like calling it from the GUI... (but i would recommend using some avisynth deinterlacer instead, of course). bye! Skal _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Oct 13 11:09:18 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 0AFCD126D97 for ; Fri, 13 Oct 2006 11:09:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id C4C171AB328; Fri, 13 Oct 2006 11:09:48 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23857-02; Fri, 13 Oct 2006 11:09:48 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id EEDA91ABE57; Fri, 13 Oct 2006 11:09:39 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 6A4BE1AB3C6 for ; Fri, 13 Oct 2006 11:09:36 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23540-10 for ; Fri, 13 Oct 2006 11:09:31 +0200 (CEST) Received: from smtp-msa-out15.orange.fr (smtp15.orange.fr [193.252.23.84]) by s8.lansco.de (Postfix) with ESMTP id 616201AB328 for ; Fri, 13 Oct 2006 11:09:31 +0200 (CEST) Received: from wwinf1525 (wwinf1525 [172.22.146.49]) by mwinf1503.orange.fr (SMTP Server) with ESMTP id 9B51C700008E for ; Fri, 13 Oct 2006 11:08:58 +0200 (CEST) X-ME-UUID: 20061013090858636.9B51C700008E@mwinf1503.orange.fr From: skal To: xvid-devel@xvid.org Message-ID: <31056447.372081160730538602.JavaMail.www@wwinf1525> MIME-Version: 1.0 X-Originating-IP: [82.121.129.133] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| Date: Fri, 13 Oct 2006 11:08:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] A SSIM Plugin for XviD X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: skal65535@orange.fr, xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Hi Johannes and all, > Message du 10/10/06 17:45 > De : "Johannes Reinhardt" > Objet : [XviD-devel] A SSIM Plugin for XviD > I hacked together a plugin that calculates the ssim quality metric > (http://www.cns.nyu.edu/~lcv/ssim/) for every encoded frame and outputs > a summary for every frame and at the end. The ssim stats can be written > into a file. [...] thanks, committed (with minor modifs). > > The computation of ssim is slow. I tried to speed it up with a bit asm, > but I have not coded in asm before. It would be great if some of the asm > wizards could comment. It can be sped up more by reducing accuracy, by > changing GRID to 2 or 4. But there seems to lurks a bug, as this > sometimes gives strange results. I will look into this. also: since MMX is mixed with floats, i fear some emms() were required, which i added. Could be an explanation for the strange behaviour. > The calculated ssim values can differ from the ones avisynth or x264 > calculates, so only use them to compare different xvid settings. One remark: like most of the SSIM codes around, you're using a square window for averaging. Now, i fear this might lead to spurious resonance with the fact MPEG compression is also block-based (this is mentioned in Wang/Bovik's paper). I think a gaussian filter really is required, which would make things even slower... > I call check_cpu_features() in order to turn the sse/mmx code on. What > about adding things cpu features and number of threads to > xvid_plg_create_t. i'd say calling check_cpu_features() a init time is ok. > I think about threading the ssim calculation. What would be the best way > doing this? Using the macros from motion_smp? sure. And if they prove useful, might be a good idea to bubble them up to a hight-level header... bye! Skal _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Oct 13 12:48:02 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 95D42126D9D for ; Fri, 13 Oct 2006 12:48:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 4E9681AE88D; Fri, 13 Oct 2006 12:48:25 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28336-03; Fri, 13 Oct 2006 12:48:25 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id D105A1AE82F; Fri, 13 Oct 2006 12:48:08 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id B0D751AE7BC for ; Fri, 13 Oct 2006 12:48:04 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28061-09 for ; Fri, 13 Oct 2006 12:48:02 +0200 (CEST) Received: from smtp-msa-out16.orange.fr (smtp16.orange.fr [193.252.23.89]) by s8.lansco.de (Postfix) with ESMTP id 3792E1AA41E for ; Fri, 13 Oct 2006 12:48:02 +0200 (CEST) Received: from wwinf1622 (wwinf1622 [172.22.147.46]) by mwinf1602.orange.fr (SMTP Server) with ESMTP id 5B7A8700008B for ; Fri, 13 Oct 2006 12:47:29 +0200 (CEST) X-ME-UUID: 20061013104729374.5B7A8700008B@mwinf1602.orange.fr From: skal To: xvid-devel@xvid.org Message-ID: <28392796.418161160736449351.JavaMail.www@wwinf1622> MIME-Version: 1.0 X-Originating-IP: [82.121.129.133] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| Date: Fri, 13 Oct 2006 12:47:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] A SSIM Plugin for XviD X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: skal65535@orange.fr, xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de forgot to mention: > Message du 13/10/06 11:09 > > The computation of ssim is slow. I tried to speed it up with a bit asm, > > but I have not coded in asm before. It would be great if some of the asm > > wizards could comment. It can be sped up more by reducing accuracy, by > > changing GRID to 2 or 4. But there seems to lurks a bug, as this > > sometimes gives strange results. I will look into this. > > also: since MMX is mixed with floats, i fear some emms() were > required, which i added. Could be an explanation for the strange > behaviour. there's a small bench for ssim functions included in xvid_bench.c too, which shown no problem (unless the bench is itself broken, of course). Skal _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Oct 13 16:09:05 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 6148F126D9A for ; Fri, 13 Oct 2006 16:09:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 2866A1AE996; Fri, 13 Oct 2006 16:09:36 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04069-10; Fri, 13 Oct 2006 16:09:35 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 9A8A01AEA01; Fri, 13 Oct 2006 16:09:25 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 6CAE21AE9DD for ; Fri, 13 Oct 2006 16:09:19 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04026-09 for ; Fri, 13 Oct 2006 16:09:13 +0200 (CEST) Received: from cytosin.uni-konstanz.de (cytosin.uni-konstanz.de [134.34.240.61]) by s8.lansco.de (Postfix) with ESMTP id 701E51AE4D0 for ; Fri, 13 Oct 2006 16:09:13 +0200 (CEST) Received: from [192.168.178.84] (X7672.x.pppool.de [89.59.118.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cytosin.uni-konstanz.de (Postfix) with ESMTP id 2989F9A5; Fri, 13 Oct 2006 16:08:40 +0200 (CEST) Message-ID: <452F9DE7.7010805@uni-konstanz.de> Date: Fri, 13 Oct 2006 16:08:39 +0200 From: Johannes Reinhardt User-Agent: Thunderbird 1.5.0.7 (X11/20060922) MIME-Version: 1.0 To: skal65535@orange.fr, xvid-devel@xvid.org References: <28392796.418161160736449351.JavaMail.www@wwinf1622> In-Reply-To: <28392796.418161160736449351.JavaMail.www@wwinf1622> Content-Type: multipart/mixed; boundary="------------040607070905020506040602" X-Virus-Scanned: amavisd-new at lansco.de X-Content-Filtered-By: Mailman/MimeDel 2.1.6 Subject: Re: [XviD-devel] A SSIM Plugin for XviD X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de This is a multi-part message in MIME format. --------------040607070905020506040602 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, first thanks for reviewing and commiting. > forgot to mention: > > >> Message du 13/10/06 11:09 >> >>> The computation of ssim is slow. I tried to speed it up with a bit asm, >>> but I have not coded in asm before. It would be great if some of the asm >>> wizards could comment. It can be sped up more by reducing accuracy, by >>> changing GRID to 2 or 4. But there seems to lurks a bug, as this >>> sometimes gives strange results. I will look into this. >>> >> also: since MMX is mixed with floats, i fear some emms() were >> required, which i added. Could be an explanation for the strange >> behaviour. >> > > there's a small bench for ssim functions included in xvid_bench.c too, > which shown no problem (unless the bench is itself broken, of course). > Attached is a patch that corrects a typo in xvid_bench. The bench reports an error for lum_2x8 here (it gives -763 instead of -841). Typo or a real problem? I found the source of the strange behaviour, it was a stupid typo. Patch attached (also does some cosmetics) Is there a reason why the plugin setup in encraw around line 1907 is in #ifndef? The errormap visualization code for X is disabled, so it should also build under win. The SSE2 implementation of consim is not faster than the mmx version with all CPUs (Pentium IV and Pentium M) I tested. Is there a chance to speed it up or should I disable SSE2? Or is SSE2 perhaps faster on other CPUs? Johannes --------------040607070905020506040602 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel --------------040607070905020506040602-- From xvid-devel-bounces@xvid.org Fri Oct 13 18:28:31 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 61386126D88 for ; Fri, 13 Oct 2006 18:28:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id E427F1AEB2D; Fri, 13 Oct 2006 18:29:02 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10733-02; Fri, 13 Oct 2006 18:29:02 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id A4CE41AEB2A; Fri, 13 Oct 2006 18:28:53 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 664521AEA69 for ; Fri, 13 Oct 2006 18:28:50 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10691-02 for ; Fri, 13 Oct 2006 18:28:47 +0200 (CEST) Received: from smtp-msa-out16.orange.fr (smtp16.orange.fr [193.252.23.89]) by s8.lansco.de (Postfix) with ESMTP id 33A301AE8FB for ; Fri, 13 Oct 2006 18:28:47 +0200 (CEST) Received: from wwinf1620 (wwinf1620 [172.22.147.44]) by mwinf1603.orange.fr (SMTP Server) with ESMTP id 65ECF7000087; Fri, 13 Oct 2006 18:28:09 +0200 (CEST) X-ME-UUID: 20061013162809417.65ECF7000087@mwinf1603.orange.fr From: skal To: Johannes Reinhardt , xvid-devel@xvid.org Message-ID: <7564265.217201160756889329.JavaMail.www@wwinf1620> MIME-Version: 1.0 X-Originating-IP: [82.121.129.133] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~||~| X-WUM-REPLYTO: |~| Date: Fri, 13 Oct 2006 18:28:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] A SSIM Plugin for XviD X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: skal65535@orange.fr, xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Johannes and all, > Message du 13/10/06 16:08 > De : "Johannes Reinhardt" > >> Message du 13/10/06 11:09 > >> > >>> The computation of ssim is slow. I tried to speed it up with a bit asm, > >>> but I have not coded in asm before. It would be great if some of the asm > >>> wizards could comment. It can be sped up more by reducing accuracy, by > >>> changing GRID to 2 or 4. But there seems to lurks a bug, as this > >>> sometimes gives strange results. I will look into this. > >>> > >> also: since MMX is mixed with floats, i fear some emms() were > >> required, which i added. Could be an explanation for the strange > >> behaviour. > >> > > > > there's a small bench for ssim functions included in xvid_bench.c too, > > which shown no problem (unless the bench is itself broken, of course). > > > Attached is a patch that corrects a typo in xvid_bench. ok, committed. Note: attachments get stripped on this list, no exceptions. You should rather inline the patch or upload it somewhere... > > The bench reports an error for lum_2x8 here (it gives -763 instead of > -841). > Typo or a real problem? a real problem: the bench was wrong for lum2x8 (uninitialized reads). Fixed. > Is there a reason why the plugin setup in encraw around line 1907 is in > #ifndef? it was because .dsp/.dsw weren't updated at that time, so the plugin was likely not to be compiled for WIN32. Now, it's ok. > The SSE2 implementation of consim is not faster than the mmx version > with all CPUs > (Pentium IV and Pentium M) I tested. Is there a chance to speed it up or > should I > disable SSE2? Or is SSE2 perhaps faster on other CPUs? I didn't had a deeper look at the ASM yet, because as said, there's one thing to decide first: are you sure you want a square window for filtering? :) bye, Skal _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Oct 13 19:37:58 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id A45DF126D88 for ; Fri, 13 Oct 2006 19:37:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 02DC91AB931; Fri, 13 Oct 2006 19:38:25 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13611-07; Fri, 13 Oct 2006 19:38:25 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id C3FD11AA5ED; Fri, 13 Oct 2006 19:38:14 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 291211AB31D for ; Fri, 13 Oct 2006 19:38:10 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13676-02 for ; Fri, 13 Oct 2006 19:38:06 +0200 (CEST) Received: from cytosin.uni-konstanz.de (cytosin.uni-konstanz.de [134.34.240.61]) by s8.lansco.de (Postfix) with ESMTP id 8AC8C1AA5F1 for ; Fri, 13 Oct 2006 19:38:01 +0200 (CEST) Received: from [192.168.178.84] (X7672.x.pppool.de [89.59.118.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cytosin.uni-konstanz.de (Postfix) with ESMTP id 2941CA95; Fri, 13 Oct 2006 19:37:28 +0200 (CEST) Message-ID: <452FCED7.5010903@uni-konstanz.de> Date: Fri, 13 Oct 2006 19:37:27 +0200 From: Johannes Reinhardt User-Agent: Thunderbird 1.5.0.7 (X11/20060922) MIME-Version: 1.0 To: skal65535@orange.fr, xvid-devel@xvid.org References: <7564265.217201160756889329.JavaMail.www@wwinf1620> In-Reply-To: <7564265.217201160756889329.JavaMail.www@wwinf1620> X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] A SSIM Plugin for XviD X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Hi, skal schrieb: > Johannes and all, > > >> Message du 13/10/06 16:08 >> De : "Johannes Reinhardt" >> >>>> Message du 13/10/06 11:09 >>>> >>>> >>>>> The computation of ssim is slow. I tried to speed it up with a bit asm, >>>>> but I have not coded in asm before. It would be great if some of the asm >>>>> wizards could comment. It can be sped up more by reducing accuracy, by >>>>> changing GRID to 2 or 4. But there seems to lurks a bug, as this >>>>> sometimes gives strange results. I will look into this. >>>>> >>>>> >>>> also: since MMX is mixed with floats, i fear some emms() were >>>> required, which i added. Could be an explanation for the strange >>>> behaviour. >>>> >>>> >>> there's a small bench for ssim functions included in xvid_bench.c too, >>> which shown no problem (unless the bench is itself broken, of course). >>> >>> >> Attached is a patch that corrects a typo in xvid_bench. >> > > ok, committed. > Note: attachments get stripped on this list, no exceptions. > You should rather inline the patch or upload it somewhere... > ok >> The SSE2 implementation of consim is not faster than the mmx version >> with all CPUs >> (Pentium IV and Pentium M) I tested. Is there a chance to speed it up or >> should I >> disable SSE2? Or is SSE2 perhaps faster on other CPUs? >> > > I didn't had a deeper look at the ASM yet, because as said, > there's one thing to decide first: are you sure you want a > square window for filtering? :) > > bye, > Skal > > hmm, I think the gaussian window will be _very_ slow. I will try to implement it as a extra mode, but I am not sure if it will be useful or usable. Perhaps it could be interesting to see how coarse the approximation used by most implementations is. Regards, Johannes _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Sun Oct 15 20:20:34 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 53927126D82 for ; Sun, 15 Oct 2006 20:20:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id D940A1B01EF; Sun, 15 Oct 2006 20:20:56 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12813-09; Sun, 15 Oct 2006 20:20:56 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id E19CF1B01FA; Sun, 15 Oct 2006 20:20:48 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id C50861ACD42 for ; Sun, 15 Oct 2006 20:20:46 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12813-06 for ; Sun, 15 Oct 2006 20:20:43 +0200 (CEST) Received: from web55314.mail.re4.yahoo.com (web55314.mail.re4.yahoo.com [206.190.58.193]) by s8.lansco.de (Postfix) with SMTP id 8350D1A9E74 for ; Sun, 15 Oct 2006 20:20:43 +0200 (CEST) Received: (qmail 95561 invoked by uid 60001); 15 Oct 2006 18:20:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ba0vDn7hkOh43SE2cyYjqb/0V1ac8l1eX00zne+/ocGYJM5Lcv5vTdg8mw0juTaQSVeVNiBeJEYg8SMsXCmAw8yVxdkCKA/INMhK6Ih6+T2l0g2w2LP/9HSKSWqZ9g9FpKxhHt3ixFVZQua+Wn6EvIh/q1ycT3ImiDYMawebYBY= ; Message-ID: <20061015182008.95559.qmail@web55314.mail.re4.yahoo.com> Received: from [64.136.49.229] by web55314.mail.re4.yahoo.com via HTTP; Sun, 15 Oct 2006 11:20:08 PDT Date: Sun, 15 Oct 2006 11:20:08 -0700 (PDT) From: Daniel Teeters To: XviD-devel@xvid.org MIME-Version: 1.0 X-Virus-Scanned: amavisd-new at lansco.de X-Content-Filtered-By: Mailman/MimeDel 2.1.6 Subject: [XviD-devel] xvid X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de this? --------------------------------- Get your email and more, right on the new Yahoo.com _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Sun Oct 15 23:33:22 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id A5CFE126D82 for ; Sun, 15 Oct 2006 23:33:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id D01A01B0225; Sun, 15 Oct 2006 23:33:53 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22103-10; Sun, 15 Oct 2006 23:33:53 +0200 (CEST) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 92C051B0306; Sun, 15 Oct 2006 23:33:47 +0200 (CEST) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 0AF1E1B021B for ; Sun, 15 Oct 2006 23:33:45 +0200 (CEST) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22186-04 for ; Sun, 15 Oct 2006 23:33:42 +0200 (CEST) Received: from cytosin.uni-konstanz.de (cytosin.uni-konstanz.de [134.34.240.61]) by s8.lansco.de (Postfix) with ESMTP id 8178EB023E for ; Sun, 15 Oct 2006 23:33:42 +0200 (CEST) Received: from [192.168.178.84] (X7dc7.x.pppool.de [89.59.125.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cytosin.uni-konstanz.de (Postfix) with ESMTP id 69F9E8CE for ; Sun, 15 Oct 2006 23:33:09 +0200 (CEST) Message-ID: <4532A913.7010908@uni-konstanz.de> Date: Sun, 15 Oct 2006 23:33:07 +0200 From: Johannes Reinhardt User-Agent: Thunderbird 1.5.0.7 (X11/20060922) MIME-Version: 1.0 To: "xvid-devel@xvid.org" X-Virus-Scanned: amavisd-new at lansco.de Subject: [XviD-devel] small fix for encraw X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de Hi, in current cvs, xvid_encraw doesn't calculate psnr with -progress. Patch that fixes that: http://xvid.ist-dein-freund.de/stuff/encraw_stats_fix.diff Johannes _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel