summaryrefslogtreecommitdiff
path: root/y4minput.h
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2015-08-03 10:46:12 -0700
committerYaowu Xu <yaowu@google.com>2015-08-03 10:46:12 -0700
commit8f089cbd2ec3899127817c21f137b03844b2e519 (patch)
tree219a71fd413838fde6bc9b74bc9fb082c652496e /y4minput.h
parent91feec14529247b079421c83a8d15dca37e37773 (diff)
downloadlibvpx-8f089cbd2ec3899127817c21f137b03844b2e519.tar
libvpx-8f089cbd2ec3899127817c21f137b03844b2e519.tar.gz
libvpx-8f089cbd2ec3899127817c21f137b03844b2e519.tar.bz2
libvpx-8f089cbd2ec3899127817c21f137b03844b2e519.zip
Correct the allocation size for ssim_vars
Ssim_vars is used to accumulate stats based 4x4 pixel blocks, this commit changes the allocations size to be based on mi_rows and mi_cols to avoid out-of-bound memory access for larger size videos. The hard coded 720x480 can only work for image size up to 2880x1920. Change-Id: Id9d07f3f777385b448ac88a6034b7472e4cf3c79
Diffstat (limited to 'y4minput.h')
0 files changed, 0 insertions, 0 deletions