hevc_filter: avoid excessive calls to ff_hevc_get_ref_list()
authorAnton Khirnov <anton@khirnov.net>
Sun, 27 Jul 2014 19:40:20 +0000 (19:40 +0000)
committerAnton Khirnov <anton@khirnov.net>
Sat, 9 Aug 2014 16:15:51 +0000 (16:15 +0000)
commit7acdd3a1275bcd9cad48f9632169f6bbaeb39d84
treed9888f7a1fe3f7c1f199bc686af27212c0fba839
parent52a2c17ec006282f388071a831dfb21288611253
hevc_filter: avoid excessive calls to ff_hevc_get_ref_list()

1) each of the loops run within a single CTB, so the relevant reference
list is constant
2) when that CTB is, or lies on the same slice as, the current one, we
can use a simple access instead of a relatively expensive call to
ff_hevc_get_ref_list()
libavcodec/hevc_filter.c