[x264-devel] mips: Fix high bit-depth compilation

Anton Mitrofanov git at videolan.org
Tue Sep 20 20:57:51 CEST 2016


x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Tue Sep 20 18:48:22 2016 +0300| [86b71982e131eaa70125f8d0e725fcade9c4c677] | committer: Anton Mitrofanov

mips: Fix high bit-depth compilation

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=86b71982e131eaa70125f8d0e725fcade9c4c677
---

 common/mips/mc-c.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/common/mips/mc-c.c b/common/mips/mc-c.c
index db95cff..04086bc 100644
--- a/common/mips/mc-c.c
+++ b/common/mips/mc-c.c
@@ -3761,9 +3761,11 @@ uint8_t *x264_get_ref_msa( uint8_t *p_dst, intptr_t *p_dst_stride,
         return p_src1;
     }
 }
+#endif // !HIGH_BIT_DEPTH
 
 void x264_mc_init_mips( int32_t cpu, x264_mc_functions_t *pf  )
 {
+#if !HIGH_BIT_DEPTH
     if( cpu & X264_CPU_MSA )
     {
         pf->mc_luma = x264_mc_luma_msa;
@@ -3803,5 +3805,5 @@ void x264_mc_init_mips( int32_t cpu, x264_mc_functions_t *pf  )
         pf->memzero_aligned = x264_memzero_aligned_msa;
         pf->frame_init_lowres_core = x264_frame_init_lowres_core_msa;
     }
+#endif // !HIGH_BIT_DEPTH
 }
-#endif



More information about the x264-devel mailing list