summaryrefslogtreecommitdiff
path: root/libavcodec/opus_pvq.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-03 22:03:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-05 02:08:39 +0200
commit542c334eb5450ea8a2ef74ca3b46b3defff61c79 (patch)
treea8456a11cb9160511845d5e2a830d11e52db2571 /libavcodec/opus_pvq.h
parenta622f4451f28248f36479a05ffa6c29c6850f4bf (diff)
avcodec/opus_celt, opus_pvq: Move CeltPVQ typedef to opus_pvq.h
It is more natural that way. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/opus_pvq.h')
-rw-r--r--libavcodec/opus_pvq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/opus_pvq.h b/libavcodec/opus_pvq.h
index b30407f5ab..b71bc49034 100644
--- a/libavcodec/opus_pvq.h
+++ b/libavcodec/opus_pvq.h
@@ -34,13 +34,13 @@
float *lowband_out, int level, float gain, \
float *lowband_scratch, int fill)
-struct CeltPVQ {
+typedef struct CeltPVQ {
DECLARE_ALIGNED(32, int, qcoeff )[256];
DECLARE_ALIGNED(32, float, hadamard_tmp)[256];
float (*pvq_search)(float *X, int *y, int K, int N);
QUANT_FN(*quant_band);
-};
+} CeltPVQ;
void ff_celt_pvq_init_x86(struct CeltPVQ *s);