Marton Balint
47d5d0cc74
avfilter/vf_geq: fix multiple assignments of ptr in slice_geq_filter
Fixes Coverity CID 1427183.
Signed-off-by: Marton Balint <cus@passwd.hu>
5 years ago
Andreas Rheinhardt
ab39f0d841
avfilter/asrc_sinc: Don't allocate arrays separately
Besides the obvious advantages this also fixes a potential memleak:
If only one of the arrays had been successfully allocated, the other
would leak. This also fixes Coverity issues #1440386 and #1440387 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
32ea6ffb16
avfilter/vf_colorconstancy: fix memory leak on error
Also remove unneeded log message while here.
5 years ago
Michael Niedermayer
dfc4714886
avfilter/vf_find_rect: Remove assert
A score of 0 is possible
Fixes: Ticket8500
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Michael Niedermayer
6ff2474e02
avfilter/vf_find_rect: Increase worst case score
score could be 1.0 which lead to uninitialized values
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Gyan Doshi
6e6b34917e
avfilter/scale: don't fail for circular expressions
Due to conditional expressions, it is possible for them to be resolved
successfully. A warning is still printed.
5 years ago
Paul B Mahol
ecd95858d4
avfilter/vf_tonemap_opencl: fix long filter description
5 years ago
Paul B Mahol
4b4bcb126c
avfilter/vf_v360: do not remap alpha plane if that will be overwritten later
5 years ago
Paul B Mahol
9990cb16d3
avfilter/vf_v360: mark another hemisphere not visible for flat input format
5 years ago
Paul B Mahol
8d861cd850
avfilter/vf_v360: add mask option, unset pixels are marked as transparent
5 years ago
Paul B Mahol
31350de997
avfilter/vf_deshake_opencl: silence warning about usage of uninitialized value
5 years ago
Paul B Mahol
a4f2fc9341
avfilter/vf_v360: fix fov calculation from dfov for fisheye input/output
5 years ago
Paul B Mahol
d033f403d6
avfilter/vf_v360: support input flips for tetrahedron format
5 years ago
Paul B Mahol
05d3d09cf5
avfilter/vf_v360: fix small artifacts with tetrahedron inputs
5 years ago
Paul B Mahol
ec4f764249
avfilter/vf_v360: add tetrahedron format
5 years ago
Paul B Mahol
a3e67c2d2f
avfilter/vf_stack: add fill option for xstack
5 years ago
Paul B Mahol
a00fa73f47
avfilter/vf_v360: improve fisheye input format
5 years ago
Paul B Mahol
103a29b89d
avfilter/vf_v360: add support for fisheye input format
5 years ago
Paul B Mahol
fc2523c792
avfilter/vf_v360: add support for input fov to input sg format
5 years ago
Paul B Mahol
19f75e7787
avfilter/vf_v360: add support for cylindrical input format
5 years ago
Paul B Mahol
e57b9aa8b1
avfilter/vf_v360: add support for flat input format
5 years ago
Paul B Mahol
091695f8e8
avfilter/vf_v360: rewrite fov_from_dfov()
5 years ago
Paul B Mahol
15133c6ab2
avfilter/vf_v360: replace rest of roundf() with lrintf()
5 years ago
Paul B Mahol
3bf28d40e5
avfilter/vf_v360: change remaps to int16_t type
5 years ago
Paul B Mahol
ff5e241bca
avfilter/vf_v360: move map variable up
5 years ago
Paul B Mahol
fdc61267b4
avfilter/vf_v360: make more stuff const
5 years ago
Gyan Doshi
4de2106fbf
avfilter/pad: improve error check for w and h
Target dimensions have to cover entire input.
5 years ago
Paul B Mahol
feeef2f80c
avfilter/vf_normalize: add support for >8 depth
5 years ago
Paul B Mahol
ac51173024
avfilter/vf_normalize: add support for planar rgb
5 years ago
Paul B Mahol
4545699625
avfilter/vf_normalize: factor code dealing with AVFrame pixels out
5 years ago
Paul B Mahol
1908818e7b
avfilter/vf_normalize: move luts into private context
5 years ago
Paul B Mahol
273886fa60
avfilter/asrc_anoisesrc: add velvet noise
5 years ago
Paul B Mahol
fdddc0d678
avfilter/vf_v360: add perspective output projection
5 years ago
Paul B Mahol
62a0d22621
avfilter/vf_v360: add gaussian interpolation
5 years ago
Paul B Mahol
3972ec28e7
avfilter/vf_v360: fix some small nits
5 years ago
Paul B Mahol
aa42a1e6d7
avfilter/vf_v360: add spline16 interpolation
5 years ago
Gyan Doshi
c95dfe5cce
avfilter/f_metadata: correct check for existing metadata
When adding metadata, existing dictionary need not be present.
5 years ago
Paul B Mahol
7fc28465df
avfilter/vf_v360: add cylindrical output projection
5 years ago
Paul B Mahol
330b157c9e
avfilter/vf_v360: add pannini output projection
5 years ago
Paul B Mahol
6e082f9f04
avfilter/vf_v360: add fisheye output projection
5 years ago
Gyan Doshi
0777b197c5
avfilter/swaprect: correct assignment of VAR_POS
Revert regression introduced in 6af050d7d0
5 years ago
Gyan Doshi
0dc0837960
avfilter/scale: add animation support
Width and height expressions in scale and scale2ref filters can now
reference frame index, timestamp and packet position.
5 years ago
Gyan Doshi
ce2cfa67aa
avfilter/scale: add function to check expressions
Allows finer identification and logging of invalid expressions and use
of a single list for symbols and their index for both scale and
scale2ref.
5 years ago
Gyan Doshi
6310fbd543
avfilter/scale: separate exprs parse and eval
Retains parsed expressions which allows for better
error-checking and adding animation support.
5 years ago
Gyan Doshi
cc9a7cae76
avfilter/scale2ref: update links and re-eval expr upon ref frame change
Needed when filtergraph reinit is disabled for the ref input.
5 years ago
Gyan Doshi
c21462d42e
avfilter/scale: store frame change eval
Better readability and allows reuse
5 years ago
Limin Wang
72a08af8ba
avfilter/vf_eq: cosmetics
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
7e4b0d377f
avfilter/avf_showspectrum: check if frame clone is set
5 years ago
Paul B Mahol
cc752233fb
avfilter/f_ebur128: check if frame clone is set
5 years ago
Paul B Mahol
c43f8baa41
avfilter/avf_aphasemeter: check if clone frame is set
5 years ago