Commit 86b71982 authored by Anton Mitrofanov's avatar Anton Mitrofanov

mips: Fix high bit-depth compilation

parent 1ea3c682
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment