diff options
author | Timothy Gu <timothygu99@gmail.com> | 2016-02-03 04:02:39 +0300 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2016-02-07 20:09:13 +0300 |
commit | 58ded09bd14e149af113b8373c1c2cd7958dfe54 (patch) | |
tree | eb39e4f9790f418fb466f0386c434cdbdd48ea4e /libavcodec/dirac_dwt.c | |
parent | 6cdde20beb9801ab83f142b56449e0a3f69b4019 (diff) |
dirac_dwt: Rename init2 to init
The functions are all private.
Diffstat (limited to 'libavcodec/dirac_dwt.c')
-rw-r--r-- | libavcodec/dirac_dwt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/dirac_dwt.c b/libavcodec/dirac_dwt.c index 7ccb310552..4f04112724 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); |