mips/aaccoder: use variables instead of using register names directly

On mips64, the registers t[4-7] do not exist. Instead of using a lot of #ifdef
or defines to handle differing register names, use variables and let GCC
allocate the registers automatically (like in the other mips assembly files).

In get_band_cost_ESC_mips, t4 and t5 were renamed to t6 and t7 to avoid a
variable name conflict.

Signed-off-by: James Cowgill <james410@cowgill.org.uk>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/117/head
James Cowgill 10 years ago committed by Michael Niedermayer
parent de4f59b536
commit 37ffe7f90a
  1. 929
      libavcodec/mips/aaccoder_mips.c

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save