aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/acodec
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-051-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ac3enc: Add channel coupling support for the fixed-point AC-3 encoder. ac3enc: scale floating-point coupling channel coefficients in scale_coefficients() rather than in apply_channel_coupling() ac3enc: fix encoding of stereo ac3 files when rematrixing is disabled. wavpack: fix wrong return value in wavpack_decode_block() avconv: fix parsing metadata specifiers. fate: use +frame+slice named constants instead of '3' mpeg12: propagate more real return values through chunk decode error return and fix some indentation wavpack: use context reset in appropriate places avconv: move mux_preload and mux_max_delay to options context avconv: move bitstream filters to options context. avconv: move rate_emu to options context. avconv: move max_frames to options context. avconv: move metadata to options context. avconv: move ts scale to options context. avconv: move chapter maps to options context. avconv: move metadata maps to options context. avconv: move codec_names to options context. Conflicts: avconv.c tests/fate-run.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ac3enc: Add channel coupling support for the fixed-point AC-3 encoder.Justin Ruggles2011-09-051-1/+1
| | | | | | | | Update FATE references accordingly.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-191-0/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: APIchanges: fill in date and commit for request_sample_fmt Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders. Add support for request_sample_format in ffmpeg and ffplay. Add APIchanges entry for request_sample_fmt. Add request_sample_fmt field to AVCodecContext. Add float_interleave() to FmtConvertContext with x86-optimized versions. Remove unused make variable SEEK_REFFILE fate: remove redundant aref and vref references fate: remove do_ffmpeg_nocheck function fate: do not collect -benchmark output mpegaudiodec: remove decode_end() function fate: run aref and vref as regular tests mpegaudio: sanitise compute_antialias_* names mpeg12: add slice-threading checks to slice-threading initializers. h264: copy pixel_shift between slice threading contexts. mdec: enable frame-level multithreading. mdec.c: fix overread. Conflicts: libavcodec/aacdec.c libavcodec/ac3dec.c libavcodec/avcodec.h libavcodec/dca.c libavcodec/h264.c libavcodec/mdec.c libavcodec/mpeg12.c libavcodec/options.c libavcodec/version.h libavcodec/vorbisdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: run aref and vref as regular testsMans Rullgard2011-05-181-0/+2
| | | | | | | | | | | | | | | | | | These tests create reference files used for psnr calculation in the other codec tests. Treating them as (mostly) regular tests simplifies the makefile and makes them visible in the fate reports. The latter makes errors in these runs easier to identify. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | adpcmenc: fix QT IMA ADPCM encoderBaptiste Coudurier2011-05-081-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | adpcmdec: Fix QT IMA ADPCM decoderBaptiste Coudurier2011-05-081-3/+3
|/ | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ac3enc: correct the flipped sign in the ac3_fixed encoderJustin Ruggles2011-04-261-1/+1
|
* matroskaenc: don't write an empty Cues element.Anton Khirnov2011-04-071-4/+4
|
* ac3enc: select bandwidth based on bit rate, sample rate, and number ofJustin Ruggles2011-04-031-1/+1
| | | | | | | full-bandwidth channels. This reduces high-frequency artifacts and improves the quality of the lower frequency audio at low bit rates.
* ac3enc: use generic fixed-point mdctMans Rullgard2011-04-031-1/+1
| | | | | | | | This makes the AC3 encoder use the shared fixed-point MDCT rather than its own implementation. The checksum changes are due to different rounding in the MDCT. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add apply_window_int16() to DSPContext with x86-optimized versions and use itJustin Ruggles2011-03-221-1/+1
| | | | in the ac3_fixed encoder.
* ac3enc: do not right-shift fixed-point coefficients in the final MDCT stage.Justin2011-03-141-1/+1
| | | | | | | | | This increases the accuracy of coefficients, leading to improved quality. Rescaling of the coefficients to full 25-bit accuracy is done rather than offsetting the exponent values. This requires coefficient scaling to be done before determining the rematrixing strategy. Also, the rematrixing strategy calculation must use 64-bit math to prevent overflow due to the higher precision coefficients.
* ac3enc: fix bug in stereo rematrixing decision.Justin Ruggles2011-02-161-1/+1
| | | | | | | The rematrixing strategy reuse flags are not reset between frames, so they need to be initialized for all blocks, not just block 0. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: change default floor code to 7.Justin Ruggles2011-02-151-1/+1
| | | | | | | This is to match the value in every (E-)AC-3 file from commercial sources. It has a negligible effect on audio quality. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: Change EXP_DIFF_THRESHOLD to 500.Justin Ruggles2011-02-021-1/+1
| | | | | | | | | This patch changes the exponent difference threshold in the exponent strategy decision function of the AC-3 encoder. I tested lowering in increments of 100. From 1000 down to 500 generally increased in quality with each step, but 400 was generally much worse. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add stereo rematrixing support to the AC-3 encoders.Justin Ruggles2011-01-081-1/+1
| | | | | | | | This improves the audio quality significantly for stereo source with both the fixed-point and floating-point AC-3 encoders. Update acodec-ac3_fixed and seek-ac3_rm test references. Originally committed as revision 26271 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the AC-3 encoder to use floating-point.Justin Ruggles2011-01-041-0/+0
| | | | | | | | Fixed-point AC-3 encoder renamed to ac3_fixed. Regression test acodec-ac3 renamed to acodec-ac3_fixed. Regression test lavf-rm changed to use ac3_fixed encoder. Originally committed as revision 26209 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the default dB-per-bit code from 2 to 3.Justin Ruggles2010-12-291-1/+1
| | | | | | | | | | | | This gives slightly better quality in PEAQ tests. Code 3 gives a dBpb value of 2816 = -132dB (128 psd units = -6dB), which corresponds to 22 bits. Since the exponents have an offset applied, the 16-bit source looks like 24-bit source to the bit allocation routine. So using dBpb code=3 is a closer match to the exponent range. Regression test refs updated for acodec-ac3, lavf-rm, and seek-ac3_rm. Originally committed as revision 26144 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change FIX15() back to clipping to -32767..32767.Justin Ruggles2010-12-211-1/+1
| | | | | | | | This avoids a 16-bit overflow in mdct512() due to a -32768 value in costab. References updated for acodec-ac3, lavf-rm, and seek-ac3_rm tests. Thanks to Måns Rullgård for finding the bug. Originally committed as revision 26071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify fix15().Justin Ruggles2010-12-141-1/+1
| | | | | | | | Turn it into 2 macros, and use av_clip_int16() and lrintf(). This matches the int16 to float sample conversion in audioconvert.c. The regression test output is different due to lrintf() rounding. Originally committed as revision 25956 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set a constant frame size for encoding G.726 audio.Justin Ruggles2010-09-111-4/+4
| | | | Originally committed as revision 25107 to svn://svn.ffmpeg.org/ffmpeg/trunk
* tiny_psnr: skip wav headers on input filesMåns Rullgård2010-07-0912-32/+32
| | | | | | | | | | The byte count printed excludes the header, and offsets are applied after the the headers are skipped. Reference files updated to reflect new output. Some stddev/psnr values have changed slightly due to headers no longer being compared. Originally committed as revision 24143 to svn://svn.ffmpeg.org/ffmpeg/trunk
* tiny_psnr: print max absolute difference between filesVitor Sessak2010-07-0912-32/+32
| | | | | | | | | Regression test reference updates are due to the extra output from tiny_psnr. Patch by Vitor Sessak Originally committed as revision 24132 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Don't write a second seekhead for the clusters; mkvalidate agreesDavid Conrad2010-06-041-4/+4
| | | | | | with me that it's unnecessary. Originally committed as revision 23478 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Mux clusters betterJames Zern2010-06-041-2/+2
| | | | | | | | | | Start them on keyframes when reasonable, and delay writing audio packets to help ensure that there's audio samples available for the first frame in clusters. Patch by James Zern <jzern at google> Originally committed as revision 23473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update regression tests after removing track timecode scale from mkvencDavid Conrad2010-05-221-4/+4
| | | | Originally committed as revision 23248 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VorbisComment writing to FLAC files.James Darnley2010-03-201-2/+2
| | | | | | Patch by James Darnley <james darnley at gmail>. Originally committed as revision 22605 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify starting and ending clustersDavid Conrad2010-03-041-2/+2
| | | | Originally committed as revision 22199 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Place regression test output files in subdirs per familyMåns Rullgård2010-03-0213-60/+60
| | | | Originally committed as revision 22155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Separate audio-only tests so they are only run onceMåns Rullgård2010-01-3013-0/+119
Originally committed as revision 21556 to svn://svn.ffmpeg.org/ffmpeg/trunk