]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264qpel.c
aarch64: vp8: Port bilin functions from arm version
[ffmpeg] / libavcodec / h264qpel.c
index 1bf31688f5cf758a7ffdc70915956194a173846b..ec46da244f55dcf0bdf72be715943c37163e2b78 100644 (file)
@@ -19,6 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/attributes.h"
 #include "h264qpel.h"
 
 #define BIT_DEPTH 8
@@ -33,7 +34,7 @@
 #include "h264qpel_template.c"
 #undef BIT_DEPTH
 
-void ff_h264qpel_init(H264QpelContext *c, int bit_depth)
+av_cold void ff_h264qpel_init(H264QpelContext *c, int bit_depth)
 {
 #undef FUNCC
 #define FUNCC(f, depth) f ## _ ## depth ## _c
@@ -77,6 +78,8 @@ void ff_h264qpel_init(H264QpelContext *c, int bit_depth)
         break;
     }
 
+    if (ARCH_AARCH64)
+        ff_h264qpel_init_aarch64(c, bit_depth);
     if (ARCH_ARM)
         ff_h264qpel_init_arm(c, bit_depth);
     if (ARCH_PPC)