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
e19f9952
Commit
e19f9952
authored
May 12, 2009
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bandwith vs. bandwiDth typo.
Originally committed as revision 18804 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e131922e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
qcelpdata.h
libavcodec/qcelpdata.h
+1
-1
qcelpdec.c
libavcodec/qcelpdec.c
+4
-4
asf.h
libavformat/asf.h
+1
-1
No files found.
libavcodec/qcelpdata.h
View file @
e19f9952
...
...
@@ -557,6 +557,6 @@ static const double qcelp_rnd_fir_coefs[11] = {
*
* TIA/EIA/IS-733 2.4.3.3.6 6
*/
#define QCELP_BANDWITH_EXPANSION_COEFF 0.9883
#define QCELP_BANDWI
D
TH_EXPANSION_COEFF 0.9883
#endif
/* AVCODEC_QCELPDATA_H */
libavcodec/qcelpdec.c
View file @
e19f9952
...
...
@@ -597,7 +597,7 @@ static void apply_pitch_filters(QCELPContext *q, float *cdn_vector)
* @param lspf line spectral pair frequencies
* @param lpc linear predictive coding coefficients
*
* @note: bandwith_expansion_coeff could be precalculated into a table
* @note: bandwi
d
th_expansion_coeff could be precalculated into a table
* but it seems to be slower on x86
*
* TIA/EIA/IS-733 2.4.3.3.5
...
...
@@ -605,7 +605,7 @@ static void apply_pitch_filters(QCELPContext *q, float *cdn_vector)
static
void
lspf2lpc
(
const
float
*
lspf
,
float
*
lpc
)
{
double
lsf
[
10
];
double
bandwi
th_expansion_coeff
=
QCELP_BANDWI
TH_EXPANSION_COEFF
;
double
bandwi
dth_expansion_coeff
=
QCELP_BANDWID
TH_EXPANSION_COEFF
;
int
i
;
for
(
i
=
0
;
i
<
10
;
i
++
)
...
...
@@ -615,8 +615,8 @@ static void lspf2lpc(const float *lspf, float *lpc)
for
(
i
=
0
;
i
<
10
;
i
++
)
{
lpc
[
i
]
*=
bandwith_expansion_coeff
;
bandwi
th_expansion_coeff
*=
QCELP_BANDWI
TH_EXPANSION_COEFF
;
lpc
[
i
]
*=
bandwi
d
th_expansion_coeff
;
bandwi
dth_expansion_coeff
*=
QCELP_BANDWID
TH_EXPANSION_COEFF
;
}
}
...
...
libavformat/asf.h
View file @
e19f9952
...
...
@@ -68,7 +68,7 @@ typedef struct {
* invalid if broadcasting */
uint32_t
max_pktsize
;
/**< shall be the same as for min_pktsize
* invalid if broadcasting */
uint32_t
max_bitrate
;
/**< bandwith of stream in bps
uint32_t
max_bitrate
;
/**< bandwi
d
th of stream in bps
* should be the sum of bitrates of the
* individual media streams */
}
ASFMainHeader
;
...
...
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