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
7312e027
Commit
7312e027
authored
Dec 28, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_afir: introduce AudioFIRSegment structure and use it
parent
fccba32b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
86 additions
and
103 deletions
+86
-103
af_afir.c
libavfilter/af_afir.c
+69
-92
af_afir.h
libavfilter/af_afir.h
+17
-11
No files found.
libavfilter/af_afir.c
View file @
7312e027
This diff is collapsed.
Click to expand it.
libavfilter/af_afir.h
View file @
7312e027
...
...
@@ -31,6 +31,22 @@
#include "formats.h"
#include "internal.h"
typedef
struct
AudioFIRSegment
{
int
nb_partitions
;
int
part_index
;
int
part_size
;
int
block_size
;
int
fft_length
;
int
coeff_size
;
AVFrame
*
sum
;
AVFrame
*
block
;
AVFrame
*
buffer
;
RDFTContext
**
rdft
,
**
irdft
;
FFTComplex
**
coeff
;
}
AudioFIRSegment
;
typedef
struct
AudioFIRContext
{
const
AVClass
*
class
;
...
...
@@ -53,23 +69,13 @@ typedef struct AudioFIRContext {
int
eof_coeffs
;
int
have_coeffs
;
int
nb_taps
;
int
part_size
;
int
part_index
;
int
coeff_size
;
int
block_size
;
int
nb_partitions
;
int
nb_channels
;
int
fft_length
;
int
nb_coef_channels
;
int
one2many
;
RDFTContext
**
rdft
,
**
irdft
;
float
**
sum
;
float
**
block
;
FFTComplex
**
coeff
;
AudioFIRSegment
seg
;
AVFrame
*
in
[
2
];
AVFrame
*
buffer
;
AVFrame
*
video
;
int64_t
pts
;
...
...
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