Home
last modified time | relevance | path

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

/external/libhevc/encoder/
Drate_control_api.c73 #define DEV_Q 4 /*Q format(Shift) for Deviation range factor */ macro
80 #define GET_HI_DEV_QP(Qprev) ((((WORD32)Qprev) * HI_DEV_FCTR + (1 << (DEV_Q - 1))) >> DEV_Q)
82 …(i4_num_active_pic_types <= B1_PIC)?(((((WORD32) Qprev)*LO_DEV_FCTR_1B + (1<<(DEV_Q-1)))>>DEV_Q): \
83 …((i4_num_active_pic_types == B2_PIC)? ((((WORD32) Qprev)*LO_DEV_FCTR_3B + (1<<(DEV_Q-1)))>>DEV_Q) \
84 … ((((WORD32) Qprev)*LO_DEV_FCTR_7B + (1<<(DEV_Q-1)))>>DEV_Q))))
86 #define GET_LO_DEV_QP_B(Qprev) ((((WORD32)Qprev) * LO_DEV_B_FCTR + (1 << (DEV_Q - 1))) >> DEV_Q)
90 #define GET_HI_DEV_QP_QFAC(Qprev) ((((WORD32)Qprev) * HI_DEV_FCTR) >> DEV_Q)
93 ? ((((WORD32)Qprev) * LO_DEV_FCTR_1B) >> DEV_Q) \
94 : ((i4_num_active_pic_types == B2_PIC) ? ((((WORD32)Qprev) * LO_DEV_FCTR_3B) >> DEV_Q) \
95 : ((((WORD32)Qprev) * LO_DEV_FCTR_7B) >> DEV_Q)))
[all …]
/external/libavc/encoder/
Dirc_rate_control_api.c50 #define DEV_Q 4 /*Q format(Shift) for Deviation range factor */ macro
53 #define GET_HI_DEV_QP(Qprev) (( ((WORD32) Qprev)*HI_DEV_FCTR + (1<<(DEV_Q-1)))>>DEV_Q)
54 #define GET_LO_DEV_QP(Qprev) (( ((WORD32) Qprev)*LO_DEV_FCTR + (1<<(DEV_Q-1)))>>DEV_Q)