repositories
/
deb_ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Debian version 2.5.0~trusty1.1
[deb_ffmpeg.git]
/
ffmpeg
/
libavcodec
/
lpc.h
diff --git
a/ffmpeg/libavcodec/lpc.h
b/ffmpeg/libavcodec/lpc.h
index c323230b19eacf644e27278da9419fa4b1a28c16..96acb371467d279263f104d813d8e57a97057b77 100644
(file)
--- a/
ffmpeg/libavcodec/lpc.h
+++ b/
ffmpeg/libavcodec/lpc.h
@@
-24,6
+24,7
@@
#include <stdint.h>
#include "libavutil/avassert.h"
#include <stdint.h>
#include "libavutil/avassert.h"
+#include "libavutil/lls.h"
#define ORDER_METHOD_EST 0
#define ORDER_METHOD_2LEVEL 1
#define ORDER_METHOD_EST 0
#define ORDER_METHOD_2LEVEL 1
@@
-79,6
+80,9
@@
typedef struct LPCContext {
*/
void (*lpc_compute_autocorr)(const double *data, int len, int lag,
double *autoc);
*/
void (*lpc_compute_autocorr)(const double *data, int len, int lag,
double *autoc);
+
+ // TODO: these should be allocated to reduce ABI compatibility issues
+ LLSModel lls_models[2];
} LPCContext;
} LPCContext;
@@
-153,7
+157,7
@@
static inline int compute_lpc_coefs(const LPC_TYPE *autoc, int max_order,
int normalize)
{
int i, j;
int normalize)
{
int i, j;
- LPC_TYPE err;
+ LPC_TYPE err
= 0
;
LPC_TYPE *lpc_last = lpc;
av_assert2(normalize || !fail);
LPC_TYPE *lpc_last = lpc;
av_assert2(normalize || !fail);