Implement c version crc32c(except hash-motion)
Rename av1_get_crc_value_sse4_2 to
av1_get_crc32c_value_sse4_2
The original av1_get_crc_value is kept for hash-motion,
other place use the new one.
Implement av1_get_crc32c_value_c for
crc32c(poly=0x1EDC6F41), which will generate identical
results as av1_get_crc32c_value_sse4_2.
crc32c should have less hash collision cases.
And This will help remove the mismatch between C and SIMD.
Change-Id: I7600729d213e9accf9e58308bc70e92c3f373392
diff --git a/av1/common/av1_rtcd_defs.pl b/av1/common/av1_rtcd_defs.pl
index 846a57a..344e071 100755
--- a/av1/common/av1_rtcd_defs.pl
+++ b/av1/common/av1_rtcd_defs.pl
@@ -250,8 +250,8 @@
specialize qw/av1_wedge_compute_delta_squares sse2/;
# hash
- add_proto qw/uint32_t av1_get_crc_value/, "void *crc_calculator, uint8_t *p, int length";
- specialize qw/av1_get_crc_value sse4_2/;
+ add_proto qw/uint32_t av1_get_crc32c_value/, "void *crc_calculator, uint8_t *p, int length";
+ specialize qw/av1_get_crc32c_value sse4_2/;
}
# end encoder functions