Skip to content

Commit

Permalink
pixel diff 8bit and 10bit
Browse files Browse the repository at this point in the history
  • Loading branch information
weetrain committed Dec 27, 2021
1 parent 1dbd722 commit 83f5264
Show file tree
Hide file tree
Showing 2 changed files with 858 additions and 7 deletions.
21 changes: 14 additions & 7 deletions src/armv8/arm64.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ void uavs3e_funs_init_arm64()

uavs3e_funs_handle.alf = uavs3e_alf_filter_block_arm64;

uavs3e_funs_handle.pel_diff[0] = uavs3e_pel_diff_4_arm64;
uavs3e_funs_handle.pel_diff[1] = uavs3e_pel_diff_8_arm64;
uavs3e_funs_handle.pel_diff[2] = uavs3e_pel_diff_16_arm64;
uavs3e_funs_handle.pel_diff[3] = uavs3e_pel_diff_32_arm64;
uavs3e_funs_handle.pel_diff[4] = uavs3e_pel_diff_64_arm64;
uavs3e_funs_handle.pel_diff[5] = uavs3e_pel_diff_128_arm64;

#else
uavs3e_funs_handle.itrans_dct2[1][1] = uavs3e_itrans_dct2_h4_w4_arm64;
uavs3e_funs_handle.itrans_dct2[1][2] = uavs3e_itrans_dct2_h4_w8_arm64;
Expand Down Expand Up @@ -175,6 +182,13 @@ void uavs3e_funs_init_arm64()
uavs3e_funs_handle.cost_satd[2][1] = uavs3e_had_16x8_arm64;
uavs3e_funs_handle.cost_satd[1][2] = uavs3e_had_8x16_arm64;

uavs3e_funs_handle.pel_diff[0] = uavs3e_pel_diff_4_arm64;
uavs3e_funs_handle.pel_diff[1] = uavs3e_pel_diff_8_arm64;
uavs3e_funs_handle.pel_diff[2] = uavs3e_pel_diff_16_arm64;
uavs3e_funs_handle.pel_diff[3] = uavs3e_pel_diff_32_arm64;
uavs3e_funs_handle.pel_diff[4] = uavs3e_pel_diff_64_arm64;
uavs3e_funs_handle.pel_diff[5] = uavs3e_pel_diff_128_arm64;

/*
uavs3e_funs_handle.cost_var[0] = uavs3e_get_var_4_arm64;
uavs3e_funs_handle.cost_var[1] = uavs3e_get_var_8_arm64;
Expand All @@ -188,13 +202,6 @@ void uavs3e_funs_init_arm64()
uavs3e_funs_handle.sobel_cost = sobel_cost;
uavs3e_funs_handle.pel_diff[0] = uavs3e_pel_diff_4_arm64;
uavs3e_funs_handle.pel_diff[1] = uavs3e_pel_diff_8_arm64;
uavs3e_funs_handle.pel_diff[2] = uavs3e_pel_diff_16_arm64;
uavs3e_funs_handle.pel_diff[3] = uavs3e_pel_diff_32_arm64;
uavs3e_funs_handle.pel_diff[4] = uavs3e_pel_diff_64_arm64;
uavs3e_funs_handle.pel_diff[5] = uavs3e_pel_diff_128_arm64;
uavs3e_funs_handle.pel_avrg[0] = uavs3e_pel_avrg_4_arm64;
uavs3e_funs_handle.pel_avrg[1] = uavs3e_pel_avrg_8_arm64;
uavs3e_funs_handle.pel_avrg[2] = uavs3e_pel_avrg_16_arm64;
Expand Down
Loading

0 comments on commit 83f5264

Please sign in to comment.