mirror of
https://github.com/xiph/opus.git
synced 2025-06-01 16:17:42 +00:00
Split off decoder code
This commit is contained in:
parent
8dcccc8934
commit
e63292bd56
6 changed files with 168 additions and 122 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2017-2018 Mozilla */
|
||||
/* Copyright (c) 2017-2019 Mozilla */
|
||||
/*
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
|
@ -43,8 +43,6 @@
|
|||
#include "lpcnet.h"
|
||||
|
||||
|
||||
#define NB_DELTA_CEPS 6
|
||||
|
||||
//#define NB_FEATURES (2*NB_BANDS+3+LPC_ORDER)
|
||||
|
||||
|
||||
|
@ -318,8 +316,6 @@ int quantize_diff(float *x, float *left, float *right, float *codebook, int bits
|
|||
return id;
|
||||
}
|
||||
|
||||
#define FORBIDDEN_INTERP 7
|
||||
|
||||
int interp_search(const float *x, const float *left, const float *right, float *dist_out)
|
||||
{
|
||||
int i, k;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue