@ -6,31 +6,33 @@ fate-acodec-%: REF = $(SRC_PATH)/tests/ref/acodec/$(@:fate-acodec-%=%)
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_ALAW , WAV ) + = a l a w
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_MULAW , WAV ) + = m u l a w
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 8, MOV ) + = s 8
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_U 8, WAV ) + = u 8
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_S 8, MOV ) + = s 8
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_U 8, WAV ) + = u 8
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 16BE , MOV ) + = s 1 6 b e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 16LE , WAV ) + = s 1 6 l e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_U 16BE , NUT ) + = u 1 6 b e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_U 16LE , NUT ) + = u 1 6 l e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 24BE , MOV ) + = s 2 4 b e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 24LE , WAV ) + = s 2 4 l e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_U 24BE , NUT ) + = u 2 4 b e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_U 24LE , NUT ) + = u 2 4 l e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 32BE , MOV ) + = s 3 2 b e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 32LE , WAV ) + = s 3 2 l e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_U 32BE , NUT ) + = u 3 2 b e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_U 32LE , NUT ) + = u 3 2 l e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_F 32BE , AU ) + = f 3 2 b e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_F 32LE , WAV ) + = f 3 2 l e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_F 64BE , AU ) + = f 6 4 b e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_F 64LE , WAV ) + = f 6 4 l e
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 8_PLANAR , NUT ) + = s 8 _ p l a n a r
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 16BE_PLANAR , NUT ) + = s 1 6 b e _ p l a n a r
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 16LE_PLANAR , NUT ) + = s 1 6 l e _ p l a n a r
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 24LE_PLANAR , NUT ) + = s 2 4 l e _ p l a n a r
F A T E _ A C O D E C _ P C M - $( call ENCDEC , PCM_S 32LE_PLANAR , NUT ) + = s 3 2 l e _ p l a n a r
FATE_ACODEC_PCM := $( FATE_ACODEC_PCM-yes:%= fate-acodec-pcm-%)
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_S 24BE , MOV ) + = s 2 4 b e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_S 24LE , WAV ) + = s 2 4 l e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_U 24BE , NUT ) + = u 2 4 b e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_U 24LE , NUT ) + = u 2 4 l e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_S 32BE , MOV ) + = s 3 2 b e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_S 32LE , WAV ) + = s 3 2 l e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_U 32BE , NUT ) + = u 3 2 b e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_U 32LE , NUT ) + = u 3 2 l e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_F 32BE , AU ) + = f 3 2 b e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_F 32LE , WAV ) + = f 3 2 l e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_F 64BE , AU ) + = f 6 4 b e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_F 64LE , WAV ) + = f 6 4 l e
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_S 8_PLANAR , NUT ) + = s 8 _ p l a n a r
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_S 16BE_PLANAR , NUT ) + = s 1 6 b e _ p l a n a r
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_S 16LE_PLANAR , NUT ) + = s 1 6 l e _ p l a n a r
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_S 24LE_PLANAR , NUT ) + = s 2 4 l e _ p l a n a r
F A T E _ A C O D E C _ P C M _ R E S A M P L E - $( call ENCDEC , PCM_S 32LE_PLANAR , NUT ) + = s 3 2 l e _ p l a n a r
FATE_ACODEC_PCM-$(CONFIG_ARESAMPLE_FILTER) += $( FATE_ACODEC_PCM_RESAMPLE-yes)
FATE_ACODEC_PCM := $( if $( call ENCDEC, PCM_S16LE, WAV) , $( FATE_ACODEC_PCM-yes) )
FATE_ACODEC_PCM := $( FATE_ACODEC_PCM:%= fate-acodec-pcm-%)
FATE_ACODEC += $( FATE_ACODEC_PCM)
fate-acodec-pcm : $( FATE_ACODEC_PCM )
@ -44,20 +46,22 @@ fate-acodec-pcm-u%be: FMT = nut
fate-acodec-pcm-u%le : FMT = nut
fate-acodec-pcm-f%be : FMT = au
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_ADX , ADX ) + = a d x
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_ARGO , ARGO_ASF ) + = a r g o
F A T E _ A C O D E C _ A D P C M _ R E S A M P L E - $( call ENCDEC , ADPCM_ADX , ADX ) + = a d x
F A T E _ A C O D E C _ A D P C M _ R E S A M P L E - $( call ENCDEC , ADPCM_ARGO , ARGO_ASF ) + = a r g o
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_IMA_APM , APM ) + = i m a _ a p m
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_IMA_ALP , ALP ) + = i m a _ a l p
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_IMA_QT , AIFF ) + = i m a _ q t
F A T E _ A C O D E C _ A D P C M _ R E S A M P L E - $( call ENCDEC , ADPCM_IMA_QT , AIFF ) + = i m a _ q t
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_IMA_SSI , KVAG ) + = i m a _ s s i
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_IMA_WAV , WAV ) + = i m a _ w a v
F A T E _ A C O D E C _ A D P C M _ R E S A M P L E - $( call ENCDEC , ADPCM_IMA_WAV , WAV ) + = i m a _ w a v
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_IMA_WS , WSAUD ) + = i m a _ w s
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_MS , WAV ) + = m s
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_SWF , FLV ) + = s w f
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_SWF , WAV ) + = s w f - w a v
F A T E _ A C O D E C _ A D P C M - $( call ENCDEC , ADPCM_YAMAHA , WAV ) + = y a m a h a
FATE_ACODEC_ADPCM := $( FATE_ACODEC_ADPCM-yes:%= fate-acodec-adpcm-%)
FATE_ACODEC_ADPCM-$(CONFIG_ARESAMPLE_FILTER) += $( FATE_ACODEC_ADPCM_RESAMPLE-yes)
FATE_ACODEC_ADPCM := $( if $( call ENCDEC, PCM_S16LE, WAV) , $( FATE_ACODEC_ADPCM-yes) )
FATE_ACODEC_ADPCM := $( FATE_ACODEC_ADPCM:%= fate-acodec-adpcm-%)
FATE_ACODEC += $( FATE_ACODEC_ADPCM)
fate-acodec-adpcm : $( FATE_ACODEC_ADPCM )
@ -80,14 +84,10 @@ fate-acodec-adpcm-swf-wav: CODEC = adpcm_swf
fate-acodec-adpcm-ima_alp : FMT = alp
fate-acodec-adpcm-ima_alp : ENCOPTS = -type pcm
F A T E _ A C O D E C _ A D P C M _ T R E L L I S - $( call ENCDEC , ADPCM_ADX , ADX ) + = a d x
F A T E _ A C O D E C _ A D P C M _ T R E L L I S - $( call ENCDEC , ADPCM_IMA_QT , AIFF ) + = i m a _ q t
F A T E _ A C O D E C _ A D P C M _ T R E L L I S - $( call ENCDEC , ADPCM_IMA_WAV , WAV ) + = i m a _ w a v
F A T E _ A C O D E C _ A D P C M _ T R E L L I S - $( call ENCDEC , ADPCM_MS , WAV ) + = m s
F A T E _ A C O D E C _ A D P C M _ T R E L L I S - $( call ENCDEC , ADPCM_SWF , FLV ) + = s w f
F A T E _ A C O D E C _ A D P C M _ T R E L L I S - $( call ENCDEC , ADPCM_YAMAHA , WAV ) + = y a m a h a
FATE_ACODEC_ADPCM_TRELLIS := adx ima_qt ima_wav ms swf yamaha
FATE_ACODEC_ADPCM_TRELLIS := $( FATE_ACODEC_ADPCM_TRELLIS-yes:%= fate-acodec-adpcm-%-trellis)
FATE_ACODEC_ADPCM_TRELLIS := $( FATE_ACODEC_ADPCM_TRELLIS:%= fate-acodec-adpcm-%-trellis)
FATE_ACODEC_ADPCM_TRELLIS := $( filter $( addsuffix -trellis,$( FATE_ACODEC_ADPCM) ) , $( FATE_ACODEC_ADPCM_TRELLIS) )
FATE_ACODEC += $( FATE_ACODEC_ADPCM_TRELLIS)
fate-acodec-adpcm-trellis : $( FATE_ACODEC_ADPCM_TRELLIS )
@ -101,28 +101,28 @@ fate-acodec-adpcm-ms-trellis: FMT = wav
fate-acodec-adpcm-swf-trellis : FMT = flv
fate-acodec-adpcm-yamaha-trellis : FMT = wav
F A T E _ A C O D E C - $( call ENCDEC , MP 2, MP 2 MP 3) + = f a t e - a c o d e c - m p 2
F A T E _ A C O D E C - $( call ENCDEC , MP 2, MP 2 MP 3, ARESAMPLE_FILTER ) + = f a t e - a c o d e c - m p 2
fate-acodec-mp2 : FMT = mp 2
fate-acodec-mp2 : CMP_SHIFT = -1924
fate-acodec-mp2 : ENCOPTS = -b :a 128k
F A T E _ A C O D E C - $( call ENCDEC , MP 2FIXED MP 2 , MP 2 MP 3) + = f a t e - a c o d e c - m p 2 f i x e d
F A T E _ A C O D E C - $( call ENCDEC , MP 2FIXED MP 2, MP 2 MP 3, ARESAMPLE_FILTER ) + = f a t e - a c o d e c - m p 2 f i x e d
fate-acodec-mp2fixed : FMT = mp 2
fate-acodec-mp2fixed : CMP_SHIFT = -1924
fate-acodec-mp2fixed : ENCOPTS = -b :a 384k
F A T E _ A C O D E C - $( call ENCDEC , ALAC , MOV ) + = f a t e - a c o d e c - a l a c
F A T E _ A C O D E C - $( call ENCDEC , ALAC , MOV , ARESAMPLE_FILTER ) + = f a t e - a c o d e c - a l a c
fate-acodec-alac : FMT = mov
fate-acodec-alac : CODEC = alac -compression_level 1
F A T E _ A C O D E C - $( call ENCDEC , DCA , DTS ) + = f a t e - a c o d e c - d c a
F A T E _ A C O D E C - $( call ENCDEC , DCA , DTS , ARESAMPLE_FILTER ) + = f a t e - a c o d e c - d c a
fate-acodec-dca : tests /data /asynth -44100-2.wav
fate-acodec-dca : SRC = tests /data /asynth -44100-2.wav
fate-acodec-dca : CMD = md 5 -i $( TARGET_PATH ) /$( SRC ) -c :a dca -strict -2 -f dts -flags +bitexact -af aresample
fate-acodec-dca : CMP = oneline
fate-acodec-dca : REF = 2aa 580ac 67820fce 4f 581b 96ebb 34acc
F A T E _ A C O D E C - $( call ENCDEC , DCA , WAV ) + = f a t e - a c o d e c - d c a 2
F A T E _ A C O D E C - $( call ENCDEC , DCA , WAV , ARESAMPLE_FILTER ) + = f a t e - a c o d e c - d c a 2
fate-acodec-dca2 : CMD = enc_dec_pcm dts wav s 16le $( SRC ) -c :a dca -strict -2 -flags +bitexact -af aresample
fate-acodec-dca2 : REF = $( SRC )
fate-acodec-dca2 : CMP = stddev
@ -137,7 +137,7 @@ fate-acodec-flac: CODEC = flac -compression_level 2
fate-acodec-flac-exact-rice : FMT = flac
fate-acodec-flac-exact-rice : CODEC = flac -compression_level 2 -exact_rice_parameters 1
F A T E _ A C O D E C - $( call ENCDEC , G 723_ 1, G 723_ 1) + = f a t e - a c o d e c - g 7 2 3 _ 1
F A T E _ A C O D E C - $( call ENCDEC , G 723_ 1, G 723_ 1, ARESAMPLE_FILTER ) + = f a t e - a c o d e c - g 7 2 3 _ 1
fate-acodec-g723_1 : tests /data /asynth -8000-1.wav
fate-acodec-g723_1 : SRC = tests /data /asynth -8000-1.wav
fate-acodec-g723_1 : FMT = g 723_ 1
@ -154,25 +154,26 @@ fate-acodec-ra144: CMP = stddev
fate-acodec-ra144 : CMP_TARGET = 4777
fate-acodec-ra144 : CMP_SHIFT = -320
F A T E _ A C O D E C - $( call ENCDEC , ROQ_DPCM , ROQ ) + = f a t e - a c o d e c - r o q a u d i o
F A T E _ A C O D E C - $( call ENCDEC , ROQ_DPCM , ROQ , ARESAMPLE_FILTER ) + = f a t e - a c o d e c - r o q a u d i o
fate-acodec-roqaudio : FMT = roq
fate-acodec-roqaudio : CODEC = roq_dpcm
fate-acodec-roqaudio : ENCOPTS = -ar 22050
fate-acodec-roqaudio : DECOPTS = -ar 44100
F A T E _ A C O D E C - $( call ENCDEC , S 302M , MPEGTS ) + = f a t e - a c o d e c - s 3 0 2 m
F A T E _ A C O D E C - $( call ENCDEC , S 302M , MPEGTS , ARESAMPLE_FILTER ) + = f a t e - a c o d e c - s 3 0 2 m
fate-acodec-s302m : FMT = mpegts
fate-acodec-s302m : CODEC = s 302m
fate-acodec-s302m : ENCOPTS = -ar 48000 -strict -2
fate-acodec-s302m : DECOPTS = -ar 44100
F A T E _ A C O D E C - $( call ENCDEC , WAVPACK , WV ) + = f a t e - a c o d e c - w a v p a c k
F A T E _ A C O D E C - $( call ENCDEC , WAVPACK , WV , ARESAMPLE_FILTER ) + = f a t e - a c o d e c - w a v p a c k
fate-acodec-wavpack : FMT = wv
fate-acodec-wavpack : CODEC = wavpack -compression_level 1
F A T E _ A C O D E C - $( call ENCDEC , TTA , TTA ) + = f a t e - a c o d e c - t t a
fate-acodec-tta : FMT = tta
FATE_ACODEC-yes := $( if $( call ENCDEC, PCM_S16LE, WAV) , $( FATE_ACODEC-yes) )
FATE_ACODEC += $( FATE_ACODEC-yes)
$(FATE_ACODEC) : tests /data /asynth -44100-2.wav