@@ -121,25 +121,6 @@ av_cold void avpriv_init_lls(LLSModel *m, int indep_count) | |||||
ff_init_lls_x86(m); | ff_init_lls_x86(m); | ||||
} | } | ||||
#if FF_API_LLS_PRIVATE | |||||
av_cold void av_init_lls(LLSModel *m, int indep_count) | |||||
{ | |||||
avpriv_init_lls(m, indep_count); | |||||
} | |||||
void av_update_lls(LLSModel *m, double *param, double decay) | |||||
{ | |||||
m->update_lls(m, param); | |||||
} | |||||
void av_solve_lls(LLSModel *m, double threshold, int min_order) | |||||
{ | |||||
avpriv_solve_lls(m, threshold, min_order); | |||||
} | |||||
double av_evaluate_lls(LLSModel *m, double *param, int order) | |||||
{ | |||||
return m->evaluate_lls(m, param, order); | |||||
} | |||||
#endif /* FF_API_LLS_PRIVATE */ | |||||
#ifdef TEST | #ifdef TEST | ||||
#include <stdio.h> | #include <stdio.h> | ||||
@@ -61,11 +61,4 @@ void avpriv_init_lls(LLSModel *m, int indep_count); | |||||
void ff_init_lls_x86(LLSModel *m); | void ff_init_lls_x86(LLSModel *m); | ||||
void avpriv_solve_lls(LLSModel *m, double threshold, unsigned short min_order); | void avpriv_solve_lls(LLSModel *m, double threshold, unsigned short min_order); | ||||
#if FF_API_LLS_PRIVATE | |||||
void av_init_lls(LLSModel *m, int indep_count); | |||||
void av_update_lls(LLSModel *m, double *param, double decay); | |||||
void av_solve_lls(LLSModel *m, double threshold, int min_order); | |||||
double av_evaluate_lls(LLSModel *m, double *param, int order); | |||||
#endif /* FF_API_LLS_PRIVATE */ | |||||
#endif /* AVUTIL_LLS_H */ | #endif /* AVUTIL_LLS_H */ |
@@ -78,9 +78,6 @@ | |||||
* @{ | * @{ | ||||
*/ | */ | ||||
#ifndef FF_API_LLS_PRIVATE | |||||
#define FF_API_LLS_PRIVATE (LIBAVUTIL_VERSION_MAJOR < 55) | |||||
#endif | |||||
#ifndef FF_API_VDPAU | #ifndef FF_API_VDPAU | ||||
#define FF_API_VDPAU (LIBAVUTIL_VERSION_MAJOR < 55) | #define FF_API_VDPAU (LIBAVUTIL_VERSION_MAJOR < 55) | ||||
#endif | #endif | ||||