Skip to content

Memory leak in FastSSIM when image dimensions are not multiples of 32 #229

Open
@abhinaukumar

Description

In the attached screenshots, I am running FastSSIM with the same image as input and output, of size 627x482. So, we expect that at every level, upon downsampling, the images still have the same entries in corresponding locations. Wherever different, I have printed the column number, row number and the corresponding entries in the two images. The junk values (sometimes negative) at the borders of the image demonstrate the memory leak. The first line of the output shows an attempt to access row index 120 of the image, while the dimensions show that upon downsampling twice, the heights of the image at the first two levels are 482/2 = 241 and 241/2 = 120. So, there should not be an attempt to access row index 120.

daala_fastssim_mem_leak
daala_fastssim_mem_leak2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions