On 2/22/17, Paul B Mahol <one...@gmail.com> wrote: > On 2/22/17, Devin Heitmueller <dheitmuel...@kernellabs.com> wrote: >> This patch adds support for encoding/decoding ETC1 compressed >> textures. This includes support for the PKM file format. >> >> Example usage: >> >> ./ffmpeg -i input_image.jpg new.pkm >> ./ffmpeg -i new.pkm foo.jpg >> >> Signed-off-by: Devin Heitmueller <dheitmuel...@kernellabs.com> >> --- >> libavcodec/Makefile | 2 + >> libavcodec/allcodecs.c | 1 + >> libavcodec/avcodec.h | 1 + >> libavcodec/codec_desc.c | 7 + >> libavcodec/etc1.c | 707 >> ++++++++++++++++++++++++++++++++++++++++++++++++ >> libavcodec/etc1.h | 114 ++++++++ >> libavcodec/etc1dec.c | 81 ++++++ >> libavcodec/etc1enc.c | 90 ++++++ >> libavcodec/utils.c | 3 +- >> libavformat/img2.c | 1 + >> libavformat/img2enc.c | 2 +- >> 11 files changed, 1007 insertions(+), 2 deletions(-) >> create mode 100644 libavcodec/etc1.c >> create mode 100644 libavcodec/etc1.h >> create mode 100644 libavcodec/etc1dec.c >> create mode 100644 libavcodec/etc1enc.c >> > > Apache 2.0 license is bad in combination with LGPL. >
Also I think this could make use of texturedsp if possible. So better reimplement as LGPL from scratch. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel