x86: sbrdsp: implement SSE2 qmf_pre_shuffle
From 253 to 51 cycles on Arrandale and Win64. 44 cycles on SandyBridge. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:

committed by
Michael Niedermayer

parent
d2e051e30c
commit
2383068cbf
@@ -36,6 +36,7 @@ void ff_sbr_neg_odd_64_sse(float *z);
|
||||
void ff_sbr_qmf_post_shuffle_sse(float W[32][2], const float *z);
|
||||
void ff_sbr_qmf_deint_bfly_sse(float *v, const float *src0, const float *src1);
|
||||
void ff_sbr_qmf_deint_bfly_sse2(float *v, const float *src0, const float *src1);
|
||||
void ff_sbr_qmf_pre_shuffle_sse2(float *z);
|
||||
|
||||
av_cold void ff_sbrdsp_init_x86(SBRDSPContext *s)
|
||||
{
|
||||
@@ -53,5 +54,6 @@ av_cold void ff_sbrdsp_init_x86(SBRDSPContext *s)
|
||||
|
||||
if (EXTERNAL_SSE2(mm_flags)) {
|
||||
s->qmf_deint_bfly = ff_sbr_qmf_deint_bfly_sse2;
|
||||
s->qmf_pre_shuffle = ff_sbr_qmf_pre_shuffle_sse2;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user