[FFmpeg-devel] [PATCH 0/1] Add ETC1 encoder/decoder
Devin Heitmueller
dheitmueller at kernellabs.com
Wed Feb 22 19:38:37 EET 2017
This patch adds support for encoding and decoding the Ericsson Texture
Compression 1 (ETC1) format. This includes support for the PKM file
format.
Note the actual codec uses Google's ETC1 implementation from Android
(Apache 2 licensed). The only changes I made were a couple of very shallow
fixes to compile in C90 mode (cases where variables were being declared
in-line with code).
Devin Heitmueller (1):
Add support for Ericsson Texture Compression 1 (ETC1)
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
--
1.9.1
More information about the ffmpeg-devel
mailing list