Martin Vignali
414c0e27a9
fate/hap : move decoding test to a separate file
2018-03-13 20:27:22 +01:00
Martin Vignali
7b0cb2e032
avcodec/hapqa_extract_bsf : add new bsf filter
...
convert HapQA data to HAPQ or HAPAlphaOnly
by copying the corresponding texture
2018-03-13 20:26:07 +01:00
Martin Vignali
f869e54d22
avcodec/hap : move parse_section_header to hap.c in order to be use by new bsf filter
2018-03-13 20:26:02 +01:00
Martin Vignali
c0919c4985
checkasm/vf_blend : add test for blend_simple_16, phoenix_16 and difference_16
2018-02-24 21:44:23 +01:00
Martin Vignali
53a03b5c8c
avfilter/x86/vf_blend : add 16 bit version for BLEND_SIMPLE, phoenix, difference for SSE and AVX2 (x86_64)
2018-02-24 21:44:19 +01:00
Martin Vignali
6c6c9d14a8
avfilter/x86/vf_blend : indent
2018-02-24 21:44:16 +01:00
Martin Vignali
7590d58b61
avfilter/x86/vf_blend : reorganize init in order to add 16 bit version
2018-02-24 21:44:13 +01:00
Martin Vignali
e3fc36a84c
checkasm/vf_blend : add depth param in order to add test for 16 bit version
2018-02-24 21:44:09 +01:00
Martin Vignali
c8552b7858
fate/exr : add test for long name flag
...
ticket 6994
2018-02-24 21:42:46 +01:00
Martin Vignali
ea03f295ec
avcodec/exr : add support for long name flag and be more explicit about unsupported flag
...
based-on patch by Carl Eugen Hoyos
Fix ticket 6994
2018-02-24 21:42:04 +01:00
Martin Vignali
78b982d3b9
checkasm : add test for losslessvideoencdsp for diff bytes and sub_left_pred
2018-01-28 20:23:16 +01:00
Martin Vignali
8f9c38b196
avcodec/utvideoenc : add SIMD (avx) for sub_left_prediction
...
asm code by Henrik Gramner
2018-01-28 20:23:11 +01:00
Martin Vignali
3a230ce5fa
avfilter/x86/vf_blend : avfilter/x86/vf_blend : add AVX2 version for each func except divide
...
and optimize average, grainextract, multiply, screen, grain merge
2018-01-28 20:21:32 +01:00
Martin Vignali
b94cd55155
avfilter/x86/vf_interlace : add AVX2 version
2018-01-11 21:03:19 +01:00
Martin Vignali
3df6e61dad
avfilter/x86/vf_hflip : indent
...
based on patch by Paul B Mahol
2017-12-19 21:10:12 +01:00
Martin Vignali
f181648176
avfilter/x86/vf_hflip : add avx2 version for hflip_byte and hflip_short
2017-12-19 21:10:09 +01:00
Martin Vignali
a4a4179e83
avfilter/x86/vf_hflip : merge hflip byte and hflip short to one macro
2017-12-19 21:10:05 +01:00
Martin Vignali
8fb1d63d91
avfilter/vf_tinterlace : add AVX2 func for lowpass_line 8 and 16
2017-12-19 20:59:59 +01:00
Martin Vignali
1a5865b6dc
avfilter/vf_interlace : add AVX2 for lowpass_line 8 and 16
2017-12-19 20:59:54 +01:00
Martin Vignali
adff97be5e
checkasm/vf_interlace : add test for lowpass_line 8 and 16
2017-12-19 20:59:51 +01:00
Martin Vignali
d31770d9a6
avfilter/vf_interlace : move func init in ff_interlace_init and add depth arg for ff_interlace_init_x86
2017-12-19 20:59:47 +01:00
Martin Vignali
c76cf303ce
avcodec/magicyuv : use gradient_pred dsp func for 8 bits gradient mode
2017-12-19 20:55:12 +01:00
Martin Vignali
f2e9156eb6
avcodec/utvideodec : use gradient_pred dsp in interlace decoding
2017-12-19 20:55:08 +01:00
Martin Vignali
ee2dfa34a2
libavcodec/magicyuvenc : fix warning
2017-12-16 14:21:07 +01:00
Martin Vignali
3c6dc27035
avfilter/x86/vf_interlace : avfilter/x86/vf_interlace : fix crash when using unaligned data in low_pass complex
...
related to ticket 6491
2017-12-15 11:28:29 +01:00
Martin Vignali
49dced9fd0
avfilter/x86/vf_interlace : avoid crash when data are unaligned
...
ticket 6491
2017-12-15 11:28:25 +01:00
Martin Vignali
cefb7e0060
checkasm/vf_hflip : add test for vf_hflip byte and short simd
2017-12-13 11:34:29 +01:00
Martin Vignali
46f534bdee
avfilter/vf_hflip : move context func init in ff_hflip_init
2017-12-13 11:34:24 +01:00
Martin Vignali
e1121f9723
checkasm/llviddsp : add test for add_gradient_pred
2017-12-09 15:19:07 +01:00
Martin Vignali
630967ef63
avcodec/utvideodec : add SIMD (SSSE3 and AVX2) for gradient_pred
2017-12-09 15:19:03 +01:00
Martin Vignali
4353c35067
avcodec/x86/lossless_videodsp : add avx2 version for add_left_pred
2017-12-09 15:16:03 +01:00
Martin Vignali
cfbcea1cca
avcodec/x86/lossless_videodsp.asm : make macro for add_left_pred_unaligned in order to add avx2 version
2017-12-09 15:15:59 +01:00
Martin Vignali
5bda11e70e
checkasm/llviddsp : test return of add_left_pred(16)
2017-12-09 15:15:56 +01:00
Martin Vignali
dc9a187c3d
avcodec/huffyuvenc : sub_left_prediction_bgr32, call dsp after 32 first byte of the line in order to try to call the align version (diff bytes have avx2 version)
2017-12-09 15:12:59 +01:00
Martin Vignali
001173b8ff
avcodec/huffyuvenc : remove code duplication in sub_left_prediction
...
start of the line (before dsp call), can be merge with width < 32 part
2017-12-09 15:12:54 +01:00
Martin Vignali
57877f2b44
avcodec/huffyuvenc : increase scalar loop count
...
in order to try to call dsp in aligned mode
(diff_int16 have AVX2 now)
2017-12-09 15:12:49 +01:00
Martin Vignali
9e1c9633cc
avcodec/utvideodec : use dsp add_median_pred for second line
...
process start of the line in scalar, before call dsp
(dsp need align 16)
2017-12-09 15:11:12 +01:00
Martin Vignali
179a2f04eb
checkasm/vf_threshold : add test for threshold16
2017-12-09 14:47:13 +01:00
Martin Vignali
869efbf971
avfilter/x86/vf_threshold : add threshold16 SIMD (SSE4 and AVX2)
2017-12-09 14:47:09 +01:00
Martin Vignali
6e3e696591
avfilter/x86/vf_threshold : cosmetic indent
2017-12-03 19:17:28 +01:00
Martin Vignali
9719d57b34
avfilter/x86/vf_threshold : add avx2 version for threshold 8
2017-12-03 19:17:23 +01:00
Martin Vignali
51345cb1d5
avfilter/x86/vf_threshold : make macro for threshold8 in order to add avx2 version
2017-12-03 19:17:19 +01:00
Martin Vignali
cfce442750
checkasm/vf_threshold : add checkasm test for threshold8
2017-12-03 19:17:15 +01:00
Martin Vignali
fa470384ea
avfilter/vf_threshold : move context func init in ff_threshold_init
2017-12-03 19:17:11 +01:00
Martin Vignali
be6d1f9632
avcodec/x86/bswapdsp : use macro for 128 bits constants loading in xmm or ymm
2017-12-02 18:25:25 +01:00
Martin Vignali
b37196adff
avutil/x86util : add macro for loading a 128 bits constants in an xmm or in each part of an ymm in order to simplify avx2 asm func
2017-12-02 18:25:15 +01:00
Martin Vignali
9bed17cd0f
checkasm/utvideo : be more explicit to the WIDTH_PADDED define
2017-12-01 21:08:07 +01:00
Martin Vignali
8794e0c037
fate/hapAlphaOnly : add test for hap alpha only decoding
2017-11-25 19:49:34 +01:00
Martin Vignali
21c06c4095
avcodec/hapdec : use gray8 for HapAlphaOnly decoding instead of RGB0
2017-11-25 19:49:30 +01:00
Martin Vignali
07e427aa56
avcodec/texturedsp : add rgtc1u gray decoding
...
decode rgtc1 block in gray8 picture
2017-11-25 19:49:25 +01:00
Martin Vignali
515555af6c
avcodec/x86/exrdsp : use ymm constant for pb_80
...
speed seems to be similar, but simplify code
2017-11-23 20:00:13 +01:00
Martin Vignali
37810bee78
fate/hapdec : add test for hapqa decoding
2017-11-21 12:05:21 +01:00
Martin Vignali
2053832d1c
avcodec/hapdec : add support for hapqa decoding
2017-11-21 12:05:16 +01:00
Martin Vignali
fca8919961
avcodec/hapdec : indent after previous commit
2017-11-21 12:05:10 +01:00
Martin Vignali
518b9ee3d1
avcodec/hapdec : reorganize code before adding multi-texture decoding
2017-11-21 12:05:06 +01:00
Martin Vignali
ba98f8463f
avcodec/huffyuvdspenc : add diff_int16 AVX2 func
2017-11-21 09:42:08 +01:00
Martin Vignali
d189a426fa
avcodec/huffyuvdspenc : reorganize diff_int16
2017-11-21 09:42:03 +01:00
Martin Vignali
e641c94190
avcodec/huffyuvdsp : add add_int16 AVX2 func
2017-11-21 09:41:58 +01:00
Martin Vignali
6955e8842e
avcodec/huffyuvdsp : reorganize add_int16 asm
2017-11-21 09:41:52 +01:00
Martin Vignali
7f9b67bcb6
avcodec/huffyuvdsp(enc) : move duplicate macro to a template file
2017-11-21 09:41:46 +01:00
Martin Vignali
4a6aa6d1b2
checkasm : add test for huffyuvdsp add_int16
2017-11-21 09:41:42 +01:00
Martin Vignali
caf51a573d
avcodec/x86/utvideodsp.asm : cosmetic
...
better func separator
and add comment for the restore rgb planes10 declaration
2017-11-21 09:00:47 +01:00
Martin Vignali
b5ebe38443
avcodec/utvideodsp : add avx2 version for the dsp
2017-11-21 09:00:42 +01:00
Martin Vignali
48b7c45b0c
avcodec/x86/utvideodsp : make macro for func
2017-11-21 09:00:38 +01:00
Martin Vignali
6a7eb65e1b
checkasm : add utvideodsp test
2017-11-21 09:00:27 +01:00
Martin Vignali
7e1f21148d
libavcodec/mepgvideo : remove warning introduce by previous patch
...
Signed-off-by: James Almer <jamrial@gmail.com >
2017-11-06 21:23:19 -03:00
Martin Vignali
0380b72d35
libavcodec/lossless_video_dsp : cosmetic add better separator for each function, in order to make reading of the asm file easier
2017-11-07 00:56:54 +01:00
Martin Vignali
da62128ea1
libavcodec/lossless_videodsp : add add_bytes avx2 version
2017-11-07 00:56:02 +01:00
Martin Vignali
fbe9148779
checkasm/llviddsp : add test for other dsp func
...
add_median_pred
add_left_pred : add two func one with acc 0, and one with random acc
add_left_pred16
2017-11-07 00:54:17 +01:00
Martin Vignali
ad784e0cb6
fate/utvideo : add test for decoding and encoding
2017-11-07 00:52:58 +01:00
Martin Vignali
9c71473189
libavcodec/utvideo : simplify decode_plane
...
the func is only call with step = 1
no need to pass it in the func
2017-11-07 00:51:17 +01:00
Martin Vignali
97ac8a47dd
libavcodec/blockdsp : fix comment. clear_block need 32 aligned now
2017-11-07 00:48:11 +01:00
Martin Vignali
bb3d62874e
avutil/pixdesc: remove reference to avcodec_get_chroma_sub_sample
...
Don't recommend to use deprecated functions.
Signed-off-by: James Almer <jamrial@gmail.com >
2017-11-06 19:16:46 -03:00
Martin Vignali
4ada428aae
avcodec: remove remaining uses of avcodec_get_chroma_sub_sample
...
Replace them with av_pix_fmt_get_chroma_sub_sample.
Signed-off-by: James Almer <jamrial@gmail.com >
2017-11-06 19:13:03 -03:00
Martin Vignali
cb618da8d3
Maintainers : add myself for exr
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-11-05 22:13:12 +01:00
Martin Vignali
e9930883a2
libavcodec/bswapdsp : add AVX2 func for bswap_buf (swap uint32_t)
2017-10-29 15:21:35 +01:00
Martin Vignali
7da254886f
libavcodec/magicyuv : remove unneed variable assignment
2017-10-29 09:14:48 +01:00
Martin Vignali
7480f232d2
libavcodec/texturedspenc : indent after add rgtc1u_alpha func
...
Signed-off-by: Tom Butterworth <bangnoise@gmail.com >
2017-10-16 15:35:04 +01:00
Martin Vignali
92500c7bc5
libavcodec/texturedsp : indent after add rgtc1u_alpha func
...
Signed-off-by: Tom Butterworth <bangnoise@gmail.com >
2017-10-16 15:34:56 +01:00
Martin Vignali
50a20de6b9
libavcodec/texturedspenc : add rgtc1_u_alpha encoding func
...
this func encode the alpha channel of the rgba input
to an rgtc1u block
Signed-off-by: Tom Butterworth <bangnoise@gmail.com >
2017-10-16 15:34:14 +01:00
Martin Vignali
d4d4629dfe
libavcodec/texturedsp : add rgtc1u_alpha decoding func
...
this func decode an rgtc1 texture and overwrite only the alpha channel
of the dest RGBA picture
Signed-off-by: Tom Butterworth <bangnoise@gmail.com >
2017-10-16 15:34:03 +01:00
Martin Vignali
cbbec68847
libavcodec/blockdsp : add AVX version
...
Also modify the required alignment, to 32 instead of 16
for several codecs
Signed-off-by: James Almer <jamrial@gmail.com >
2017-10-03 19:47:37 -03:00
Martin Vignali
ac5908b13f
libavcodec/exr : add x86 SIMD for predictor
...
Signed-off-by: James Almer <jamrial@gmail.com >
2017-10-01 17:35:30 -03:00
Martin Vignali
cab71e4e4e
libavcodec/hapdec : add support HapAlphaOnly
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-24 21:54:13 +02:00
Martin Vignali
45c15b7490
libavformat : add mov dataformat tag for HapAlphaOnly and HapQAlpha
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-24 21:54:13 +02:00
Martin Vignali
9b8c1224d7
libavcodec/exr : add X86 SIMD for reorder_pixels
...
Signed-off-by: James Almer <jamrial@gmail.com >
2017-09-17 17:53:57 -03:00
Martin Vignali
2fcf47e2d1
fate/pixlet : add test for rgb
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-08-31 02:53:11 +02:00
Martin Vignali
435dd2ee4e
configure: add avx2 enabled log
...
Signed-off-by: James Almer <jamrial@gmail.com >
2017-08-26 20:00:30 -03:00
Martin Vignali
2c6179aa82
libavcodec/exr : simplify reorder_pixels
...
reorder_pixels is call by rle_uncompress and zip_uncompress
with size == uncompress_size
uncompress_size is a multiple of 2 (because exr store data
in half, float, or uint32)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-05-14 20:58:53 +02:00
Martin Vignali
73ae60d7df
libavcodec/exr : cosmetics variable name
...
rename tile variable to better follow ffmpeg coding style
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-05-12 23:38:03 +02:00
Martin Vignali
6ce57fb3c2
fate/exr : add test for Y, b44A negative half, and datawindow != displaywindow
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-05-10 14:00:20 +02:00
Martin Vignali
89812e423d
fate/exr : add test for negative float value
...
the tested sample contain negative value in the red channel
need to be clip to zero, and not set to MAX_RED
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-05-01 11:40:57 +02:00
Martin Vignali
5ad18f279a
fate/exr : add tests for piz uncompress
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-05-01 11:40:57 +02:00
Martin Vignali
37f4d22075
libavcodec/exr : fix piz uncompress on big endian
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-05-01 11:40:57 +02:00
Martin Vignali
e46d637452
libavcodec/exr : fix float to uint16 conversion for negative float value
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-04-27 04:25:31 +02:00
Martin Vignali
59d219b91e
fate/exr : fix pix_fmt
...
rgb_scanline_pxr24_half_uint32_13x9.exr doesn't have alpha
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-04-25 12:12:57 +02:00
Martin Vignali
4db2bfa63c
fate : add test for exr with offset table set to 0
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-04-03 03:02:50 +02:00
Martin Vignali
8163314967
libavcodec/exr : fix scanline offset table recreation on big endian
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-04-03 03:02:50 +02:00
Martin Vignali
6426f74272
fate/exr : add test for uint32 data
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-03-31 23:09:55 +02:00
Martin Vignali
b4016ef31a
avcodec/exr: add support for uint32
2017-03-29 23:28:35 +02:00