summaryrefslogtreecommitdiff
path: root/libavcodec/lossless_videodsp.c
Commit message (Collapse)AuthorAge
* all: Replace if (ARCH_FOO) checks by #if ARCH_FOOAndreas Rheinhardt2022-06-15
| | | | | | | | | | | | | | | | | | This is more spec-compliant because it does not rely on dead-code elimination by the compiler. Especially MSVC has problems with this, as can be seen in https://ffmpeg.org/pipermail/ffmpeg-devel/2022-May/296373.html or https://ffmpeg.org/pipermail/ffmpeg-devel/2022-May/297022.html This commit does not eliminate every instance where we rely on dead code elimination: It only tackles branching to the initialization of arch-specific dsp code, not e.g. all uses of CONFIG_ and HAVE_ checks. But maybe it is already enough to compile FFmpeg with MSVC with whole-programm-optimizations enabled (if one does not disable too many components). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/lossless_videodsp: Improve included headersAndreas Rheinhardt2021-07-22
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/utvideodec : add SIMD (SSSE3 and AVX2) for gradient_predMartin Vignali2017-12-09
|
* avcodec/lossless_videodsp: use ptrdiff_t for length parametersJames Almer2017-03-22
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/lossless_videodsp: add missing call to ff_llviddsp_init_ppc()James Almer2017-01-12
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lossless_videodsp: rename add_hfyu_left_pred_int16 to add_left_pred_int16James Almer2017-01-12
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* huffyuvdsp: move functions only used by huffyuv from lossless_videodspJames Almer2017-01-12
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* huffyuvencdsp: move functions only used by huffyuv from lossless_videodspJames Almer2017-01-12
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lossless_videodsp: move shared functions from huffyuvdspJames Almer2017-01-12
| | | | | | Several codecs other than huffyuv use them. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/lossless_videodsp: fix output of add_hfyu_left_pred_int16_c()James Almer2016-12-26
| | | | | | | It is now bitexact with the ssse3 and sse4.1 versions of the function. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* rename add_hfyu_left_prediction_int16 to add_hfyu_left_pred_int16Michael Niedermayer2014-05-29
| | | | | | This makes the naming more consistent with the 8bit variant Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rename add_hfyu_median_prediction_int16 to add_hfyu_median_pred_int16Michael Niedermayer2014-05-29
| | | | | | This makes the naming more consistent with the 8bit variant Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rename sub_hfyu_median_prediction_int16 to sub_hfyu_median_pred_int16Michael Niedermayer2014-05-29
| | | | | | This makes the naming more consistent with the 8bit variant Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/lossless_videodsp: add_hfyu_left_prediction_int16_c: fix harmless ↵Michael Niedermayer2014-02-15
| | | | | | integer overflow Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/lossless_videodsp: Pass AVCodecContext to initMichael Niedermayer2014-01-23
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/lossless_videodsp: fix diff_int16_c on MIPSMichael Niedermayer2014-01-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Move sub_hfyu_median_prediction_int16() to losslessviddspMichael Niedermayer2014-01-20
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Move add_hfyu_median_prediction_int16() to losslessviddspMichael Niedermayer2014-01-20
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Move add_hfyu_left_prediction_int16 to losslessviddspMichael Niedermayer2014-01-20
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Move add/diff_int16 to lossless_videodspMichael Niedermayer2014-01-20
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>