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
dd63e275
Commit
dd63e275
authored
Apr 26, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swr-test: add sorted formats table from avr
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a4b58fd9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
swresample_test.c
libswresample/swresample_test.c
+13
-0
No files found.
libswresample/swresample_test.c
View file @
dd63e275
...
@@ -80,6 +80,19 @@ static void shift(uint8_t *a[], int index, int ch_count, enum AVSampleFormat f){
...
@@ -80,6 +80,19 @@ static void shift(uint8_t *a[], int index, int ch_count, enum AVSampleFormat f){
}
}
}
}
static
const
enum
AVSampleFormat
formats
[]
=
{
AV_SAMPLE_FMT_S16
,
AV_SAMPLE_FMT_FLTP
,
AV_SAMPLE_FMT_S16P
,
AV_SAMPLE_FMT_FLT
,
AV_SAMPLE_FMT_S32P
,
AV_SAMPLE_FMT_S32
,
AV_SAMPLE_FMT_U8P
,
AV_SAMPLE_FMT_U8
,
AV_SAMPLE_FMT_DBLP
,
AV_SAMPLE_FMT_DBL
,
};
uint64_t
layouts
[]
=
{
uint64_t
layouts
[]
=
{
AV_CH_LAYOUT_MONO
,
AV_CH_LAYOUT_MONO
,
AV_CH_LAYOUT_STEREO
,
AV_CH_LAYOUT_STEREO
,
...
...
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