From d6095ff2835f0a377b4aa29611a694c991003583 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 21 Feb 2014 14:28:34 +0100 Subject: [PATCH] transform: Fix function prototypes --- src/transform.c | 6 +++--- src/transform.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/transform.c b/src/transform.c index 447d326c..124393d9 100644 --- a/src/transform.c +++ b/src/transform.c @@ -193,7 +193,7 @@ int32_t get_scaled_qp(int8_t type, int8_t qp, int8_t qp_offset) * \brief Initialize scaling lists * */ -void scalinglist_init() +void scalinglist_init(void) { uint32_t sizeId,listId,qp; @@ -221,7 +221,7 @@ void scalinglist_init() * \brief Destroy scaling list allocated memory * */ -void scalinglist_destroy() +void scalinglist_destroy(void) { uint32_t sizeId,listId,qp; @@ -244,7 +244,7 @@ void scalinglist_destroy() * \brief * */ -void scalinglist_process() +void scalinglist_process(void) { uint32_t size,list,qp; diff --git a/src/transform.h b/src/transform.h index 632737f8..5a7f3513 100644 --- a/src/transform.h +++ b/src/transform.h @@ -57,13 +57,13 @@ void dequant(encoder_control *encoder, int16_t *q_coef, int16_t *coef, int32_t w void transform2d(int16_t *block,int16_t *coeff, int8_t block_size, int32_t mode); void itransform2d(int16_t *block,int16_t *coeff, int8_t block_size, int32_t mode); -void scalinglist_init(); +void scalinglist_init(void); void scalinglist_process_enc( int32_t *coeff, int32_t *quant_coeff, int32_t quant_scales, uint32_t height,uint32_t width, uint32_t ratio, int32_t size_num, uint32_t dc, uint8_t flat); -void scalinglist_process(); +void scalinglist_process(void); void scalinglist_set(int32_t *coeff, uint32_t list_id, uint32_t size_id, uint32_t qp); void scalinglist_set_err_scale(uint32_t list,uint32_t size, uint32_t qp); -void scalinglist_destroy(); +void scalinglist_destroy(void); int32_t *scalinglist_get_default(uint32_t size_id, uint32_t list_id); int scalinglist_parse(FILE *fp);