Author Topic: Hardware Scalling  (Read 3292 times)

RodrigoCard (OP)

  • Posts: 314
    • Mac Joystick Apps
Hardware Scalling
« on: April 01, 2010, 04:16:57 pm »
I found this info on gp32x forums:

http://www.gp32x.com/board/index.php?/topic/52743-does-dingoo-support-bilinear-filtering-on-hardware/

Would be very interesting using HW scaler in emulators without affecting the performance and with a better image quality
( gPSP and snes9x really needs this)

There is some documentarion and a header file from ingenic, but i don?t know where to start for implementing support for this on some emus (the first i want to try is gPSP).

Can someone point me directions?

thanks

RodrigoCard (OP)

  • Posts: 314
    • Mac Joystick Apps
Re: Hardware Scalling
« Reply #1 on: April 03, 2010, 05:19:47 am »
Well..

someone  know a good tutorial about YUV use in SDL?
This should be useful...

thanks
« Last Edit: April 03, 2010, 06:27:13 am by RodrigoCard »

SiENcE

  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Hardware Scalling
« Reply #2 on: April 03, 2010, 08:31:39 am »
Google :) ?

http://dranger.com/ffmpeg/tutorial02.html

"But we still need to tell SDL to actually show the data we've given it. We also pass this function a rectangle that says where the movie should go and what width and height it should be scaled to. This way, SDL does the scaling for us, and it can be assisted by your graphics processor for faster scaling:"


So...it scaled from SDL. I think this way it's not faster.
« Last Edit: April 03, 2010, 08:36:04 am by SiENcE »

RodrigoCard (OP)

  • Posts: 314
    • Mac Joystick Apps
Re: Hardware Scalling
« Reply #3 on: April 04, 2010, 03:48:41 am »
Google :) ?

http://dranger.com/ffmpeg/tutorial02.html

"But we still need to tell SDL to actually show the data we've given it. We also pass this function a rectangle that says where the movie should go and what width and height it should be scaled to. This way, SDL does the scaling for us, and it can be assisted by your graphics processor for faster scaling:"


So...it scaled from SDL. I think this way it's not faster.

Thanks, I promisse i will be googling better next time =P

If I am not able to enable the hardware scalling for dingux, then i will try to write a good software scalling algorithm. Wish me luck! =)

SiENcE

  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Hardware Scalling
« Reply #4 on: April 04, 2010, 09:12:48 am »
You don't need to write one.

Here are the bests. Open Source of couse.

http://scale2x.sourceforge.net/

RodrigoCard (OP)

  • Posts: 314
    • Mac Joystick Apps
Re: Hardware Scalling
« Reply #5 on: April 05, 2010, 03:26:41 am »
You don't need to write one.

Here are the bests. Open Source of couse.

http://scale2x.sourceforge.net/


thanks,

It would work well just with exact 2x/3x/4x resolution sizes...
But I think it can be adapted =)

RodrigoCard (OP)

  • Posts: 314
    • Mac Joystick Apps
Re: Hardware Scalling
« Reply #6 on: April 05, 2010, 04:34:56 am »
I think i have all the info I need now :)
Mplayer sources have the code i need =)

Too bad I will not have time this week, because University exams.
But now I know where to start looking =)

nine10

  • Guest
Re: Hardware Scalling
« Reply #7 on: April 15, 2010, 03:42:50 pm »
"The Force will be with you, always."  :P

 

Post a new topic