summaryrefslogtreecommitdiff
path: root/libavcodec/g722dsp.c
Commit message (Collapse)AuthorAgeFilesLines
* all: Replace if (ARCH_FOO) checks by #if ARCH_FOOAndreas Rheinhardt2022-06-151-4/+5
| | | | | | | | | | | | | | | | | | 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>
* x86/g722dsp: add ff_g722_apply_qmf_sse2James Almer2015-02-161-0/+2
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '702458538d4e52809bcef460d39baabf061b16b5'Michael Niedermayer2015-02-161-0/+3
|\ | | | | | | | | | | | | | | | | | | * commit '702458538d4e52809bcef460d39baabf061b16b5': g722: Add ARM NEON implementation for g722_apply_qmf() Conflicts: libavcodec/arm/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * g722: Add ARM NEON implementation for g722_apply_qmf()Peter Meerwald2015-02-151-0/+3
| | | | | | | | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'b16057b5fe9f02442c52388037891c2e381205fc'Michael Niedermayer2015-02-161-11/+35
|\ \ | |/ | | | | | | | | | | * commit 'b16057b5fe9f02442c52388037891c2e381205fc': g722: Unroll g722_apply_qmf() Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * g722: Unroll g722_apply_qmf()Peter Meerwald2015-02-151-11/+35
| | | | | | | | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '10f160768b824f00933f33bc69f1fae89a25dfc8'Michael Niedermayer2015-02-161-5/+5
|\ \ | |/ | | | | | | | | | | * commit '10f160768b824f00933f33bc69f1fae89a25dfc8': g722: Reduce number of pointers passed to g722_apply_qmf() function Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * g722: Reduce number of pointers passed to g722_apply_qmf() functionPeter Meerwald2015-02-151-5/+5
| | | | | | | | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '67690683130faf37dd9d969ced15eba2a1940ade'Michael Niedermayer2015-02-161-4/+4
|/ | | | | | | * commit '67690683130faf37dd9d969ced15eba2a1940ade': g722: Split out g722_qmf_apply() function into g722dsp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* g722: Split out g722_qmf_apply() function into g722dsp.cPeter Meerwald2015-02-151-0/+47
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>