Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
75b98610
Commit
75b98610
authored
Jan 20, 2011
by
Justin Ruggles
Committed by
Mans Rullgard
Jan 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: vertical alignment and line wrap
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
d42dc217
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
iirfilter.c
libavcodec/iirfilter.c
+3
-3
iirfilter.h
libavcodec/iirfilter.h
+3
-3
psymodel.c
libavcodec/psymodel.c
+3
-2
No files found.
libavcodec/iirfilter.c
View file @
75b98610
...
@@ -49,9 +49,9 @@ typedef struct FFIIRFilterState{
...
@@ -49,9 +49,9 @@ typedef struct FFIIRFilterState{
av_cold
struct
FFIIRFilterCoeffs
*
ff_iir_filter_init_coeffs
(
void
*
avc
,
av_cold
struct
FFIIRFilterCoeffs
*
ff_iir_filter_init_coeffs
(
void
*
avc
,
enum
IIRFilterType
filt_type
,
enum
IIRFilterType
filt_type
,
enum
IIRFilterMode
filt_mode
,
enum
IIRFilterMode
filt_mode
,
int
order
,
float
cutoff_ratio
,
int
order
,
float
cutoff_ratio
,
float
stopband
,
float
ripple
)
float
stopband
,
float
ripple
)
{
{
int
i
,
j
;
int
i
,
j
;
FFIIRFilterCoeffs
*
c
;
FFIIRFilterCoeffs
*
c
;
...
...
libavcodec/iirfilter.h
View file @
75b98610
...
@@ -62,9 +62,9 @@ enum IIRFilterMode{
...
@@ -62,9 +62,9 @@ enum IIRFilterMode{
*/
*/
struct
FFIIRFilterCoeffs
*
ff_iir_filter_init_coeffs
(
void
*
avc
,
struct
FFIIRFilterCoeffs
*
ff_iir_filter_init_coeffs
(
void
*
avc
,
enum
IIRFilterType
filt_type
,
enum
IIRFilterType
filt_type
,
enum
IIRFilterMode
filt_mode
,
enum
IIRFilterMode
filt_mode
,
int
order
,
float
cutoff_ratio
,
int
order
,
float
cutoff_ratio
,
float
stopband
,
float
ripple
);
float
stopband
,
float
ripple
);
/**
/**
* Create new filter state.
* Create new filter state.
...
...
libavcodec/psymodel.c
View file @
75b98610
...
@@ -88,8 +88,9 @@ av_cold struct FFPsyPreprocessContext* ff_psy_preprocess_init(AVCodecContext *av
...
@@ -88,8 +88,9 @@ av_cold struct FFPsyPreprocessContext* ff_psy_preprocess_init(AVCodecContext *av
cutoff_coeff
=
2
.
0
*
avctx
->
cutoff
/
avctx
->
sample_rate
;
cutoff_coeff
=
2
.
0
*
avctx
->
cutoff
/
avctx
->
sample_rate
;
if
(
cutoff_coeff
)
if
(
cutoff_coeff
)
ctx
->
fcoeffs
=
ff_iir_filter_init_coeffs
(
avctx
,
FF_FILTER_TYPE_BUTTERWORTH
,
FF_FILTER_MODE_LOWPASS
,
ctx
->
fcoeffs
=
ff_iir_filter_init_coeffs
(
avctx
,
FF_FILTER_TYPE_BUTTERWORTH
,
FILT_ORDER
,
cutoff_coeff
,
0
.
0
,
0
.
0
);
FF_FILTER_MODE_LOWPASS
,
FILT_ORDER
,
cutoff_coeff
,
0
.
0
,
0
.
0
);
if
(
ctx
->
fcoeffs
)
{
if
(
ctx
->
fcoeffs
)
{
ctx
->
fstate
=
av_mallocz
(
sizeof
(
ctx
->
fstate
[
0
])
*
avctx
->
channels
);
ctx
->
fstate
=
av_mallocz
(
sizeof
(
ctx
->
fstate
[
0
])
*
avctx
->
channels
);
for
(
i
=
0
;
i
<
avctx
->
channels
;
i
++
)
for
(
i
=
0
;
i
<
avctx
->
channels
;
i
++
)
...
...
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