Home
last modified time | relevance | path

Searched refs:SIGN (Results 1 – 2 of 2) sorted by relevance

/rockchip-linux_mpp/mpp/codec/rc/
H A Drc_base.c34 #define SIGN(a) ((a) < (0) ? (-1) : (1)) macro
35 #define DIV(a, b) (((a) + (SIGN(a) * (b)) / 2) / (b))
/rockchip-linux_mpp/mpp/codec/
H A Dmpp_rc.c35 #define SIGN(a) ((a) < (0) ? (-1) : (1)) macro
36 #define DIV(a, b) (((a) + (SIGN(a) * (b)) / 2) / (b))