FFmpeg/libavcodec
Ganesh Ajjanagadde fd0bf457b7 avcodec/aacsbr_template: replace qsort with AV_QSORT
When sbr->reset is set in encode_frame, a bunch of qsort calls might get made.
Thus, there is the potential of calling qsort whenever the spectral
contents change.

AV_QSORT is substantially faster due to the inlining of the comparison callback.
Thus, the increase in performance should be worth the increase in binary size.

Tested with FATE.

Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-11-04 08:15:24 -05:00
..
2015-10-29 21:26:43 +01:00
2015-11-03 12:01:27 +01:00
2015-10-08 23:29:18 +02:00
2015-11-03 12:01:27 +01:00
2015-10-10 09:52:18 +02:00
2015-10-10 09:52:18 +02:00
2015-10-13 16:03:04 +02:00
2015-10-26 10:08:01 +01:00
2015-10-11 18:03:10 -04:00
2015-10-09 22:09:08 +02:00
2015-10-25 22:48:04 +01:00
2015-11-03 12:01:27 +01:00
2015-10-11 17:29:50 -03:00
2015-10-22 10:46:03 +02:00
2015-10-11 17:29:50 -03:00
2015-10-26 23:23:59 -07:00
2015-10-29 21:26:43 +01:00
2015-10-09 22:09:08 +02:00
2015-11-03 12:01:27 +01:00