prores: Use consistent names for DSP arch initialization functions
This commit is contained in:
parent
f2408ec9d7
commit
b23650491f
@ -78,7 +78,8 @@ av_cold void ff_proresdsp_init(ProresDSPContext *dsp)
|
|||||||
dsp->idct_put = prores_idct_put_c;
|
dsp->idct_put = prores_idct_put_c;
|
||||||
dsp->idct_permutation_type = FF_NO_IDCT_PERM;
|
dsp->idct_permutation_type = FF_NO_IDCT_PERM;
|
||||||
|
|
||||||
if (ARCH_X86) ff_proresdsp_x86_init(dsp);
|
if (ARCH_X86)
|
||||||
|
ff_proresdsp_init_x86(dsp);
|
||||||
|
|
||||||
ff_init_scantable_permutation(dsp->idct_permutation,
|
ff_init_scantable_permutation(dsp->idct_permutation,
|
||||||
dsp->idct_permutation_type);
|
dsp->idct_permutation_type);
|
||||||
|
@ -38,6 +38,6 @@ typedef struct ProresDSPContext {
|
|||||||
|
|
||||||
void ff_proresdsp_init(ProresDSPContext *dsp);
|
void ff_proresdsp_init(ProresDSPContext *dsp);
|
||||||
|
|
||||||
void ff_proresdsp_x86_init(ProresDSPContext *dsp);
|
void ff_proresdsp_init_x86(ProresDSPContext *dsp);
|
||||||
|
|
||||||
#endif /* AVCODEC_PRORESDSP_H */
|
#endif /* AVCODEC_PRORESDSP_H */
|
||||||
|
@ -32,7 +32,7 @@ void ff_prores_idct_put_10_sse4(uint16_t *dst, int linesize,
|
|||||||
void ff_prores_idct_put_10_avx (uint16_t *dst, int linesize,
|
void ff_prores_idct_put_10_avx (uint16_t *dst, int linesize,
|
||||||
int16_t *block, const int16_t *qmat);
|
int16_t *block, const int16_t *qmat);
|
||||||
|
|
||||||
av_cold void ff_proresdsp_x86_init(ProresDSPContext *dsp)
|
av_cold void ff_proresdsp_init_x86(ProresDSPContext *dsp)
|
||||||
{
|
{
|
||||||
#if ARCH_X86_64
|
#if ARCH_X86_64
|
||||||
int cpu_flags = av_get_cpu_flags();
|
int cpu_flags = av_get_cpu_flags();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user