Go to the documentation of this file.
25 #define randomize_int32(buf, len) \
27 for (int i = 0; i < len; i++) { \
28 int32_t f = ((int)(UINT32_MAX >> 17)) - ((int)(rnd() >> 16)); \
48 for (
int i = 0;
i <
len;
i++) {
50 fprintf(stderr,
"%d: %- .12f - %- .12f = % .12g\n",
51 i, dst0[
i], dst1[
i], dst0[
i] - dst1[
i]);
66 if (
check_func(
ctx.lpc_apply_welch_window,
"apply_welch_window_even")) {
69 report(
"apply_welch_window_even");
71 if (
check_func(
ctx.lpc_apply_welch_window,
"apply_welch_window_odd")) {
74 report(
"apply_welch_window_odd");
void checkasm_check_lpc(void)
#define randomize_int32(buf, len)
av_cold int ff_lpc_init(LPCContext *s, int blocksize, int max_order, enum FFLPCType lpc_type)
Initialize LPCContext.
static void test_window(int len)
#define check_func(func,...)
int double_near_abs_eps(double a, double b, double eps)
@ FF_LPC_TYPE_DEFAULT
use the codec default LPC type
#define LOCAL_ALIGNED(a, t, v,...)
av_cold void ff_lpc_end(LPCContext *s)
Uninitialize LPCContext.
#define i(width, name, range_min, range_max)
#define declare_func(ret,...)