Michael Niedermayer
7df2981f04
avfilter/avf_concat: Use av_freep(), avoid leaving stale pointers in memory
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-22 18:47:26 +01:00
Michael Niedermayer
b9ffafbfcc
avfilter/formats: Alloc NULL fmts in SET_COMMON_FORMATS()
...
This avoids null pointer dereferences in case memory allocation has failed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-21 22:15:32 +01:00
Michael Niedermayer
75819fafd8
avfilter/formats: free the correct pointer in ADD_FORMAT()
...
Also only free it when it was not previously allocated to return to the
state prior to the failing function call
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-21 22:13:44 +01:00
Michael Niedermayer
42f3cb419a
Merge commit '863ee8a855b8ce27ffef41479eb66da58763faed'
...
* commit '863ee8a855b8ce27ffef41479eb66da58763faed':
lavfi: clean memory on error in ADD_FORMAT()
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-21 22:12:46 +01:00
Vittorio Giovara
863ee8a855
lavfi: clean memory on error in ADD_FORMAT()
...
CC: libav-stable@libav.org
Bug-Id: CID 1250334
2014-11-21 12:27:07 +00:00
Michael Niedermayer
9e526213a2
avfilter/af_volume: Use avpriv_float_dsp_alloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-18 12:38:38 +01:00
Michael Niedermayer
aa97223f14
avfilter/af_amix: Use avpriv_float_dsp_alloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-18 12:24:16 +01:00
Matthew Oliver
70205f1799
mpcodecs: Use _INLINE guards for inline asm.
...
Enabled compilation with compiler without inline asm support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-17 15:16:34 +01:00
Michael Niedermayer
08ee02deca
avfilter/vf_tinterlace: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-16 01:06:18 +01:00
Clément Bœsch
77204f7366
avfilter/xbr: fix style in FILT4() calls
2014-11-15 22:48:22 +01:00
Clément Bœsch
7eece06934
avfilter/xbr: clarify default "interpolated" pixels assignments
2014-11-15 22:46:19 +01:00
Clément Bœsch
bca3c2cfc0
avfilter/xbr: refactor xbr[234]x into a single function
...
No speed difference.
2014-11-15 22:35:29 +01:00
Clément Bœsch
8bc1553cdb
avfilter/xbr: add slice threading
2014-11-15 22:15:32 +01:00
Clément Bœsch
454b714283
avfilter/xbr: add video and filtering flags to options
...
Fixes ffmpeg -h filter=xbr
2014-11-15 21:22:00 +01:00
Clément Bœsch
be96201e5b
avfilter/xbr: use function pointers for xbr[234]x
2014-11-15 21:18:18 +01:00
Clément Bœsch
c4fb79a3db
avfilter/xbr: remove FATE test entry from @todo
...
See 57688aecbd
2014-11-15 21:13:18 +01:00
Clément Bœsch
9a796f7f18
avfilter/xbr: consistent copyright header
2014-11-15 21:06:13 +01:00
Clément Bœsch
d1529273fb
avfilter/xbr: make xbr[234]x a bit more consistent
2014-11-15 21:06:13 +01:00
Clément Bœsch
a99004a926
avfilter/xbr: misc style fixes
2014-11-15 21:01:40 +01:00
Clément Bœsch
fda209b741
avfilter/xbr: simplify left/up conditions
2014-11-15 21:01:40 +01:00
Clément Bœsch
a3c3ee6973
avfilter/xbr: misc cleanup in FILT[234] macros
2014-11-15 21:01:40 +01:00
Clément Bœsch
7e91f77547
avfilter/xbr: refactor src/dst pointers definitions into a macro
2014-11-15 21:01:39 +01:00
Clément Bœsch
18e4bf4f54
avfilter/xbr: refactor the 21 pixels definition into a macro
2014-11-15 21:01:39 +01:00
Clément Bœsch
6bf9786a9b
avfilter/xbr: mark source pointers as const
2014-11-15 21:01:36 +01:00
Clément Bœsch
e070484040
avfilter/xbr: simplify width overread checks
2014-11-15 20:31:41 +01:00
Clément Bœsch
55f05ac0f1
avfilter/xbr: use different macro names for each dimension
2014-11-15 20:31:41 +01:00
Clément Bœsch
9f9c741771
avfilter/xbr: avoid unecessary macro redirections
2014-11-15 20:31:41 +01:00
Clément Bœsch
086487b633
avfilter/xbr: localize some filtering variables
2014-11-15 20:31:41 +01:00
Clément Bœsch
08bb6f919c
avfilter/xbr: do not pass unchanging r2y to macros
2014-11-15 20:31:41 +01:00
Stefano Sabatini
aea7616d39
lavfi/xbr: remove relicensing notice from copyright header
...
The log is good enough for tracking those changes.
2014-11-15 20:13:53 +01:00
Arwa Arif
a2f05d3337
lavfi : change xBR filter to LGPL
...
Hyllian's message : "Hi, Put lgpl on this and use it as you wish. It's free!"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-15 18:54:54 +01:00
Michael Niedermayer
05e4b25e9b
avfilter/x86/vf_interlace: rewrite asm
...
4775 decicycles -> 3688 decicycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-15 04:09:03 +01:00
Michael Niedermayer
fb3eb57369
avfilter/tinterlace: add Support for ff_lowpass_line_avx() & ff_lowpass_line_sse2()
...
Based-on: 2e1704059a
by Kieran Kunhya
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-15 04:02:33 +01:00
Michael Niedermayer
18b46ecc93
avfilter/tinterlace: Move lowpass_line to a separate function and call it through a function pointer
...
This permits replacing it by a optimized implementation
Based-on / Idea-from: 2e1704059a
by Kieran Kunhya
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-15 03:25:43 +01:00
Michael Niedermayer
9d548fce24
avfilter/tinterlace: split context definition into seperate header so it can be used by future optimizations
...
Idea from 2e1704059a
from Kieran Kunhya
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-15 03:22:35 +01:00
Michael Niedermayer
f043965cd5
avfilter/vf_tinterlace: fix linesize vs. width
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-15 03:03:58 +01:00
Michael Niedermayer
05e0ea6050
avfilter/vf_tinterlace: Fix output top field first flag for MODE_INTERLACEX2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-15 02:45:13 +01:00
Michael Niedermayer
6f373d75e8
Merge commit '2e1704059ae8625beda2ffde847ad22c5ba416dc'
...
* commit '2e1704059ae8625beda2ffde847ad22c5ba416dc':
vf_interlace: Add SIMD for lowpass filter
Conflicts:
libavfilter/vf_interlace.c
libavfilter/x86/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-15 02:39:49 +01:00
Kieran Kunhya
2e1704059a
vf_interlace: Add SIMD for lowpass filter
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2014-11-15 00:35:31 +01:00
Peter Ross
b186b7131e
avfilter/vf_lut: gammaval709()
...
See http://www.itu.int/rec/R-REC-BT.709
Item 1.2, overall opto-electronic transfer characteristics at source
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-14 02:55:15 +01:00
Aleksey Vasenev
8349001638
avfilter/vf_tinterlace: fix frame rate
...
Signed-off-by: Aleksey Vasenev <margtu-fivt@ya.ru>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-13 22:35:15 +01:00
Aleksey Vasenev
df8248f66e
avfilter/vf_interlace: more accurate pts calculation
...
Signed-off-by: Aleksey Vasenev <margtu-fivt@ya.ru>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-13 22:35:15 +01:00
Stefano Sabatini
73f74f6b16
lavfi/xbr: apply misc cosmetical fixes
2014-11-10 11:55:53 +01:00
Clément Bœsch
30466cac9d
avfilter/xbr: drop yet another x2 reference
2014-11-10 06:34:11 +01:00
Clément Bœsch
937ebb8435
avfilter/xbr: fix filter description field
2014-11-10 06:32:27 +01:00
Clément Bœsch
548a5f7ef6
avfilter/xbr: fix TODO entry
2014-11-10 06:28:44 +01:00
Clément Bœsch
fc0a91e3cd
avfilter/xbr: consistent use of @see
2014-11-10 06:26:45 +01:00
Michael Niedermayer
064a237669
avfilter/vf_xbr: Uppercase first letter of context type for consistency
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-10 03:45:00 +01:00
Arwa Arif
19d0949d31
lavfi: add xbr filter xBR
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-10 03:45:00 +01:00
Marton Balint
86476c510e
avfilter/avf_showwaves: fix off by one error in loop condition
...
It caused segfaults.
Signed-off-by: Marton Balint <cus@passwd.hu>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-09 16:44:10 +01:00