Commit 5d944dc6 authored by Xuefeng Jiang's avatar Xuefeng Jiang Committed by Henrik Gramner

Add SSSE3 implementation for ipred_cfl_ac_420 and ipred_cfl_ac_422

cfl_ac_420_w4_8bpc_c: 1621.0
cfl_ac_420_w4_8bpc_ssse3: 92.5
cfl_ac_420_w8_8bpc_c: 3344.1
cfl_ac_420_w8_8bpc_ssse3: 115.4
cfl_ac_420_w16_8bpc_c: 6024.9
cfl_ac_420_w16_8bpc_ssse3: 187.8
cfl_ac_422_w4_8bpc_c: 1762.5
cfl_ac_422_w4_8bpc_ssse3: 81.4
cfl_ac_422_w8_8bpc_c: 4941.2
cfl_ac_422_w8_8bpc_ssse3: 166.5
cfl_ac_422_w16_8bpc_c: 8261.8
cfl_ac_422_w16_8bpc_ssse3: 272.3
parent 7350c59e
......@@ -67,6 +67,9 @@ decl_cfl_pred_fn(dav1d_ipred_cfl_128_ssse3);
decl_cfl_pred_fn(dav1d_ipred_cfl_top_ssse3);
decl_cfl_pred_fn(dav1d_ipred_cfl_left_ssse3);
decl_cfl_ac_fn(dav1d_ipred_cfl_ac_420_ssse3);
decl_cfl_ac_fn(dav1d_ipred_cfl_ac_422_ssse3);
decl_pal_pred_fn(dav1d_pal_pred_ssse3);
void bitfn(dav1d_intra_pred_dsp_init_x86)(Dav1dIntraPredDSPContext *const c) {
......@@ -90,7 +93,10 @@ void bitfn(dav1d_intra_pred_dsp_init_x86)(Dav1dIntraPredDSPContext *const c) {
c->cfl_pred[TOP_DC_PRED] = dav1d_ipred_cfl_top_ssse3;
c->cfl_pred[LEFT_DC_PRED] = dav1d_ipred_cfl_left_ssse3;
c->pal_pred = dav1d_pal_pred_ssse3;
c->cfl_ac[DAV1D_PIXEL_LAYOUT_I420 - 1] = dav1d_ipred_cfl_ac_420_ssse3;
c->cfl_ac[DAV1D_PIXEL_LAYOUT_I422 - 1] = dav1d_ipred_cfl_ac_422_ssse3;
c->pal_pred = dav1d_pal_pred_ssse3;
#endif
if (!(flags & DAV1D_X86_CPU_FLAG_AVX2)) return;
......
This diff is collapsed.
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