コード例 #1
0
ファイル: h264pred_init_arm.c プロジェクト: Brhett/FFmpeg
void ff_h264_pred_init_arm(H264PredContext *h, int codec_id, int bit_depth, const int chroma_format_idc)
{
    int cpu_flags = av_get_cpu_flags();

    if (have_neon(cpu_flags))
        ff_h264_pred_init_neon(h, codec_id, bit_depth, chroma_format_idc);
}
コード例 #2
0
void ff_h264_pred_init_arm(H264PredContext *h, int codec_id, int bit_depth, const int chroma_format_idc)
{
    int cpu_flags = av_get_cpu_flags();

#if (have_neon(cpu_flags)) // modified by xjm from if -> #if ,for HAVE_NEON = 0,but link error
        ff_h264_pred_init_neon(h, codec_id, bit_depth, chroma_format_idc);
#endif
}
コード例 #3
0
void ff_h264_pred_init_arm(H264PredContext *h, int codec_id, int bit_depth, const int chroma_format_idc)
{
    if (HAVE_NEON)    ff_h264_pred_init_neon(h, codec_id, bit_depth, chroma_format_idc);
}
コード例 #4
0
void ff_h264_pred_init_arm(H264PredContext *h, int codec_id)
{
    if (HAVE_NEON)    ff_h264_pred_init_neon(h, codec_id);
}