summaryrefslogtreecommitdiff
path: root/libavcodec/texturedsp.h
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-09-28 21:36:58 +0200
committerTom Butterworth <bangnoise@gmail.com>2017-10-16 15:34:03 +0100
commitd4d4629dfe727d4c890fc7a19eb7e22eb155fce8 (patch)
tree3f138088e127eb178df9b99cba21ca739d3fac7e /libavcodec/texturedsp.h
parent06558100727420f33186e8656936a9373fa647ee (diff)
downloadffmpeg-d4d4629dfe727d4c890fc7a19eb7e22eb155fce8.tar.gz
libavcodec/texturedsp : add rgtc1u_alpha decoding func
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>
Diffstat (limited to 'libavcodec/texturedsp.h')
-rw-r--r--libavcodec/texturedsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/texturedsp.h b/libavcodec/texturedsp.h
index 26f3b6473f..04b31525d9 100644
--- a/libavcodec/texturedsp.h
+++ b/libavcodec/texturedsp.h
@@ -53,6 +53,7 @@ typedef struct TextureDSPContext {
int (*dxt5ys_block)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
int (*rgtc1s_block)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
int (*rgtc1u_block)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
+ int (*rgtc1u_alpha_block)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
int (*rgtc2s_block)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
int (*rgtc2u_block)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
int (*dxn3dc_block)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);