aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/bit.c
diff options
context:
space:
mode:
authorStone Chen <chen.stonechen@gmail.com>2024-02-24 11:08:02 -0500
committerMarton Balint <cus@passwd.hu>2024-02-25 10:49:37 +0100
commitef917950f0298a812bebfed2443626972a7d8f29 (patch)
tree72abca1c41975b11c9a1650cf0842f9c190a9a31 /libavformat/bit.c
parent9b90d0d36ad1ff6bed5007fa71e6e661d0c20bbd (diff)
downloadffmpeg-ef917950f0298a812bebfed2443626972a7d8f29.tar.gz
avfilter/vf_convolution: add float user_rdiv[4] to allow user options to apply correctly
Previously to support dynamic reconfigurations of the matrix string (e.g. 0m), the rdiv values would always be cleared to 0.f, causing the rdiv to be recalculated based on the new filter. This however had the side effect of always ignoring user specified rdiv values. Instead float user_rdiv[0] is added to ConvolutionContext which will store the user specified rdiv values. Then the original rdiv array will store either the user_rdiv or the automatically calculated 1/sum. This fixes trac ticket #10294, #10867. Signed-off-by: Stone Chen <chen.stonechen@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/bit.c')
0 files changed, 0 insertions, 0 deletions