1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavfilter
Jun Zhao 5a3ce4a92b lavfi/deshake: fix deshake crash issue.
Fixes ticket #7441.

for block contrast calculate, the block is like this:

|<---------------- stride-----------------------|
+----------------------------------------------->  X
|
|            w = 16
|    (cx,cy)+------+
|           |      |
|h=blocksize|      |
|           |      |
|           +------+
V

Y

so we calc the block contrast use:
   (cy + y) * stride + (cx + x)

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-10-06 21:30:18 +08:00
..
2018-10-04 23:51:22 +02:00
2018-10-04 23:51:22 +02:00
2018-03-31 23:26:30 +01:00
2018-06-21 00:31:42 +01:00
2018-06-21 00:31:42 +01:00
2018-05-05 21:50:22 +02:00
2018-06-21 00:31:42 +01:00
2018-03-08 11:23:34 +01:00
2018-08-16 00:07:59 +02:00
2018-07-15 10:07:54 +02:00
2018-09-07 21:44:03 +02:00
2018-09-13 12:09:51 +02:00
2018-04-13 08:41:51 +02:00
2018-08-09 10:35:00 +05:30