mirror of
https://github.com/xiph/opus.git
synced 2025-06-02 16:47:42 +00:00
Renaming the CELT plc.c file to celt_lpc.c to avoid MSVC conflicts with Skype's PLC.c
This commit is contained in:
parent
bc2eebdf46
commit
2779df7ff6
8 changed files with 10 additions and 10 deletions
|
@ -47,7 +47,7 @@
|
||||||
#include "mathops.h"
|
#include "mathops.h"
|
||||||
#include "float_cast.h"
|
#include "float_cast.h"
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include "plc.h"
|
#include "celt_lpc.h"
|
||||||
#include "vq.h"
|
#include "vq.h"
|
||||||
|
|
||||||
#ifndef OPUS_VERSION
|
#ifndef OPUS_VERSION
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
<ClInclude Include="modes.h" />
|
<ClInclude Include="modes.h" />
|
||||||
<ClInclude Include="os_support.h" />
|
<ClInclude Include="os_support.h" />
|
||||||
<ClInclude Include="pitch.h" />
|
<ClInclude Include="pitch.h" />
|
||||||
<ClInclude Include="plc.h" />
|
<ClInclude Include="celt_lpc.h" />
|
||||||
<ClInclude Include="quant_bands.h" />
|
<ClInclude Include="quant_bands.h" />
|
||||||
<ClInclude Include="rate.h" />
|
<ClInclude Include="rate.h" />
|
||||||
<ClInclude Include="stack_alloc.h" />
|
<ClInclude Include="stack_alloc.h" />
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
<ClCompile Include="mdct.c" />
|
<ClCompile Include="mdct.c" />
|
||||||
<ClCompile Include="modes.c" />
|
<ClCompile Include="modes.c" />
|
||||||
<ClCompile Include="pitch.c" />
|
<ClCompile Include="pitch.c" />
|
||||||
<ClCompile Include="plc.c" />
|
<ClCompile Include="celt_lpc.c" />
|
||||||
<ClCompile Include="quant_bands.c" />
|
<ClCompile Include="quant_bands.c" />
|
||||||
<ClCompile Include="rate.c" />
|
<ClCompile Include="rate.c" />
|
||||||
<ClCompile Include="vq.c" />
|
<ClCompile Include="vq.c" />
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
<ClInclude Include="pitch.h">
|
<ClInclude Include="pitch.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="plc.h">
|
<ClInclude Include="celt_lpc.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="quant_bands.h">
|
<ClInclude Include="quant_bands.h">
|
||||||
|
@ -131,7 +131,7 @@
|
||||||
<ClCompile Include="pitch.c">
|
<ClCompile Include="pitch.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="plc.c">
|
<ClCompile Include="celt_lpc.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="quant_bands.c">
|
<ClCompile Include="quant_bands.c">
|
||||||
|
@ -147,4 +147,4 @@
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "plc.h"
|
#include "celt_lpc.h"
|
||||||
#include "stack_alloc.h"
|
#include "stack_alloc.h"
|
||||||
#include "mathops.h"
|
#include "mathops.h"
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
#include "modes.h"
|
#include "modes.h"
|
||||||
#include "stack_alloc.h"
|
#include "stack_alloc.h"
|
||||||
#include "mathops.h"
|
#include "mathops.h"
|
||||||
|
#include "celt_lpc.h"
|
||||||
|
|
||||||
static void find_best_pitch(opus_val32 *xcorr, opus_val16 *y, int len,
|
static void find_best_pitch(opus_val32 *xcorr, opus_val16 *y, int len,
|
||||||
int max_pitch, int *best_pitch
|
int max_pitch, int *best_pitch
|
||||||
|
@ -96,7 +97,6 @@ static void find_best_pitch(opus_val32 *xcorr, opus_val16 *y, int len,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "plc.h"
|
|
||||||
void pitch_downsample(celt_sig * restrict x[], opus_val16 * restrict x_lp,
|
void pitch_downsample(celt_sig * restrict x[], opus_val16 * restrict x_lp,
|
||||||
int len, int _C)
|
int len, int _C)
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,7 +21,7 @@ celt/mfrngcod.h \
|
||||||
celt/modes.h \
|
celt/modes.h \
|
||||||
celt/os_support.h \
|
celt/os_support.h \
|
||||||
celt/pitch.h \
|
celt/pitch.h \
|
||||||
celt/plc.h \
|
celt/celt_lpc.h \
|
||||||
celt/quant_bands.h \
|
celt/quant_bands.h \
|
||||||
celt/rate.h \
|
celt/rate.h \
|
||||||
celt/stack_alloc.h \
|
celt/stack_alloc.h \
|
||||||
|
|
|
@ -10,7 +10,7 @@ celt/mathops.c \
|
||||||
celt/mdct.c \
|
celt/mdct.c \
|
||||||
celt/modes.c \
|
celt/modes.c \
|
||||||
celt/pitch.c \
|
celt/pitch.c \
|
||||||
celt/plc.c \
|
celt/celt_lpc.c \
|
||||||
celt/quant_bands.c \
|
celt/quant_bands.c \
|
||||||
celt/rate.c \
|
celt/rate.c \
|
||||||
celt/vq.c
|
celt/vq.c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue