summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_rtcd_defs.pl
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2017-04-28 06:34:21 -0700
committerJohann <johannkoenig@google.com>2017-04-28 06:36:59 -0700
commit657f3e9f14750c90c187da4d5fc8ce6f116f1403 (patch)
treeec8392fd0ca7c705e0a388f312cb375ad17b5dfd /vp9/common/vp9_rtcd_defs.pl
parent94ebdba71dcba31733ca3042886ea6aa83fdcfe5 (diff)
downloadlibvpx-657f3e9f14750c90c187da4d5fc8ce6f116f1403.tar
libvpx-657f3e9f14750c90c187da4d5fc8ce6f116f1403.tar.gz
libvpx-657f3e9f14750c90c187da4d5fc8ce6f116f1403.tar.bz2
libvpx-657f3e9f14750c90c187da4d5fc8ce6f116f1403.zip
Use uint32_t for accumulator
Be specific about the data type size. Use convenience macro vp9_zero_array. Change-Id: I5fadf7dbd408befb73820d85db0be4832e8cfcbd
Diffstat (limited to 'vp9/common/vp9_rtcd_defs.pl')
-rw-r--r--vp9/common/vp9_rtcd_defs.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/common/vp9_rtcd_defs.pl b/vp9/common/vp9_rtcd_defs.pl
index 47983aeef..da449e254 100644
--- a/vp9/common/vp9_rtcd_defs.pl
+++ b/vp9/common/vp9_rtcd_defs.pl
@@ -197,7 +197,7 @@ $vp9_full_search_sad_sse4_1=vp9_full_search_sadx8;
add_proto qw/int vp9_diamond_search_sad/, "const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv";
specialize qw/vp9_diamond_search_sad avx/;
-add_proto qw/void vp9_temporal_filter_apply/, "const uint8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count";
+add_proto qw/void vp9_temporal_filter_apply/, "const uint8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, uint32_t *accumulator, uint16_t *count";
specialize qw/vp9_temporal_filter_apply sse4_1/;
if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
@@ -217,7 +217,7 @@ if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
add_proto qw/void vp9_highbd_fwht4x4/, "const int16_t *input, tran_low_t *output, int stride";
- add_proto qw/void vp9_highbd_temporal_filter_apply/, "const uint8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count";
+ add_proto qw/void vp9_highbd_temporal_filter_apply/, "const uint8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, uint32_t *accumulator, uint16_t *count";
}
# End vp9_high encoder functions