simdtests icon indicating copy to clipboard operation
simdtests copied to clipboard

Buffer on depng_filter_XXX

Open kanryu opened this issue 6 years ago • 1 comments

Hi,

I found your implementation looking for a simd implementation for PNG 's unfilter.

I am currently investigating the implementation of depng_filter_ref, but your implementation uint8_t * u = NULL; It seems to me that it is implementing read access to this.

This is obviously illegal access and should originally be separate from the destination buffer and the source buffer, but each SIMD function is not so assumed.

How did you think to create this programs?

kanryu avatar Jan 15 '19 01:01 kanryu

Hello, it's true that the pointer can be still null when processing the first line and a real decoder should never allow dereferencing such pointer. However, the code in this repository should not be considered a "ready-to-use" implementation and should only serve as a playground of implementing and benchmarking my ideas.

kobalicek avatar Jan 27 '19 13:01 kobalicek