Home
last modified time | relevance | path

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

/external/libavc/common/
Dih264_weighted_pred.c203 WORD32 log_wd, in ih264_weighted_pred_luma() argument
217 if(log_wd >= 1) in ih264_weighted_pred_luma()
219 WORD32 i_ofst = (1 << (log_wd - 1)) + (ofst << log_wd); in ih264_weighted_pred_luma()
223 *pu1_dst = CLIP_U8((wt * (*pu1_src) + i_ofst) >> log_wd); in ih264_weighted_pred_luma()
277 WORD32 log_wd, in ih264_weighted_pred_chroma() argument
296 if(log_wd >= 1) in ih264_weighted_pred_chroma()
298 ofst_u = (1 << (log_wd - 1)) + (ofst_u << log_wd); in ih264_weighted_pred_chroma()
299 ofst_v = (1 << (log_wd - 1)) + (ofst_v << log_wd); in ih264_weighted_pred_chroma()
305 *pu1_dst = CLIP_U8((wt_u * (*pu1_src) + ofst_u) >> log_wd); in ih264_weighted_pred_chroma()
308 *pu1_dst = CLIP_U8((wt_v * (*pu1_src) + ofst_v) >> log_wd); in ih264_weighted_pred_chroma()
[all …]
Dih264_weighted_pred.h84 WORD32 log_wd,
96 WORD32 log_wd,
/external/libavc/common/x86/
Dih264_weighted_pred_sse42.c382 WORD32 log_wd, in ih264_weighted_pred_luma_sse42() argument
395 round_val = 1 << (log_wd - 1); in ih264_weighted_pred_luma_sse42()
425 y_0_8x16b = _mm_srai_epi16(y_0_8x16b, log_wd); in ih264_weighted_pred_luma_sse42()
426 y_2_8x16b = _mm_srai_epi16(y_2_8x16b, log_wd); in ih264_weighted_pred_luma_sse42()
473 y_0_8x16b = _mm_srai_epi16(y_0_8x16b, log_wd); in ih264_weighted_pred_luma_sse42()
474 y_1_8x16b = _mm_srai_epi16(y_1_8x16b, log_wd); in ih264_weighted_pred_luma_sse42()
475 y_2_8x16b = _mm_srai_epi16(y_2_8x16b, log_wd); in ih264_weighted_pred_luma_sse42()
476 y_3_8x16b = _mm_srai_epi16(y_3_8x16b, log_wd); in ih264_weighted_pred_luma_sse42()
541 y_0L_8x16b = _mm_srai_epi16(y_0L_8x16b, log_wd); in ih264_weighted_pred_luma_sse42()
542 y_0H_8x16b = _mm_srai_epi16(y_0H_8x16b, log_wd); in ih264_weighted_pred_luma_sse42()
[all …]
/external/libavc/common/arm/
Dih264_weighted_pred_a9q.s65 @* @param[in] log_wd
92 @ WORD32 log_wd,
103 @ [sp] => log_wd (r4)
118 ldr r4, [sp, #28] @Load log_wd in r4
125 neg r9, r4 @r9 = -log_wd
128 vdup.16 q0, r9 @Q0 = -log_wd (16-bit)
295 @* @param[in] log_wd
322 @ WORD32 log_wd,
333 @ [sp] => log_wd (r4)
347 ldr r4, [sp, #28] @Load log_wd in r4
[all …]
Dih264_weighted_bi_pred_a9q.s71 @* @param[in] log_wd
106 @ WORD32 log_wd,
121 @ [sp+8] => log_wd (r6)
137 ldr r6, [sp, #48] @Load log_wd in r6
142 add r6, r6, #1 @r6 = log_wd + 1
147 neg r10, r6 @r10 = -(log_wd + 1)
150 vdup.16 q0, r10 @Q0 = -(log_wd + 1) (32-bit)
386 @* @param[in] log_wd
421 @ WORD32 log_wd,
436 @ [sp+8] => log_wd (r6)
[all …]