• Claudio Freire's avatar
    AAC encoder: refactor to resynchronize MIPS port · 8df9bf8e
    Claudio Freire authored
    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.
    8df9bf8e
Name
Last commit
Last update
..
Makefile Loading commit data...
aaccoder_mips.c Loading commit data...
aacdec_mips.c Loading commit data...
aacdec_mips.h Loading commit data...
aacpsdsp_mips.c Loading commit data...
aacpsy_mips.h Loading commit data...
aacsbr_mips.c Loading commit data...
aacsbr_mips.h Loading commit data...
ac3dsp_mips.c Loading commit data...
acelp_filters_mips.c Loading commit data...
acelp_vectors_mips.c Loading commit data...
amrwbdec_mips.c Loading commit data...
amrwbdec_mips.h Loading commit data...
blockdsp_init_mips.c Loading commit data...
blockdsp_mips.h Loading commit data...
blockdsp_mmi.c Loading commit data...
blockdsp_msa.c Loading commit data...
celp_filters_mips.c Loading commit data...
celp_math_mips.c Loading commit data...
compute_antialias_fixed.h Loading commit data...
compute_antialias_float.h Loading commit data...
constants.c Loading commit data...
constants.h Loading commit data...
fft_mips.c Loading commit data...
fmtconvert_mips.c Loading commit data...
h263dsp_init_mips.c Loading commit data...
h263dsp_mips.h Loading commit data...
h263dsp_msa.c Loading commit data...
h264chroma_init_mips.c Loading commit data...
h264chroma_mips.h Loading commit data...
h264chroma_mmi.c Loading commit data...
h264chroma_msa.c Loading commit data...
h264dsp_init_mips.c Loading commit data...
h264dsp_mips.h Loading commit data...
h264dsp_mmi.c Loading commit data...
h264dsp_msa.c Loading commit data...
h264idct_msa.c Loading commit data...
h264pred_init_mips.c Loading commit data...
h264pred_mips.h Loading commit data...
h264pred_mmi.c Loading commit data...
h264pred_msa.c Loading commit data...
h264qpel_init_mips.c Loading commit data...
h264qpel_mmi.c Loading commit data...
h264qpel_msa.c Loading commit data...
hevc_idct_msa.c Loading commit data...
hevc_lpf_sao_msa.c Loading commit data...
hevc_macros_msa.h Loading commit data...
hevc_mc_bi_msa.c Loading commit data...
hevc_mc_biw_msa.c Loading commit data...
hevc_mc_uni_msa.c Loading commit data...
hevc_mc_uniw_msa.c Loading commit data...
hevcdsp_init_mips.c Loading commit data...
hevcdsp_mips.h Loading commit data...
hevcdsp_msa.c Loading commit data...
hevcpred_init_mips.c Loading commit data...
hevcpred_mips.h Loading commit data...
hevcpred_msa.c Loading commit data...
hpeldsp_init_mips.c Loading commit data...
hpeldsp_mips.h Loading commit data...
hpeldsp_msa.c Loading commit data...
idctdsp_init_mips.c Loading commit data...
idctdsp_mips.h Loading commit data...
idctdsp_mmi.c Loading commit data...
idctdsp_msa.c Loading commit data...
iirfilter_mips.c Loading commit data...
lsp_mips.h Loading commit data...
mathops.h Loading commit data...
me_cmp_init_mips.c Loading commit data...
me_cmp_mips.h Loading commit data...
me_cmp_msa.c Loading commit data...
mpegaudiodsp_mips_fixed.c Loading commit data...
mpegaudiodsp_mips_float.c Loading commit data...
mpegvideo_init_mips.c Loading commit data...
mpegvideo_mips.h Loading commit data...
mpegvideo_mmi.c Loading commit data...
mpegvideo_msa.c Loading commit data...
mpegvideoencdsp_init_mips.c Loading commit data...
mpegvideoencdsp_msa.c Loading commit data...
pixblockdsp_init_mips.c Loading commit data...
pixblockdsp_mips.h Loading commit data...
pixblockdsp_mmi.c Loading commit data...
pixblockdsp_msa.c Loading commit data...
qpeldsp_init_mips.c Loading commit data...
qpeldsp_mips.h Loading commit data...
qpeldsp_msa.c Loading commit data...
sbrdsp_mips.c Loading commit data...
simple_idct_mmi.c Loading commit data...
simple_idct_msa.c Loading commit data...
vp8_idct_msa.c Loading commit data...
vp8_lpf_msa.c Loading commit data...
vp8_mc_msa.c Loading commit data...
vp8dsp_init_mips.c Loading commit data...
vp8dsp_mips.h Loading commit data...
vp9_idct_msa.c Loading commit data...
vp9_intra_msa.c Loading commit data...
vp9_lpf_msa.c Loading commit data...
vp9_mc_msa.c Loading commit data...
vp9dsp_init_mips.c Loading commit data...
vp9dsp_mips.h Loading commit data...
xvid_idct_mmi.c Loading commit data...
xvididct_init_mips.c Loading commit data...
xvididct_mips.h Loading commit data...