Re: [libav-devel] [PATCH 1/3] lavc: Introduce a DXTC module

2015-05-22 Thread Vittorio Giovara
On Thu, May 21, 2015 at 2:04 PM, Tom Butterworth bangno...@gmail.com wrote: Hi Vittorio +++ b/libavcodec/dxtc_dec.c Couldn't the existing s3tc.c be refactored and extended instead of rewritten from scratch? there are a lot of limitations in s3tc, and it's quite unmaintained I went for the

Re: [libav-devel] [PATCH 1/3] lavc: Introduce a DXTC module

2015-05-21 Thread Tom Butterworth
Hi Vittorio +++ b/libavcodec/dxtc_dec.c Couldn't the existing s3tc.c be refactored and extended instead of rewritten from scratch? +static av_always_inline void dxt13_block_internal(uint8_t *dst, + const uint8_t *block, +

[libav-devel] [PATCH 1/3] lavc: Introduce a DXTC module

2015-05-20 Thread Vittorio Giovara
This module implements DXTC (also known as BCn) texture compression and decompression in a structured manner, in which further textures and assembly optimizations may be easily plugged. Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com --- libavcodec/dxtc.h | 38 +++