Author Topic: Hardware vs software scaling  (Read 711 times)

a330boy (OP)

  • Posts: 153
Hardware vs software scaling
« on: March 05, 2020, 07:05:49 pm »
Some emulators have hardware video scaling. What is the difference between software scaling? Which is better between the two? What is the advantage of each? Thanks in advance.

hi-ban

  • Posts: 881
Re: Hardware vs software scaling
« Reply #1 on: March 05, 2020, 08:25:49 pm »
Software scaling uses the CPU to upscale the image performing an algorithm. It uses CPU resources to perform the scaling operation, and the quality of the scaling depends on the developer who coded the scaling algorithm.

Hardware scaling uses hardware to automagically upscale the image. Quality is always good, smooth with no artifacts, and it doesnt use any CPU resources.

a330boy (OP)

  • Posts: 153
Re: Hardware vs software scaling
« Reply #2 on: March 06, 2020, 02:25:21 am »
@hi-ban Awesome. Thank you.

rafavico

  • Posts: 48
    • Videogames by Rafa Vico
Re: Hardware vs software scaling
« Reply #3 on: March 06, 2020, 09:01:35 am »
Any info about how to code hardware scaling? Or can it be done with sdl?

gameblabla

  • Posts: 1361
Re: Hardware vs software scaling
« Reply #4 on: March 11, 2020, 03:54:47 pm »
Any info about how to code hardware scaling? Or can it be done with sdl?
You just need to set the resolution to something like 256x240 or 640x480 with SDL (SDL_SetVideoMode) then the kernel with the IPU will detect the framebuffer size and take care of the rest for you.

rafavico

  • Posts: 48
    • Videogames by Rafa Vico
Re: Hardware vs software scaling
« Reply #5 on: March 11, 2020, 05:10:26 pm »
Interesting... thank you very much gameblabla.

 

Post a new topic
Post a new topic