dScaler for Linux - AVS Forum
Forum Jump: 
 
Thread Tools
post #1 of 6 Old 02-26-2002, 08:11 AM - Thread Starter
Member
 
janovetz's Avatar
 
Join Date: Sep 2001
Location: Portland, OR
Posts: 110
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I've recently been pining for a version of dScaler for Linux and was wondering if someone from the dScaler group could tell me where the major hurdles are in such a task. It seems as though this could be a manageable project for me to work on, but I'm not familiar with the dScaler code.

It appears that the inner workings of dScaler are built as modules and that these modules could be built up into a workable Linux system as long as the glue to put them together was made.

I also read that a great deal of the modules are written in assembly. I'm not very concerned about speed because dScaler runs with low CPU usage on an average PC these days (Duron 700 or higher). As long as I could port some of the modules to slower C code, I'd be happy.

Any suggestions, advice, information?

Jake
janovetz is offline  
Sponsored Links
Advertisement
 
post #2 of 6 Old 02-26-2002, 09:16 AM
AVS Special Member
 
JohnAd's Avatar
 
Join Date: Jun 2000
Location: London
Posts: 1,725
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 16
Jake

This would be far from a simple problem, but it would be a challenge :D

The main issues are
1) Porting the driver code so that we can access the bt848 card. This could be done by writing a Linux port of DSDrvNt but it would go against much of good linux practice

2) Port the UI

3) make all the code work with gcc, this is probably the hardest bit as we use an MS extension to do inline assembly which isn't supported by gcc.

John

My Company - Upsilon Software
Free Projects - DScaler & hcfr fork
JohnAd is offline  
post #3 of 6 Old 02-26-2002, 09:26 AM
Advanced Member
 
Jah-Wren Ryel's Avatar
 
Join Date: Sep 2000
Posts: 906
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
GCC does support inline assembly, just not with the same syntax as the microsoft compiler. I haven't looked at it, but in theory it ought not be that difficult to write a filter that converts MS syntax to gcc syntax.
Jah-Wren Ryel is offline  
post #4 of 6 Old 02-26-2002, 10:04 AM
Member
 
bpdski's Avatar
 
Join Date: Oct 2001
Location: Marietta, GA
Posts: 178
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I don't think you'd have to port the driver code. There is support in Linux for bt8x8 series cards. I have an old bt848 based capture card in my RedHat 7.2 server at home with a little webcam hooked up to it that I use to keep an eye on my dogs. I just plugged the card in and Kudzu recognized and configured it.

You would still have to port the dScaler code to Linux and make it talk to the driver though. Then there's the issue of making it talk to the display device. I don't know much about how Linux handles graphics, but it does handle openGL if that helps.

- Brian
bpdski is offline  
post #5 of 6 Old 02-26-2002, 10:21 AM
AVS Special Member
 
JohnAd's Avatar
 
Join Date: Jun 2000
Location: London
Posts: 1,725
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 16
THe linux driver for bt848 cards is a great source of infomation but not sufficeient to run DScaler on top of, we need a lot of control over what goes where.

THe other thing I forgot to metion is you will need to find a linux equivialent of DirectShow for displayingthe yuy2 surface.

John

My Company - Upsilon Software
Free Projects - DScaler & hcfr fork
JohnAd is offline  
post #6 of 6 Old 02-26-2002, 12:03 PM - Thread Starter
Member
 
janovetz's Avatar
 
Join Date: Sep 2001
Location: Portland, OR
Posts: 110
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thanks for the replies... To start, I wouldn't want a UI. I'd like to just get the data in, be able to use one of dScaler's deinterlacing modules, then shovel the data out.

Of course, I have yet to look at the code, though, so I'm not sure how modular things are. If they have a heavy reliance on a particular interface to the Bt848, then they aren't as modular as I would have thought.

Jake
janovetz is offline  
Closed Thread HTPC - Linux Chat

User Tag List

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off