[FFmpeg-devel] [PATCH 1/1] Add support for Ericsson Texture Compression 1 (ETC1)
Paul B Mahol
onemda at gmail.com
Wed Feb 22 20:41:25 EET 2017
On 2/22/17, Devin Heitmueller <dheitmueller at 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 <dheitmueller at 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.
More information about the ffmpeg-devel
mailing list