mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
INLINE fixe
This commit is contained in:
parent
694337b803
commit
b855144e68
|
@ -882,7 +882,7 @@ void features_init_array(features_s* arr_features, int16_t _size, int _qp)//, in
|
|||
* \param _width Width of the matrix.
|
||||
* \return average value of the block, -1 if error.
|
||||
*/
|
||||
double INLINE vect_average_blck_int8(const uint8_t* _mat_src, size_t _x, size_t _x_end, size_t _y, size_t _y_end, size_t _width)
|
||||
INLINE double vect_average_blck_int8(const uint8_t* _mat_src, size_t _x, size_t _x_end, size_t _y, size_t _y_end, size_t _width)
|
||||
{
|
||||
if (_mat_src == NULL)
|
||||
{
|
||||
|
@ -916,7 +916,7 @@ double INLINE vect_average_blck_int8(const uint8_t* _mat_src, size_t _x, size_t
|
|||
* \param _width Width of the matrix.
|
||||
* \return average value of the block, -1 if error.
|
||||
*/
|
||||
double INLINE vect_variance_blck_int8(const uint8_t* _mat_src, size_t _x, size_t _x_end, size_t _y, size_t _y_end, double _avg_blck, size_t _width)
|
||||
INLINE double vect_variance_blck_int8(const uint8_t* _mat_src, size_t _x, size_t _x_end, size_t _y, size_t _y_end, double _avg_blck, size_t _width)
|
||||
{
|
||||
if (_mat_src == NULL)
|
||||
{
|
||||
|
@ -952,7 +952,7 @@ double INLINE vect_variance_blck_int8(const uint8_t* _mat_src, size_t _x, size_t
|
|||
* \param p_variance Pointer to be filled with the variance;
|
||||
* \return None.
|
||||
*/
|
||||
static INLINE void features_var_avg_blck(uint8_t* arr_luma_px, uint32_t i_xLcu, uint32_t i_yLcu,
|
||||
INLINE static void features_var_avg_blck(uint8_t* arr_luma_px, uint32_t i_xLcu, uint32_t i_yLcu,
|
||||
uint32_t i_xBlck, uint32_t i_yBlck, uint8_t i_blockSize,
|
||||
int32_t i_width, int32_t i_height,
|
||||
double* p_average, double* p_variance)
|
||||
|
|
Loading…
Reference in a new issue