/external/libhevc/common/ |
ihevc_trans_macros.h | 37 #define QUANT(out, inp, quant_coeff, qp_div, log2_trans_size, q_add) \ 49 q_bits = QUANT_SHIFT + qp_div + transform_shift + SCALING_Q_SHIFT - quant_multiplier ; \ 62 #define QUANT_HBD(out, inp, quant_coeff, qp_div, log2_trans_size, q_add, bit_depth) \ 74 q_bits = QUANT_SHIFT + qp_div + transform_shift + SCALING_Q_SHIFT - quant_multiplier ; \ 87 #define QUANT_NO_WEIGHTMAT(out, inp, quant_coeff, qp_div, log2_trans_size, q_add) \ 99 q_bits = QUANT_SHIFT + qp_div + transform_shift + SCALING_Q_SHIFT - quant_multiplier - FLAT_RESCALE_MAT_Q_SHIFT /* 2048 */; \ 112 #define QUANT_NO_WEIGHTMAT_HBD(out, inp, quant_coeff, qp_div, log2_trans_size, q_add, bit_depth) \ 124 q_bits = QUANT_SHIFT + qp_div + transform_shift + SCALING_Q_SHIFT - quant_multiplier - FLAT_RESCALE_MAT_Q_SHIFT /* 2048 */; \ 136 /* Reference Inverse Quantization: "pi2_src"(Coefficients) will be clipped to 15 or 14 bits when (qp_div > shift_iq). Spec doesn't have any clip mentioned */ 140 #define IQUANT(res, coeff /*pi2_src[index*src_strd]*/, dequant_coeff /*pi2_dequant_coeff[index*trans_size] * g_ihevc_iquant_scales[qp_rem] */, shift_iq, qp_div) \ [all...] |
ihevc_chroma_iquant_recon.h | 44 WORD32 qp_div, /* qpscaled / 6 */ 54 WORD32 qp_div, /* qpscaled / 6 */ 65 WORD32 qp_div, /* qpscaled / 6 */ 75 WORD32 qp_div, /* qpscaled / 6 */ 86 WORD32 qp_div, /* qpscaled / 6 */ 96 WORD32 qp_div, /* qpscaled / 6 */
|
ihevc_iquant_itrans_recon.h | 44 WORD32 qp_div, /* qpscaled / 6 */ 57 WORD32 qp_div, /* qpscaled / 6 */ 71 WORD32 qp_div, /* qpscaled / 6 */ 84 WORD32 qp_div, /* qpscaled / 6 */ 98 WORD32 qp_div, /* qpscaled / 6 */ 111 WORD32 qp_div, /* qpscaled / 6 */ 125 WORD32 qp_div, /* qpscaled / 6 */ 138 WORD32 qp_div, /* qpscaled / 6 */ 152 WORD32 qp_div, /* qpscaled / 6 */ 165 WORD32 qp_div, /* qpscaled / 6 * [all...] |
ihevc_iquant_recon.h | 41 WORD32 qp_div, /* qpscaled / 6 */ 51 WORD32 qp_div, /* qpscaled / 6 */ 62 WORD32 qp_div, /* qpscaled / 6 */ 72 WORD32 qp_div, /* qpscaled / 6 */ 83 WORD32 qp_div, /* qpscaled / 6 */ 93 WORD32 qp_div, /* qpscaled / 6 */ 104 WORD32 qp_div, /* qpscaled / 6 */ 114 WORD32 qp_div, /* qpscaled / 6 */ 125 WORD32 qp_div, /* qpscaled / 6 */ 135 WORD32 qp_div, /* qpscaled / 6 * [all...] |
ihevc_chroma_iquant_itrans_recon.h | 45 WORD32 qp_div, /* qpscaled / 6 */ 58 WORD32 qp_div, /* qpscaled / 6 */ 72 WORD32 qp_div, /* qpscaled / 6 */ 85 WORD32 qp_div, /* qpscaled / 6 */ 99 WORD32 qp_div, /* qpscaled / 6 */ 112 WORD32 qp_div, /* qpscaled / 6 */
|
ihevc_iquant_itrans_recon.c | 80 * @param[in] qp_div 114 WORD32 qp_div, /* qpscaled / 6 */ 161 shift_iq, qp_div); 165 shift_iq, qp_div); 171 shift_iq, qp_div); 175 shift_iq, qp_div); 181 shift_iq, qp_div); 185 shift_iq, qp_div); 191 shift_iq, qp_div); 202 shift_iq, qp_div); [all...] |
ihevc_iquant_recon.c | 79 * @param[in] qp_div 109 WORD32 qp_div, /* qpscaled / 6 */ 150 shift_iq, qp_div); 191 * @param[in] qp_div 221 WORD32 qp_div, /* qpscaled / 6 */ 262 shift_iq, qp_div); 302 * @param[in] qp_div 332 WORD32 qp_div, /* qpscaled / 6 */ 373 shift_iq, qp_div); 413 * @param[in] qp_div [all...] |
ihevc_chroma_iquant_recon.c | 84 * @param[in] qp_div 115 WORD32 qp_div, /* qpscaled / 6 */ 156 shift_iq, qp_div); 196 * @param[in] qp_div 227 WORD32 qp_div, /* qpscaled / 6 */ 268 shift_iq, qp_div); 308 * @param[in] qp_div 339 WORD32 qp_div, /* qpscaled / 6 */ 381 shift_iq, qp_div);
|
ihevc_chroma_iquant_itrans_recon.c | 86 * @param[in] qp_div 121 WORD32 qp_div, /* qpscaled / 6 */ 170 shift_iq, qp_div); 174 shift_iq, qp_div); 184 shift_iq, qp_div); 188 shift_iq, qp_div);
|
/external/libavc/common/x86/ |
ih264_iquant_itrans_recon_ssse3.c | 376 UWORD32 qp_div, 387 __m128i add_rshift = _mm_set1_epi32((1 << (5 - qp_div))); 424 if (qp_div >= 6) { 425 resq_r0_1 = _mm_slli_epi32(temp5, qp_div - 6); 426 resq_r0_2 = _mm_slli_epi32(temp7, qp_div - 6); 430 resq_r0_1 = _mm_srai_epi32(temp5, 6 - qp_div); 431 resq_r0_2 = _mm_srai_epi32(temp7, 6 - qp_div); 445 if (qp_div >= 6) { 446 resq_r1_1 = _mm_slli_epi32(temp5, qp_div - 6); 447 resq_r1_2 = _mm_slli_epi32(temp7, qp_div - 6) [all...] |
ih264_iquant_itrans_recon_dc_ssse3.c | 234 UWORD32 qp_div, 240 WORD16 i_macro, rnd_fact = (qp_div < 6) ? 1 << (5 - qp_div) : 0; 252 INV_QUANT(q0, pu2_iscale_mat[0], pu2_weigh_mat[0], qp_div, rnd_fact, 6);
|
/external/libavc/encoder/ |
ih264e_core_coding.h | 214 * @param[in] qp_div 245 const UWORD16 *pu2_weigh_mat, UWORD32 qp_div, UWORD32 u4_cntrl, 361 * @param[in] qp_div 386 const UWORD16 *pu2_weigh_mat, UWORD32 qp_div, UWORD32 u4_cntrl,
|
ih264e_core_coding.c | 252 * @param[in] qp_div 288 UWORD32 qp_div, 327 pu2_weigh_mat, qp_div, pi4_tmp); 375 pu2_weigh_mat, qp_div, NULL, 398 qp_div, (WORD16*) pi4_tmp, 585 * @param[in] qp_div 615 UWORD32 qp_div, 655 pu2_weigh_mat, qp_div, NULL); 726 pu2_weigh_mat, qp_div, [all...] |
ih264e_structs.h | 86 UWORD32 qp_div, WORD32 *pi4_tmp); [all...] |
/external/libavc/common/ |
ih264_trans_quant_itrans_iquant.h | 64 UWORD32 qp_div, 114 UWORD32 qp_div, 140 UWORD32 qp_div, 153 UWORD32 qp_div,
|
ih264_iquant_itrans_recon.c | 330 UWORD32 qp_div, 344 WORD32 rnd_fact = (qp_div < 6) ? (1 << (5 - qp_div)) : 0; 354 INV_QUANT(q, pu2_iscale_mat[i], pu2_weigh_mat[i], qp_div, rnd_fact, 6); 558 UWORD32 qp_div, 567 WORD32 rnd_fact = (qp_div < 6) ? (1 << (5 - qp_div)) : 0; 576 INV_QUANT(q, pu2_iscale_mat[0], pu2_weigh_mat[0], qp_div, rnd_fact, 6);
|
/external/libhevc/decoder/ |
ihevcd_iquant_itrans_recon_ctb.c | 144 WORD32 qp_div, 212 shift_iq, qp_div); 218 shift_iq, qp_div); 298 shift_iq, qp_div); 309 shift_iq, qp_div); 660 WORD32 qp_div = 0, qp_rem = 0; local 828 qp_div = ps_tu->b7_qp / 6; 840 qp_rem, qp_div, e_trans_type, [all...] |