avutil/pixdesc: Add av_write_image_line2(), av_read_image_line2()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 Oct 2018 21:08:20 +0000 (23:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 27 Oct 2018 20:39:27 +0000 (22:39 +0200)
commit718044dc198710f9d6e70d94affd5f8a1a52430f
treec452760c911ea2ddc669f0cbc983253508472eda
parenta5d98da4d6f3d0cd89d61af43e6377a9c9dd4cb2
avutil/pixdesc: Add av_write_image_line2(), av_read_image_line2()

This is needed because of 32bit float formats (which are difficult to
store in 16bits)

This also fixes undefined behavior found by fate

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
doc/APIchanges
libavutil/pixdesc.c
libavutil/pixdesc.h
libavutil/version.h
tests/ref/fate/filter-pixdesc-grayf32be
tests/ref/fate/filter-pixdesc-grayf32le