mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-13 22:58:40 +00:00
swr-test: add sorted formats table from avr
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a4b58fd9e8
commit
dd63e27574
@ -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 ,
|
||||||
|
Loading…
Reference in New Issue
Block a user