OpenELEC Testbuilds for RaspberryPi Part 2
There will be a new toy to play with in the next build.

The Pi has some quite advanced scaling hardware which is able to do higher quality scaling than other ARM (and probably most PC) boxes.

I've added an API to the firmware where the scaling kernel (a 32 tap filter) can be controlled.
I've hooked that into the sharpness control on the video OSD.
I've used the sharpness control for now as that gives an unobtrusive slider at the top of screen, rather than the scaling method drop down which obscures most of the screen.

Basically sharpness=0 uses the default scaling kernel (Sinc over the range +-3*PI with Hamming window applied).
Each click to the right of that uses a different kernel. I've implemented 9 kernels. Try them and report what you prefer.

Some suggestions:
It's probably best to pause the video when there is some detail visible (like text) to see the effect.
Don't try it when video is 1080p and display is 1080p or you won't see anything. It's more interesting when playing SD content on a HD display
It's not magic. The kernels are a compromise between sharpening (producing more detail, but increasing noise) and blurring (hides the noise and the detail).
The best option for SD video may be different to the best option for 720p.

If anyone is curious and especially if they know about image scaling, then you can see the current kernel with:
vcgencmd scaling_kernel
scaling_kernel=-2 -3 -4 -4 -3 1 9 22 40 64 90 118 145 169 186 196 196 186 169 145 118 90 64 40 22 9 1 -3 -4 -4 -3 -2   0

and set it with a similar command. The first 32 numbers are the filter coefficients. The last is whether coefficients interpolation is disabled.
(it should be 0 unless doing a nearest-neighbour type kernel).

Messages In This Thread
RE: OpenELEC Testbuilds for RaspberryPi Part 2 - by popcornmix - 2014-03-30, 18:02
AW: RE: - by DieterLumpen - 2013-07-29, 20:50
include guires switch? - by hpbaxxter - 2013-08-01, 21:46
RE: dual audio?? - by pootler - 2013-08-03, 17:13
Help, watch 3D Film on Non 3D TV - by unix72 - 2013-08-09, 12:39
Remote Controllers - by tfft - 2013-08-14, 09:11
rbej repeatable crash - by RichG - 2013-08-19, 12:43
New Tester - by theneverstill - 2013-10-03, 17:16