@ -33,6 +33,8 @@ void ff_h264_v_loop_filter_chroma_neon(uint8_t *pix, ptrdiff_t stride, int alpha
int beta , int8_t * tc0 ) ;
void ff_h264_h_loop_filter_chroma_neon ( uint8_t * pix , ptrdiff_t stride , int alpha ,
int beta , int8_t * tc0 ) ;
void ff_h264_h_loop_filter_chroma422_neon ( uint8_t * pix , ptrdiff_t stride , int alpha ,
int beta , int8_t * tc0 ) ;
void ff_weight_h264_pixels_16_neon ( uint8_t * dst , int stride , int height ,
int log2_den , int weight , int offset ) ;
@ -77,9 +79,11 @@ static av_cold void h264dsp_init_neon(H264DSPContext *c, const int bit_depth,
c - > h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon ;
c - > h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon ;
c - > h264_v_loop_filter_chroma = ff_h264_v_loop_filter_chroma_neon ;
if ( chroma_format_idc = = 1 ) {
c - > h264_h_loop_filter_chroma = ff_h264_h_loop_filter_chroma_neon ;
}
if ( chroma_format_idc < = 1 )
c - > h264_h_loop_filter_chroma = ff_h264_h_loop_filter_chroma_neon ;
else
c - > h264_h_loop_filter_chroma = ff_h264_h_loop_filter_chroma422_neon ;
c - > weight_h264_pixels_tab [ 0 ] = ff_weight_h264_pixels_16_neon ;
c - > weight_h264_pixels_tab [ 1 ] = ff_weight_h264_pixels_8_neon ;