/*!
 ***************************************************************************
 * \file
 *    q_around.h
 *
 * \author
 *    Alexis Michael Tourapis
 *
 * \brief
 *    Headerfile for Quantization Adaptive Rounding
 **************************************************************************
 */

#ifndef _Q_AROUND_H_
#define _Q_AROUND_H_

extern void update_adaptive_rounding_8x8  (ImageParameters *p_Img, InputParameters *p_Inp, RD_8x8DATA* dataTr, int**** ARCofAdj);
extern void store_adaptive_rounding_4x4   (ImageParameters *p_Img, int****ARCofAdj, int mode, int block_y, int block_x);
extern void update_adaptive_rounding_4x4  (ImageParameters *p_Img, int****ARCofAdj , int mode, int block_y, int block_x);
extern void update_adaptive_rounding_16x16(ImageParameters *p_Img, int****ARCofAdj , int mode);
extern void store_adaptive_rounding_16x16 (ImageParameters *p_Img, int****ARCofAdj, int mode);
extern void reset_adaptive_rounding_direct(ImageParameters *p_Img);
extern void update_offset_params          (Macroblock *currMB, int mode, Boolean luma_transform_size_8x8_flag);

#endif

