OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b58fd
)
swr-test: add sorted formats table from avr
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 26 Apr 2012 07:54:01 +0000
(09:54 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 26 Apr 2012 12:33:10 +0000
(14:33 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/swresample_test.c
patch
|
blob
|
history
diff --git
a/libswresample/swresample_test.c
b/libswresample/swresample_test.c
index
5f88f6a
..
2e8860b
100644
(file)
--- a/
libswresample/swresample_test.c
+++ b/
libswresample/swresample_test.c
@@
-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[]={
AV_CH_LAYOUT_MONO ,
AV_CH_LAYOUT_STEREO ,