aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-09-28 21:45:31 +0200
committerTom Butterworth <bangnoise@gmail.com>2017-10-16 15:34:56 +0100
commit92500c7bc53ba0d585db666aef65152468e80c9c (patch)
treec4515fcee4fd644b8c6c4ddecc3a40c26430a507
parent50a20de6b9edd1d893fe0ea652ccf796dd9850fb (diff)
downloadffmpeg-92500c7bc53ba0d585db666aef65152468e80c9c.tar.gz
libavcodec/texturedsp : indent after add rgtc1u_alpha func
Signed-off-by: Tom Butterworth <bangnoise@gmail.com>
-rw-r--r--libavcodec/texturedsp.c26
-rw-r--r--libavcodec/texturedsp.h26
2 files changed, 26 insertions, 26 deletions
diff --git a/libavcodec/texturedsp.c b/libavcodec/texturedsp.c
index 787aa118d1..6fc8e560ec 100644
--- a/libavcodec/texturedsp.c
+++ b/libavcodec/texturedsp.c
@@ -620,18 +620,18 @@ static int dxn3dc_block(uint8_t *dst, ptrdiff_t stride, const uint8_t *block)
av_cold void ff_texturedsp_init(TextureDSPContext *c)
{
- c->dxt1_block = dxt1_block;
- c->dxt1a_block = dxt1a_block;
- c->dxt2_block = dxt2_block;
- c->dxt3_block = dxt3_block;
- c->dxt4_block = dxt4_block;
- c->dxt5_block = dxt5_block;
- c->dxt5y_block = dxt5y_block;
- c->dxt5ys_block = dxt5ys_block;
- c->rgtc1s_block = rgtc1s_block;
- c->rgtc1u_block = rgtc1u_block;
+ c->dxt1_block = dxt1_block;
+ c->dxt1a_block = dxt1a_block;
+ c->dxt2_block = dxt2_block;
+ c->dxt3_block = dxt3_block;
+ c->dxt4_block = dxt4_block;
+ c->dxt5_block = dxt5_block;
+ c->dxt5y_block = dxt5y_block;
+ c->dxt5ys_block = dxt5ys_block;
+ c->rgtc1s_block = rgtc1s_block;
+ c->rgtc1u_block = rgtc1u_block;
c->rgtc1u_alpha_block = rgtc1u_alpha_block;
- c->rgtc2s_block = rgtc2s_block;
- c->rgtc2u_block = rgtc2u_block;
- c->dxn3dc_block = dxn3dc_block;
+ c->rgtc2s_block = rgtc2s_block;
+ c->rgtc2u_block = rgtc2u_block;
+ c->dxn3dc_block = dxn3dc_block;
}
diff --git a/libavcodec/texturedsp.h b/libavcodec/texturedsp.h
index 04b31525d9..9953cf589d 100644
--- a/libavcodec/texturedsp.h
+++ b/libavcodec/texturedsp.h
@@ -43,20 +43,20 @@
#define TEXTURE_BLOCK_H 4
typedef struct TextureDSPContext {
- int (*dxt1_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
- int (*dxt1a_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
- int (*dxt2_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
- int (*dxt3_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
- int (*dxt4_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
- int (*dxt5_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
- int (*dxt5y_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
- 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 (*dxt1_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
+ int (*dxt1a_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
+ int (*dxt2_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
+ int (*dxt3_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
+ int (*dxt4_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
+ int (*dxt5_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
+ int (*dxt5y_block) (uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
+ 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);
+ 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);
} TextureDSPContext;
void ff_texturedsp_init(TextureDSPContext *c);