Clément Bœsch
8978052869
avfilter/lut3d: assert on pixel format descriptor
inlink->format is supposed to be set to a valid format controlled by query_formats().
10 years ago
Clément Bœsch
40cc3be73c
avfilter: fix a few 5 spaces indent
10 years ago
Michael Niedermayer
fbb9ef5b17
avfilter/vf_lut3d: Change enum to int, which is accessed via AVOption as int
This fixes depending on implementation defined behavior
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
fd682b1892
avfilter: handle error in query_formats() of a bunch of random video filters
10 years ago
Clément Bœsch
d5601cf6fc
avfilter/haldclut: fix R/B swap in CLUT loading
Fixes Ticket #3751 .
11 years ago
Clément Bœsch
bc2e39c4cc
avfilter/lut3d: move the scale calc out of the inner loop.
11 years ago
Michael Niedermayer
2e55f3e907
avfilter/vf_lut3d: check size in parse_dat()
Fixes CID1212261
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
7c3941b25c
avfilter/lut3d: support 3DLUTSIZE directive for Davinci files.
Fixes Ticket #2847 .
11 years ago
Clément Bœsch
13aec744c2
avfilter/lut3d: support slice threading.
11 years ago
Clément Bœsch
b6c0f07d5a
avfilter/lut3d: inline whole loop in interpolation function.
84 → 92 fps here.
11 years ago
Clément Bœsch
307b6b8cb4
avfilter/lut3d: fix channel order in Iridas format parsing.
According to http://doc.iridas.com/index.php?title=LUT_Formats
for 3D textures, the data is also RGB, and ordered in such a way
that the red coordinate changes fastest, then the green coordinate,
and finally, the blue coordinate changes slowest:
Fixes Ticket #3236 .
11 years ago
Paul B Mahol
cd1b22d8e8
avfilter/dualinput: simplify
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Nicolas George
231e50157c
lavfi/dualinput: reimplement on top of framesync.
11 years ago
Paul B Mahol
b211607b5c
avfilter: various cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Carl Eugen Hoyos
42272e86fe
lut3d: Fix reading 3dl files with leading comments.
Fixes ticket #2787 .
11 years ago
Clément Bœsch
f97e28ebe5
lavfi/lut3d: add sanity checks.
Should fix CID1026775 and CID1026774.
12 years ago
Clément Bœsch
ae5738248a
lavfi/lut3d: move lut3d init to its definition scope.
12 years ago
Clément Bœsch
158d96e3f0
lavfi: add haldclut filter.
Fixes Ticket #2517 .
12 years ago
Clément Bœsch
56cea3294a
lavfi/lut3d: faster tetrahedral interpolation.
Increase performance by fetching only the necessary points.
1097 → 917 decicyles.
12 years ago
Clément Bœsch
b6ee25e300
lavfi/lut3d: restore original interpolation speed.
Call NEXT() only once since it got slower due to the overflow condition
introduced in 91b46145
.
interp_trilinear: 1462 → 1280 decicycles
interp_tetrahedral: 1188 → 1097 decicycles
Tested on a Core2, GCC 4.8.
12 years ago
Clément Bœsch
91b461459a
lavfi/lut3d: avoid overread.
12 years ago
Clément Bœsch
12f51c1f9e
lavfi: add lut3d filter.
Fixes part of Ticket #2517 .
12 years ago