1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/tests
Claudio Freire 8df9bf8e39 AAC encoder: refactor to resynchronize MIPS port
This patch refactors the AAC coders to reuse code
between the MIPS port and the regular, portable C code.
There were two main functions that had to use
hand-optimized versions of quantization code:
 - search_for_quantizers_twoloop
 - codebook_trellis_rate

Those two were split into their own template header
files so they can be inlined inside both the MIPS port
and the generic code. In each context, they'll link
to their specialized implementations, and thus be
optimized by the compiler.

This approach I believe is better than maintaining
several copies of each function. As past experience has
proven, having to keep those in sync was error prone.
In this way, they will remain in sync by default.

Also, an implementation of the dequantized output
argument for the optimized quantize_and_encode
functions is included in the patch. While the current
implementation of search_for_pred still isn't using
it, future iterations of main prediction probably will.
It should not imply any measurable performance hit while
not being used.
2015-09-16 23:14:26 -03:00
..
api
checkasm tests/checkasm/vp9dsp: Use snprintf() for safetey 2015-09-16 14:19:37 +02:00
fate AAC encoder: refactor to resynchronize MIPS port 2015-09-16 23:14:26 -03:00
filtergraphs
ref avconv_filter: Use full named options 2015-09-13 17:34:45 +02:00
audiogen.c
base64.c
copycooker.sh
fate-run.sh tests/fate-run: Pass bitexact flags to enc_dec_pcm() output 2015-09-06 00:25:49 +02:00
fate-valgrind.supp
fate.sh
ffserver-regression.sh
ffserver.conf
ffserver.regression.ref
lavf-regression.sh
Makefile fate: add -fflags +bitexact to the relevant targets 2015-08-30 23:31:10 +02:00
md5.sh
reference.pnm
regression-funcs.sh
rotozoom.c
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c