Re: [FFmpeg-user] Functions for average and variance calulations

2019-07-12 Thread Ulf Zibis
Am 09.07.19 um 10:06 schrieb Paul B Mahol: > On 7/9/19, Ulf Zibis wrote: >> Am 09.07.19 um 00:25 schrieb Ulf Zibis: >>> Hi, >>> >>> are there such functions in the FFmpeg library? >>> >>> I have an integer array with lets say 13 numbers (accumulated counts of >>> X in the range of 0..12) like:

Re: [FFmpeg-user] Functions for average and variance calulations

2019-07-09 Thread Paul B Mahol
On 7/9/19, Ulf Zibis wrote: > > Am 09.07.19 um 00:25 schrieb Ulf Zibis: >> Hi, >> >> are there such functions in the FFmpeg library? >> >> I have an integer array with lets say 13 numbers (accumulated counts of >> X in the range of 0..12) like: >> a) 0 1 0 1 2 7 9 5 4 3 2 0 1 >> b) 7 1 9 8 1 6 2

Re: [FFmpeg-user] Functions for average and variance calulations

2019-07-08 Thread Ulf Zibis
Am 09.07.19 um 00:25 schrieb Ulf Zibis: > Hi, > > are there such functions in the FFmpeg library? > > I have an integer array with lets say 13 numbers (accumulated counts of > X in the range of 0..12) like: > a) 0 1 0 1 2 7 9 5 4 3 2 0 1 > b) 7 1 9 8 1 6 2 0 0 1 9 1 0 > > In a) the average X

[FFmpeg-user] Functions for average and variance calulations

2019-07-08 Thread Ulf Zibis
Hi, are there such functions in the FFmpeg library? I have an integer array with lets say 13 numbers (accumulated counts of X in the range of 0..12) like: a) 0 1 0 1 2 7 9 5 4 3 2 0 1 b) 7 1 9 8 1 6 2 0 0 1 9 1 0 In a) the average X would be ~6 and the variance would be small. In b) the average