aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/atomic_suncc.h
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-10-27 21:11:45 -0400
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-04 08:15:24 -0500
commitfd0bf457b734beee6715254ea264118dc4993507 (patch)
tree5974340246a5e8e90f711933dc018c81880ee1ee /libavutil/atomic_suncc.h
parentbc55cec57e5d804f8cc9596a6f3878c1bda0ae56 (diff)
downloadffmpeg-fd0bf457b734beee6715254ea264118dc4993507.tar.gz
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>
Diffstat (limited to 'libavutil/atomic_suncc.h')
0 files changed, 0 insertions, 0 deletions