[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OpenDivX] OpenDivx on NON-i386



Am Dienstag, 29. Mai 2001 01:15 schrieben Sie:
>
> CHL> Because here it's still not possible to compile latest CVS, because of
> the CHL> references to intel-stuff. The only definition of init_platform()
> is in CHL> decore/intel_mmx/init.c which is completely impossible to get to
> CHL> work with UltraSparc (as any i386) as far as I have seen.
> CHL> Can anyone please comment on this?
>
> It's assumed to be so. If you want to port it on non-i386, you should:
> 1) create your own subdirectory ( say, 'sparc' );
> 2) write init_platform() for this platform and ( optionally )
> implement some of routines in assembly for your CPU. For example, you
> could write your own basic prediction functions ( CopyBlock,
> CopyBlockHor, etc ) which correctly deal with memory alignment, put
> them into sparc/ and assign their pointers to corresponding global
> function pointer variables;
> 3) link the code in root directory and the code in sparc/ together.
> If you are unsure how to write init_platform(), I'll put example of
> this function for generic processor ( no optimization ) today.

Thank you, that's a start. But I think it's not a good idea to just leave the 
path of plattform independence. If you decided to make subdirectory for CPU 
dependent stuff, then there should at least be a "generic" or "C" directory, 
where the routines are written in plain C and do not depend on processor 
architechture, so it's possible to create a running (nonoptimized) version on 
any machine without having to write code yourself. 
That could replace the useless "INTEL=0" option in Makefile. 

gruel

_______________________________________________
OpenDivX mailing list
[email protected]
http://lists.projectmayo.com/mailman/listinfo/opendivx
>From [email protected] Mon May 28 23:47:16 2001
Received: from hdmail.hotdispatch.com (hdmail.hotdispatch.com [208.184.83.35])
	by eclipse.pacifier.com (8.11.2/8.11.1) with ESMTP id f4T6lF604175
	for <[email protected]>; Mon, 28 May 2001 23:47:15 -0700 (PDT)
Received: from 192.168.2.37 (aux01.ii.hotdispatch.com [192.168.2.37])
	by hdmail.hotdispatch.com (8.11.3/8.11.3) with SMTP id f4T6lZJ09356
	for <[email protected]>; Mon, 28 May 2001 23:47:35 -0700 (PDT)
Date: Mon, 28 May 2001 23:47:35 -0700 (PDT)
Message-Id: <[email protected]>
From: "HotDispatch" <[email protected]>
To: [email protected]
Subject: HotDispatch Task Notification Digest
Content-Length: 930
Status: RO

One request matching your skill profile was posted on HotDispatch:

     Type:  Project

    Title:  "Need a good programmer for june."

Requester:  "james1"

    Price:  $350.00

To view the task, go to http://www.hotdispatch.com/view-task-provider?ID=14340019



Thank you for joining HotDispatch.

The HotDispatch Team


P.S.  This message is from HotDispatch, the Marketplace for Technical
Expertise.  It is sent to you based on the setting of your account on
HotDispatch.  If you would like to stop receiving e-mail notification of
available tasks, edit the "Login" settings under the "My Account" section
of the site.

---------------------------------------------------------------------------
If you have erroneously received this message, or if you would like to stop 
receiving e-mail notifications from HotDispatch immediately, please contact
us at [email protected] (put your email address in the subject line).
>From [email protected] Tue May 29 00:10:27 2001
Received: from hoggle.dreamhost.com ([email protected] [209.85.245.5])
	by eclipse.pacifier.com (8.11.2/8.11.1) with ESMTP id f4T7AQ616509
	for <[email protected]>; Tue, 29 May 2001 00:10:26 -0700 (PDT)
Received: from lists.projectmayo.com (host13910.servervault.com [216.12.139.10])
        by hoggle.dreamhost.com (8.12.0.Beta5/8.12.0.Beta5/Debian 8.12.0-1) with ESMTP id f4T7AkOp009295
        for <[email protected]>; Tue, 29 May 2001 00:10:46 -0700
Received: from localhost.localdomain (sv100063 [127.0.0.1])
	by lists.projectmayo.com (Postfix) with ESMTP
	id 81B223C1C; Tue, 29 May 2001 07:10:03 +0000 (GMT)
Delivered-To: [email protected]
Received: from mail7.wlv.netzero.net (mail7.wlv.netzero.net [209.247.163.57])
	by lists.projectmayo.com (Postfix) with SMTP id 506323C15
	for <[email protected]>; Tue, 29 May 2001 07:09:58 +0000 (GMT)
Received: (qmail 29628 invoked from network); 29 May 2001 07:10:24 -0000
Received: from dialup-166.90.17.149.dial1.sandiego1.level3.net (HELO pm-em2qwm22qor9) (166.90.17.149)
  by mail7.wlv.netzero.net with SMTP; 29 May 2001 07:10:24 -0000
From: Eugene Kuznetsov <[email protected]>
X-Mailer: The Bat! (v1.47 Halloween Edition)
Reply-To: Eugene Kuznetsov <[email protected]>
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
To: "Christoph H. Lampert" <[email protected]>
Cc: [email protected]
Subject: Re[2]: [OpenDivX] OpenDivx on NON-i386
In-reply-To: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [email protected]
Errors-To: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:[email protected]?subject=help>
List-Post: <mailto:[email protected]>
List-Subscribe: <http://lists.projectmayo.com/mailman/listinfo/opendivx>,
	<mailto:[email protected]?subject=subscribe>
List-Id: This is the OpenDivX discussion list! <opendivx.lists.projectmayo.com>
List-Unsubscribe: <http://lists.projectmayo.com/mailman/listinfo/opendivx>,
	<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lists.projectmayo.com/pipermail/opendivx/>
Date: Tue, 29 May 2001 00:10:10 -0700
Content-Length: 2471
Status: N

Hello Christoph,

Monday, May 28, 2001, 11:23:27 PM, you wrote:

CHL> Am Dienstag, 29. Mai 2001 01:15 schrieben Sie:
>>
>> CHL> Because here it's still not possible to compile latest CVS, because of
>> the CHL> references to intel-stuff. The only definition of init_platform()
>> is in CHL> decore/intel_mmx/init.c which is completely impossible to get to
>> CHL> work with UltraSparc (as any i386) as far as I have seen.
>> CHL> Can anyone please comment on this?
>>
>> It's assumed to be so. If you want to port it on non-i386, you should:
>> 1) create your own subdirectory ( say, 'sparc' );
>> 2) write init_platform() for this platform and ( optionally )
>> implement some of routines in assembly for your CPU. For example, you
>> could write your own basic prediction functions ( CopyBlock,
>> CopyBlockHor, etc ) which correctly deal with memory alignment, put
>> them into sparc/ and assign their pointers to corresponding global
>> function pointer variables;
>> 3) link the code in root directory and the code in sparc/ together.
>> If you are unsure how to write init_platform(), I'll put example of
>> this function for generic processor ( no optimization ) today.

CHL> Thank you, that's a start. But I think it's not a good idea to just leave the 
CHL> path of plattform independence. If you decided to make subdirectory for CPU 
CHL> dependent stuff, then there should at least be a "generic" or "C" directory, 
CHL> where the routines are written in plain C and do not depend on processor 
CHL> architechture, so it's possible to create a running (nonoptimized) version on 
CHL> any machine without having to write code yourself. 
CHL> That could replace the useless "INTEL=0" option in Makefile.

You don't have to write the code yourself, having only the functions
in decore/ directory ( basic_prediction.c, yuv2rgb.c, etc. ) and
generic/init.c is sufficient ( but if you want to, nothing prevents
you from that ). Maybe you mean that these C files should be moved
into separate directory?
Makefile which you are referring to is quite outdated.

-- 
Best regards,
 Eugene
mailto:[email protected] or [email protected]
[Team GADGET]  [Team Two Divided By Zero]  [Team Hackzone.ru]



NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net

_______________________________________________
OpenDivX mailing list
[email protected]
http://lists.projectmayo.com/mailman/listinfo/opendivx


Reply To Poster

Local References / HOW-TO / FAQs