Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
4a2c6516
Commit
4a2c6516
authored
Mar 16, 2019
by
Lynne
Committed by
Carl Eugen Hoyos
Mar 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86/opus_dsp: rename to celt_pvq
Its only used in the encoder and in CELT's PVQ.
parent
4eec0082
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
opus_pvq.c
libavcodec/opus_pvq.c
+1
-1
opus_pvq.h
libavcodec/opus_pvq.h
+1
-1
Makefile
libavcodec/x86/Makefile
+3
-3
celt_pvq_init.c
libavcodec/x86/celt_pvq_init.c
+1
-1
celt_pvq_search.asm
libavcodec/x86/celt_pvq_search.asm
+0
-0
No files found.
libavcodec/opus_pvq.c
View file @
4a2c6516
...
...
@@ -904,7 +904,7 @@ int av_cold ff_celt_pvq_init(CeltPVQ **pvq, int encode)
s
->
quant_band
=
encode
?
pvq_encode_band
:
pvq_decode_band
;
if
(
ARCH_X86
)
ff_
opus_dsp
_init_x86
(
s
);
ff_
celt_pvq
_init_x86
(
s
);
*
pvq
=
s
;
...
...
libavcodec/opus_pvq.h
View file @
4a2c6516
...
...
@@ -40,7 +40,7 @@ struct CeltPVQ {
QUANT_FN
(
*
quant_band
);
};
void
ff_
opus_dsp
_init_x86
(
struct
CeltPVQ
*
s
);
void
ff_
celt_pvq
_init_x86
(
struct
CeltPVQ
*
s
);
int
ff_celt_pvq_init
(
struct
CeltPVQ
**
pvq
,
int
encode
);
void
ff_celt_pvq_uninit
(
struct
CeltPVQ
**
pvq
);
...
...
libavcodec/x86/Makefile
View file @
4a2c6516
...
...
@@ -53,8 +53,8 @@ OBJS-$(CONFIG_CAVS_DECODER) += x86/cavsdsp.o
OBJS-$(CONFIG_DCA_DECODER)
+=
x86/dcadsp_init.o
x86/synth_filter_init.o
OBJS-$(CONFIG_DNXHD_ENCODER)
+=
x86/dnxhdenc_init.o
OBJS-$(CONFIG_EXR_DECODER)
+=
x86/exrdsp_init.o
OBJS-$(CONFIG_OPUS_DECODER)
+=
x86/
opus_dsp
_init.o
OBJS-$(CONFIG_OPUS_ENCODER)
+=
x86/
opus_dsp
_init.o
OBJS-$(CONFIG_OPUS_DECODER)
+=
x86/
celt_pvq
_init.o
OBJS-$(CONFIG_OPUS_ENCODER)
+=
x86/
celt_pvq
_init.o
OBJS-$(CONFIG_HEVC_DECODER)
+=
x86/hevcdsp_init.o
OBJS-$(CONFIG_JPEG2000_DECODER)
+=
x86/jpeg2000dsp_init.o
OBJS-$(CONFIG_MLP_DECODER)
+=
x86/mlpdsp_init.o
...
...
@@ -127,7 +127,7 @@ X86ASM-OBJS-$(CONFIG_MDCT15) += x86/mdct15.o
X86ASM-OBJS-$(CONFIG_ME_CMP)
+=
x86/me_cmp.o
X86ASM-OBJS-$(CONFIG_MPEGAUDIODSP)
+=
x86/imdct36.o
X86ASM-OBJS-$(CONFIG_MPEGVIDEOENC)
+=
x86/mpegvideoencdsp.o
X86ASM-OBJS-$(CONFIG_OPUS_ENCODER)
+=
x86/
opus
_pvq_search.o
X86ASM-OBJS-$(CONFIG_OPUS_ENCODER)
+=
x86/
celt
_pvq_search.o
X86ASM-OBJS-$(CONFIG_PIXBLOCKDSP)
+=
x86/pixblockdsp.o
X86ASM-OBJS-$(CONFIG_QPELDSP)
+=
x86/qpeldsp.o
\
x86/fpel.o
\
...
...
libavcodec/x86/
opus_dsp
_init.c
→
libavcodec/x86/
celt_pvq
_init.c
View file @
4a2c6516
...
...
@@ -28,7 +28,7 @@ extern float ff_pvq_search_approx_sse2(float *X, int *y, int K, int N);
extern
float
ff_pvq_search_approx_sse4
(
float
*
X
,
int
*
y
,
int
K
,
int
N
);
extern
float
ff_pvq_search_exact_avx
(
float
*
X
,
int
*
y
,
int
K
,
int
N
);
av_cold
void
ff_
opus_dsp
_init_x86
(
CeltPVQ
*
s
)
av_cold
void
ff_
celt_pvq
_init_x86
(
CeltPVQ
*
s
)
{
int
cpu_flags
=
av_get_cpu_flags
();
...
...
libavcodec/x86/
opus
_pvq_search.asm
→
libavcodec/x86/
celt
_pvq_search.asm
View file @
4a2c6516
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment