Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
(2016-11-25, 12:41)fritsch Wrote: Yeah, got your notation wrong. But what happens now? Is the ramp smooth? Or asked differently: What are you now doing ?

Can you give the result in this format (meaning the gray values where it ends up) for all lines:
Code:
2,3,4,5,6,7,8
2,3,4,5,6,7,8
2,3,4,5,6,7,8
2,3,4,5,6,7,8
2,3,4,5,6,7,8
2,3,4,5,6,7,8
2,3,4,5,6,7,8

Smoothness is determined by the interpolation. Since it's linear, it should be perfect. In practice, higher bit-depths won't share least common multiples, so the deviation from perfection will depend on the bit-depth (higher=smoother). In my example, lets say value 1 from Fritsch10 Full lands between "06" and "07," you'll be forced to choose the closest value rather than the perfect one as I was able to do here.

Fritsch10 Full:
Code:
00 = 0
06 = 1
12 = 2
18 = 3
24 = 4
30 = 5
36 = 6
42 = 7
48 = 8
54 = 9
60 = 10

0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10
0,1,2,3,4,5,6,7,8,9,10

The key point is that we're not just lining up grey values. You can create new grey values, then use those to line up with your output format.

EDIT: Grey values aren't actually linear since they follow a power function, but the point still stands. Perfect interpolation is theoretically possible.

Hmm... now I'm beginning to doubt myself and see the error of my ways. Smile
Reply


Messages In This Thread
Live TV broken again? - by schamane - 2016-02-29, 19:56
Random crashes - by hal2100 - 2016-03-08, 22:03
RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - by ZwartePiet - 2016-11-25, 12:56
Strange Behaviour - by MicTie - 2016-12-07, 10:46
Working lirc with mce remote - by fr1day - 2019-08-10, 17:36
Logout Mark Read Team Forum Stats Members Help
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server18