Replaced libvpx by libwebp (first draft; Windows only)
authorChristoph M. Becker <cmb@php.net>
Mon, 13 Jul 2015 22:29:05 +0000 (00:29 +0200)
committerAnatol Belski <ab@php.net>
Tue, 21 Jul 2015 08:37:06 +0000 (10:37 +0200)
commit00ba7e6215dead29b6a7c2aaae7a217a39513de0
treedf84e0de1ed064a5785286af3b86c86efa67ad9f
parent9b9448a54a13dbcc7f59128d9fdd00b01b674f73
Replaced libvpx by libwebp (first draft; Windows only)

ext/gd/libgd/gd_webp.c has been taken from libgd[1]. Mainly, gd_error(X) has
been subsituted by zend_error(E_ERROR, X) and BGD_DECLARE(X) by X. Further
modifications are obvious from the diff.

All GD tests are passing, what raises hope, but we need more WebP tests,
anyway.

[1] <https://github.com/libgd/libgd/blob/7ec030c4f1dae75ed5d82c3eed2abe6775742c75/src/gd_webp.c>
ext/gd/config.w32
ext/gd/libgd/gd_webp.c
ext/gd/libgd/webpimg.c [deleted file]
ext/gd/libgd/webpimg.h [deleted file]