summaryrefslogtreecommitdiffstats
path: root/libavcodec/dirac_dwt.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-02-03 01:02:39 +0000
committerTimothy Gu <timothygu99@gmail.com>2016-02-07 09:09:13 -0800
commit58ded09bd14e149af113b8373c1c2cd7958dfe54 (patch)
treeeb39e4f9790f418fb466f0386c434cdbdd48ea4e /libavcodec/dirac_dwt.c
parent6cdde20beb9801ab83f142b56449e0a3f69b4019 (diff)
downloadffmpeg-streaming-58ded09bd14e149af113b8373c1c2cd7958dfe54.zip
ffmpeg-streaming-58ded09bd14e149af113b8373c1c2cd7958dfe54.tar.gz
dirac_dwt: Rename init2 to init
The functions are all private.
Diffstat (limited to 'libavcodec/dirac_dwt.c')
-rw-r--r--libavcodec/dirac_dwt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/dirac_dwt.c b/libavcodec/dirac_dwt.c
index 7ccb310..4f04112 100644
--- a/libavcodec/dirac_dwt.c
+++ b/libavcodec/dirac_dwt.c
@@ -33,9 +33,9 @@
#define TEMPLATE_12bit
#include "dirac_dwt_template.c"
-int ff_spatial_idwt_init2(DWTContext *d, uint8_t *buffer, int width, int height,
- int stride, enum dwt_type type, int decomposition_count,
- uint8_t *temp, int bit_depth)
+int ff_spatial_idwt_init(DWTContext *d, uint8_t *buffer, int width, int height,
+ int stride, enum dwt_type type, int decomposition_count,
+ uint8_t *temp, int bit_depth)
{
int ret = 0;
@@ -47,11 +47,11 @@ int ff_spatial_idwt_init2(DWTContext *d, uint8_t *buffer, int width, int height,
d->temp = temp;
if (bit_depth == 8)
- ret = ff_spatial_idwt_init2_8bit(d, type);
+ ret = ff_spatial_idwt_init_8bit(d, type);
else if (bit_depth == 10)
- ret = ff_spatial_idwt_init2_10bit(d, type);
+ ret = ff_spatial_idwt_init_10bit(d, type);
else if (bit_depth == 12)
- ret = ff_spatial_idwt_init2_12bit(d, type);
+ ret = ff_spatial_idwt_init_12bit(d, type);
else
av_log(NULL, AV_LOG_WARNING, "Unsupported bit depth = %i\n", bit_depth);
OpenPOWER on IntegriCloud