diff --git a/libavcodec/arm/h264dsp_init_arm.c b/libavcodec/arm/h264dsp_init_arm.c
index 367ba81..53a8333 100644
|
a
|
b
|
void ff_h264_idct8_add4_neon(uint8_t *dst, const int *block_offset, |
| 68 | 68 | DCTELEM *block, int stride, |
| 69 | 69 | const uint8_t nnzc[6*8]); |
| 70 | 70 | |
| 71 | | static void ff_h264dsp_init_neon(H264DSPContext *c, const int bit_depth, const int chroma_format_idc) |
| | 71 | void ff_h264dsp_init_neon(H264DSPContext *c, const int bit_depth, const int chroma_format_idc); |
| | 72 | |
| | 73 | void ff_h264dsp_init_neon(H264DSPContext *c, const int bit_depth, const int chroma_format_idc) |
| 72 | 74 | { |
| | 75 | int cpu_flags = av_get_cpu_flags(); |
| | 76 | |
| | 77 | if (!have_neon(cpu_flags)) |
| | 78 | return; |
| | 79 | |
| 73 | 80 | if (bit_depth == 8) { |
| 74 | 81 | c->h264_v_loop_filter_luma = ff_h264_v_loop_filter_luma_neon; |
| 75 | 82 | c->h264_h_loop_filter_luma = ff_h264_h_loop_filter_luma_neon; |
diff --git a/libavcodec/arm/h264pred_init_arm.c b/libavcodec/arm/h264pred_init_arm.c
index 13aea32..75a2392 100644
|
a
|
b
|
void ff_pred8x8_0lt_dc_neon(uint8_t *src, int stride); |
| 43 | 43 | void ff_pred8x8_l00_dc_neon(uint8_t *src, int stride); |
| 44 | 44 | void ff_pred8x8_0l0_dc_neon(uint8_t *src, int stride); |
| 45 | 45 | |
| 46 | | static void ff_h264_pred_init_neon(H264PredContext *h, int codec_id, const int bit_depth, const int chroma_format_idc) |
| | 46 | void ff_h264_pred_init_neon(H264PredContext *h, int codec_id, const int bit_depth, const int chroma_format_idc); |
| | 47 | |
| | 48 | void ff_h264_pred_init_neon(H264PredContext *h, int codec_id, const int bit_depth, const int chroma_format_idc) |
| 47 | 49 | { |
| | 50 | int cpu_flags = av_get_cpu_flags(); |
| 48 | 51 | const int high_depth = bit_depth > 8; |
| 49 | 52 | |
| | 53 | if (!have_neon(cpu_flags)) |
| | 54 | return; |
| | 55 | |
| 50 | 56 | if (high_depth) |
| 51 | 57 | return; |
| 52 | 58 | if(chroma_format_idc == 1){ |