Home
last modified time | relevance | path

Searched refs:qp_div (Results 1 – 17 of 17) sorted by relevance

/external/libhevc/common/
Dihevc_trans_macros.h37 #define QUANT(out, inp, quant_coeff, qp_div, log2_trans_size, q_add) \ argument
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) \ argument
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) \ argument
99 …q_bits = QUANT_SHIFT + qp_div + transform_shift + SCALING_Q_SHIFT - quant_multiplier - FLAT_RESCAL…
112 #define QUANT_NO_WEIGHTMAT_HBD(out, inp, quant_coeff, qp_div, log2_trans_size, q_add, bit_depth) \ argument
124 …q_bits = QUANT_SHIFT + qp_div + transform_shift + SCALING_Q_SHIFT - quant_multiplier - FLAT_RESCAL…
140 …/*pi2_dequant_coeff[index*trans_size] * g_ihevc_iquant_scales[qp_rem] */, shift_iq, qp_div) \ argument
144 …add_iq = SHL_NEG(1 , (shift_iq - qp_div - 1)); /* To be moved outside in neon. To be computed onc…
[all …]
Dihevc_iquant_recon.h41 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 */
Dihevc_iquant_itrans_recon.c114 WORD32 qp_div, /* qpscaled / 6 */ in ihevc_iquant_itrans_recon_4x4_ttype1() argument
161 shift_iq, qp_div); in ihevc_iquant_itrans_recon_4x4_ttype1()
165 shift_iq, qp_div); in ihevc_iquant_itrans_recon_4x4_ttype1()
171 shift_iq, qp_div); in ihevc_iquant_itrans_recon_4x4_ttype1()
175 shift_iq, qp_div); in ihevc_iquant_itrans_recon_4x4_ttype1()
181 shift_iq, qp_div); in ihevc_iquant_itrans_recon_4x4_ttype1()
185 shift_iq, qp_div); in ihevc_iquant_itrans_recon_4x4_ttype1()
191 shift_iq, qp_div); in ihevc_iquant_itrans_recon_4x4_ttype1()
202 shift_iq, qp_div); in ihevc_iquant_itrans_recon_4x4_ttype1()
206 shift_iq, qp_div); in ihevc_iquant_itrans_recon_4x4_ttype1()
[all …]
Dihevc_iquant_itrans_recon.h44 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 */
Dihevc_chroma_iquant_recon.h44 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 */
Dihevc_iquant_recon.c109 WORD32 qp_div, /* qpscaled / 6 */ in ihevc_iquant_recon_4x4_ttype1() argument
150 shift_iq, qp_div); in ihevc_iquant_recon_4x4_ttype1()
221 WORD32 qp_div, /* qpscaled / 6 */ in ihevc_iquant_recon_4x4() argument
262 shift_iq, qp_div); in ihevc_iquant_recon_4x4()
332 WORD32 qp_div, /* qpscaled / 6 */ in ihevc_iquant_recon_8x8() argument
373 shift_iq, qp_div); in ihevc_iquant_recon_8x8()
443 WORD32 qp_div, /* qpscaled / 6 */ in ihevc_iquant_recon_16x16() argument
485 shift_iq, qp_div); in ihevc_iquant_recon_16x16()
555 WORD32 qp_div, /* qpscaled / 6 */ in ihevc_iquant_recon_32x32() argument
596 shift_iq, qp_div); in ihevc_iquant_recon_32x32()
Dihevc_chroma_iquant_itrans_recon.h45 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 */
Dihevc_chroma_iquant_recon.c115 WORD32 qp_div, /* qpscaled / 6 */ in ihevc_chroma_iquant_recon_4x4() argument
156 shift_iq, qp_div); in ihevc_chroma_iquant_recon_4x4()
227 WORD32 qp_div, /* qpscaled / 6 */ in ihevc_chroma_iquant_recon_8x8() argument
268 shift_iq, qp_div); in ihevc_chroma_iquant_recon_8x8()
339 WORD32 qp_div, /* qpscaled / 6 */ in ihevc_chroma_iquant_recon_16x16() argument
381 shift_iq, qp_div); in ihevc_chroma_iquant_recon_16x16()
Dihevc_chroma_iquant_itrans_recon.c121 WORD32 qp_div, /* qpscaled / 6 */ in ihevc_chroma_iquant_itrans_recon_4x4() argument
170 shift_iq, qp_div); in ihevc_chroma_iquant_itrans_recon_4x4()
174 shift_iq, qp_div); in ihevc_chroma_iquant_itrans_recon_4x4()
184 shift_iq, qp_div); in ihevc_chroma_iquant_itrans_recon_4x4()
188 shift_iq, qp_div); in ihevc_chroma_iquant_itrans_recon_4x4()
/external/libavc/common/x86/
Dih264_iquant_itrans_recon_ssse3.c376 UWORD32 qp_div, in ih264_iquant_itrans_recon_8x8_ssse3() argument
387 __m128i add_rshift = _mm_set1_epi32((1 << (5 - qp_div))); in ih264_iquant_itrans_recon_8x8_ssse3()
424 if (qp_div >= 6) { in ih264_iquant_itrans_recon_8x8_ssse3()
425 resq_r0_1 = _mm_slli_epi32(temp5, qp_div - 6); in ih264_iquant_itrans_recon_8x8_ssse3()
426 resq_r0_2 = _mm_slli_epi32(temp7, qp_div - 6); in ih264_iquant_itrans_recon_8x8_ssse3()
430 resq_r0_1 = _mm_srai_epi32(temp5, 6 - qp_div); in ih264_iquant_itrans_recon_8x8_ssse3()
431 resq_r0_2 = _mm_srai_epi32(temp7, 6 - qp_div); in ih264_iquant_itrans_recon_8x8_ssse3()
445 if (qp_div >= 6) { in ih264_iquant_itrans_recon_8x8_ssse3()
446 resq_r1_1 = _mm_slli_epi32(temp5, qp_div - 6); in ih264_iquant_itrans_recon_8x8_ssse3()
447 resq_r1_2 = _mm_slli_epi32(temp7, qp_div - 6); in ih264_iquant_itrans_recon_8x8_ssse3()
[all …]
Dih264_iquant_itrans_recon_dc_ssse3.c234 UWORD32 qp_div, in ih264_iquant_itrans_recon_8x8_dc_ssse3() argument
240 WORD16 i_macro, rnd_fact = (qp_div < 6) ? 1 << (5 - qp_div) : 0; in ih264_iquant_itrans_recon_8x8_dc_ssse3()
252 INV_QUANT(q0, pu2_iscale_mat[0], pu2_weigh_mat[0], qp_div, rnd_fact, 6); in ih264_iquant_itrans_recon_8x8_dc_ssse3()
/external/libavc/common/
Dih264_trans_quant_itrans_iquant.h64 UWORD32 qp_div,
114 UWORD32 qp_div,
140 UWORD32 qp_div,
153 UWORD32 qp_div,
Dih264_iquant_itrans_recon.c330 UWORD32 qp_div, in ih264_iquant_itrans_recon_8x8() argument
344 WORD32 rnd_fact = (qp_div < 6) ? (1 << (5 - qp_div)) : 0; in ih264_iquant_itrans_recon_8x8()
354 INV_QUANT(q, pu2_iscale_mat[i], pu2_weigh_mat[i], qp_div, rnd_fact, 6); in ih264_iquant_itrans_recon_8x8()
558 UWORD32 qp_div, in ih264_iquant_itrans_recon_8x8_dc() argument
567 WORD32 rnd_fact = (qp_div < 6) ? (1 << (5 - qp_div)) : 0; in ih264_iquant_itrans_recon_8x8_dc()
576 INV_QUANT(q, pu2_iscale_mat[0], pu2_weigh_mat[0], qp_div, rnd_fact, 6); in ih264_iquant_itrans_recon_8x8_dc()
/external/libhevc/decoder/
Dihevcd_iquant_itrans_recon_ctb.c144 WORD32 qp_div, in ihevcd_unpack_coeffs() argument
212 shift_iq, qp_div); in ihevcd_unpack_coeffs()
218 shift_iq, qp_div); in ihevcd_unpack_coeffs()
298 shift_iq, qp_div); in ihevcd_unpack_coeffs()
309 shift_iq, qp_div); in ihevcd_unpack_coeffs()
660 WORD32 qp_div = 0, qp_rem = 0; in ihevcd_iquant_itrans_recon_ctb() local
828 qp_div = ps_tu->b7_qp / 6; in ihevcd_iquant_itrans_recon_ctb()
840 qp_rem, qp_div, e_trans_type, in ihevcd_iquant_itrans_recon_ctb()
896 qp_div = gai2_ihevcd_chroma_qp[chroma_qp_idx] / 6; in ihevcd_iquant_itrans_recon_ctb()
917 qp_rem, qp_div, e_trans_type, in ihevcd_iquant_itrans_recon_ctb()
/external/libavc/encoder/
Dih264e_core_coding.h245 const UWORD16 *pu2_weigh_mat, UWORD32 qp_div, UWORD32 u4_cntrl,
386 const UWORD16 *pu2_weigh_mat, UWORD32 qp_div, UWORD32 u4_cntrl,
Dih264e_core_coding.c288 UWORD32 qp_div, in ih264e_luma_16x16_idctrans_iquant_itrans_recon() argument
327 pu2_weigh_mat, qp_div, pi4_tmp); in ih264e_luma_16x16_idctrans_iquant_itrans_recon()
375 pu2_weigh_mat, qp_div, NULL, in ih264e_luma_16x16_idctrans_iquant_itrans_recon()
398 qp_div, (WORD16*) pi4_tmp, in ih264e_luma_16x16_idctrans_iquant_itrans_recon()
615 UWORD32 qp_div, in ih264e_chroma_8x8_idctrans_iquant_itrans_recon() argument
655 pu2_weigh_mat, qp_div, NULL); in ih264e_chroma_8x8_idctrans_iquant_itrans_recon()
726 pu2_weigh_mat, qp_div, in ih264e_chroma_8x8_idctrans_iquant_itrans_recon()
Dih264e_structs.h86 UWORD32 qp_div, WORD32 *pi4_tmp);