summaryrefslogtreecommitdiffstats
path: root/libavcodec/texturedsp.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/texturedsp : add rgtc1u gray decodingMartin Vignali2017-11-251-12/+29
| | | | decode rgtc1 block in gray8 picture
* libavcodec/texturedsp : indent after add rgtc1u_alpha funcMartin Vignali2017-10-161-13/+13
| | | | Signed-off-by: Tom Butterworth <bangnoise@gmail.com>
* libavcodec/texturedsp : add rgtc1u_alpha decoding funcMartin Vignali2017-10-161-9/+32
| | | | | | | this func decode an rgtc1 texture and overwrite only the alpha channel of the dest RGBA picture Signed-off-by: Tom Butterworth <bangnoise@gmail.com>
* avcodec/texturedsp: Fix runtime error: left shift of 255 by 24 places cannot ↵Michael Niedermayer2017-05-121-1/+1
| | | | | | | | | be represented in type 'int' Fixes: 1505/clusterfuzz-testcase-minimized-4561688818876416 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/texturedsp: Fix runtime error: left shift of 218 by 24 places cannot ↵Michael Niedermayer2017-05-101-1/+1
| | | | | | | | | be represented in type 'int' Fixes: 1428/clusterfuzz-testcase-minimized-5263281793007616 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/texturedsp: Fix multiple runtime error: left shift of 255 by 24 ↵Michael Niedermayer2017-05-071-1/+1
| | | | | | | | | places cannot be represented in type 'int' Fixes: 1386/clusterfuzz-testcase-minimized-5323086394032128 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch2016-06-211-1/+1
|\ | | | | | | | | | | | | * commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
| * cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-1/+1
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | lavc/texturedsp: replace rint by lrintGanesh Ajjanagadde2015-12-261-1/+2
| | | | | | | | | | | | avoids float to int cast. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | Merge commit 'fdd5c48ebdec489ec9e84eee547fefa50c3ad53c'Hendrik Leppkes2015-11-291-1/+4
|\ \ | |/ | | | | | | | | | | * commit 'fdd5c48ebdec489ec9e84eee547fefa50c3ad53c': texturedsp: Explicitly cast RGBA parameters to unsigned Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * texturedsp: Explicitly cast RGBA parameters to unsignedVittorio Giovara2015-11-241-1/+4
| | | | | | | | | | Silences warnings when using -Wshift-overflow (GCC 6+). Found-by: James Almer <jamrial@gmail.com>
* | avcodec/texturedsp: fix undefined shiftJames Almer2015-07-261-1/+1
| | | | | | | | | | | | | | Silences warnings when using -Wshift-overflow (GCC 6+) Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/texturedsp: Add protective () to RGBA() macroMichael Niedermayer2015-06-231-1/+1
|/ | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Introduce a TextureDSP moduleVittorio Giovara2015-06-221-0/+610
This module implements generic texture decompression from different families (DXTC, RGTC, BCn) and texture compression DXTC 1, 3, and 5. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
OpenPOWER on IntegriCloud