Home
last modified time | relevance | path

Searched refs:QINDEX_RANGE (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/vp8e/
H A Dhal_vp8e_table.c442 RK_S32 const dc_q_lookup_tbl[QINDEX_RANGE] = {
458 RK_S32 const ac_q_lookup_tbl[QINDEX_RANGE] = {
474 RK_S32 const q_rounding_factors_tbl[QINDEX_RANGE] = {
490 RK_S32 const q_zbin_factors_tbl[QINDEX_RANGE] = {
H A Dhal_vp8e_table.h30 extern RK_S32 const dc_q_lookup_tbl[QINDEX_RANGE];
32 extern RK_S32 const ac_q_lookup_tbl[QINDEX_RANGE];
34 extern RK_S32 const q_rounding_factors_tbl[QINDEX_RANGE];
36 extern RK_S32 const q_zbin_factors_tbl[QINDEX_RANGE];
H A Dhal_vp8e_base.h100 #define QINDEX_RANGE 128 macro
351 Vp8eQp qp_y1[QINDEX_RANGE];
352 Vp8eQp qp_y2[QINDEX_RANGE];
353 Vp8eQp qp_ch[QINDEX_RANGE];
H A Dhal_vp8e_base.c1474 for (i = 0; i < QINDEX_RANGE; i++) { in hal_vp8e_init_qp_table()
1480 tmp = dc_q_lookup_tbl[MPP_CLIP3(0, QINDEX_RANGE - 1, i)]; in hal_vp8e_init_qp_table()
1482 tmp = ac_q_lookup_tbl[MPP_CLIP3(0, QINDEX_RANGE - 1, i)]; in hal_vp8e_init_qp_table()
1494 tmp = dc_q_lookup_tbl[MPP_CLIP3(0, QINDEX_RANGE - 1, i)]; in hal_vp8e_init_qp_table()
1497 tmp = ac_q_lookup_tbl[MPP_CLIP3(0, QINDEX_RANGE - 1, i)]; in hal_vp8e_init_qp_table()
1511 tmp = dc_q_lookup_tbl[MPP_CLIP3(0, QINDEX_RANGE - 1, i)]; in hal_vp8e_init_qp_table()
1515 tmp = ac_q_lookup_tbl[MPP_CLIP3(0, QINDEX_RANGE - 1, i)]; in hal_vp8e_init_qp_table()
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/vp8/
H A Dvp8e_rc.c33 #define QINDEX_RANGE 128 macro
38 static const RK_S32 ac_q_lookup_tbl[QINDEX_RANGE] = {
271 qp = MPP_MIN(QINDEX_RANGE - 1, MPP_MAX(0, qp + 4)); in new_pic_quant()
273 qp = MPP_MIN(QINDEX_RANGE - 1, MPP_MAX(0, qp + 10)); in new_pic_quant()
292 if (qp >= QINDEX_RANGE - 1) { in new_pic_quant()
300 } while ((qp >= 0) && (qp < QINDEX_RANGE)); in new_pic_quant()
445 rc->qp_max = QINDEX_RANGE; in vp8e_init_rc()
459 if (rc->qp_max >= QINDEX_RANGE) in vp8e_init_rc()
460 rc->qp_max = QINDEX_RANGE - 1; in vp8e_init_rc()
495 rc->lin_reg.qs[0] = ac_q_lookup_tbl[QINDEX_RANGE - 1]; in vp8e_init_rc()