Home
last modified time | relevance | path

Searched refs:CLIP_U8 (Results 1 – 25 of 48) sorted by relevance

12

/external/libavc/common/
Dih264_iquant_itrans_recon.c183 *pu1_out = CLIP_U8(i_macro); in ih264_iquant_itrans_recon_4x4()
190 *pu1_out = CLIP_U8(i_macro); in ih264_iquant_itrans_recon_4x4()
197 *pu1_out = CLIP_U8(i_macro); in ih264_iquant_itrans_recon_4x4()
204 *pu1_out = CLIP_U8(i_macro); in ih264_iquant_itrans_recon_4x4()
250 *pu1_out = CLIP_U8(x); in ih264_iquant_itrans_recon_4x4_dc()
255 *pu1_out = CLIP_U8(x); in ih264_iquant_itrans_recon_4x4_dc()
260 *pu1_out = CLIP_U8(x); in ih264_iquant_itrans_recon_4x4_dc()
265 *pu1_out = CLIP_U8(x); in ih264_iquant_itrans_recon_4x4_dc()
507 *pu1_out = CLIP_U8(i_macro); in ih264_iquant_itrans_recon_8x8()
513 *pu1_out = CLIP_U8(i_macro); in ih264_iquant_itrans_recon_8x8()
[all …]
Dih264_weighted_pred.c223 *pu1_dst = CLIP_U8((wt * (*pu1_src) + i_ofst) >> log_wd); in ih264_weighted_pred_luma()
234 *pu1_dst = CLIP_U8(wt * (*pu1_src) + ofst); in ih264_weighted_pred_luma()
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()
320 *pu1_dst = CLIP_U8(wt_u * (*pu1_src) + ofst_u); in ih264_weighted_pred_chroma()
323 *pu1_dst = CLIP_U8(wt_v * (*pu1_src) + ofst_v); in ih264_weighted_pred_chroma()
399 *pu1_dst = CLIP_U8((wt1 * (*pu1_src1) + wt2 * (*pu1_src2) + ofst) >> shft); in ih264_weighted_bi_pred_luma()
485 *pu1_dst = CLIP_U8((wt1_u * (*pu1_src1) + wt2_u * (*pu1_src2) + ofst_u) >> shft); in ih264_weighted_bi_pred_chroma()
489 *pu1_dst = CLIP_U8((wt1_v * (*pu1_src1) + wt2_v * (*pu1_src2) + ofst_v) >> shft); in ih264_weighted_bi_pred_chroma()
Dih264_inter_pred_filters.c253 pu1_dst[col] = CLIP_U8(i2_tmp); in ih264_inter_pred_luma_horz()
323 pu1_dst[col] = CLIP_U8(i2_tmp); in ih264_inter_pred_luma_vert()
411 pu1_dst[col] = CLIP_U8(tmp); in ih264_inter_pred_luma_horz_hpel_vert_hpel()
479 i2_temp = CLIP_U8(i2_temp); in ih264_inter_pred_luma_horz_qpel()
563 i2_temp = CLIP_U8(i2_temp); in ih264_inter_pred_luma_vert_qpel()
652 i2_temp_vert = CLIP_U8(i2_temp_vert); in ih264_inter_pred_luma_horz_qpel_vert_qpel()
664 i2_temp_horz = CLIP_U8(i2_temp_horz); in ih264_inter_pred_luma_horz_qpel_vert_qpel()
763 pu1_dst[col] = CLIP_U8(tmp); in ih264_inter_pred_luma_horz_qpel_vert_hpel()
780 uc_temp = CLIP_U8(i2_macro); in ih264_inter_pred_luma_horz_qpel_vert_hpel()
875 pu1_dst[col] = CLIP_U8(tmp); in ih264_inter_pred_luma_horz_hpel_vert_qpel()
[all …]
Dih264_deblk_edge_filters.c597 pu1_src_temp[pos_p0] = CLIP_U8(val); in ih264_deblk_luma_vert_bslt4()
600 pu1_src_temp[pos_q0] = CLIP_U8(val); in ih264_deblk_luma_vert_bslt4()
710 pu1_src_temp_u[pos_p0] = CLIP_U8(val); in ih264_deblk_chroma_vert_bslt4_bp()
713 pu1_src_temp_u[pos_q0] = CLIP_U8(val); in ih264_deblk_chroma_vert_bslt4_bp()
725 pu1_src_temp_v[pos_p0] = CLIP_U8(val); in ih264_deblk_chroma_vert_bslt4_bp()
728 pu1_src_temp_v[pos_q0] = CLIP_U8(val); in ih264_deblk_chroma_vert_bslt4_bp()
830 pu1_p2_temp[pos_p0] = CLIP_U8(val); in ih264_deblk_luma_horz_bslt4()
833 pu1_src_temp[pos_q0] = CLIP_U8(val); in ih264_deblk_luma_horz_bslt4()
952 pu1_p1_temp_u[pos_p0] = CLIP_U8(val); in ih264_deblk_chroma_horz_bslt4_bp()
955 pu1_src_temp_u[pos_q0] = CLIP_U8(val); in ih264_deblk_chroma_horz_bslt4_bp()
[all …]
/external/libavc/decoder/
Dih264d_format_conv.c154 u4_b = CLIP_U8(*pu1_y_src + i2_b); in ih264d_fmt_conv_420sp_to_rgb565()
157 u4_g = CLIP_U8(*pu1_y_src + i2_g); in ih264d_fmt_conv_420sp_to_rgb565()
160 u4_r = CLIP_U8(*pu1_y_src + i2_r); in ih264d_fmt_conv_420sp_to_rgb565()
168 u4_b = CLIP_U8(*pu1_y_src + i2_b); in ih264d_fmt_conv_420sp_to_rgb565()
171 u4_g = CLIP_U8(*pu1_y_src + i2_g); in ih264d_fmt_conv_420sp_to_rgb565()
174 u4_r = CLIP_U8(*pu1_y_src + i2_r); in ih264d_fmt_conv_420sp_to_rgb565()
182 u4_b = CLIP_U8(*pu1_y_src_nxt + i2_b); in ih264d_fmt_conv_420sp_to_rgb565()
185 u4_g = CLIP_U8(*pu1_y_src_nxt + i2_g); in ih264d_fmt_conv_420sp_to_rgb565()
188 u4_r = CLIP_U8(*pu1_y_src_nxt + i2_r); in ih264d_fmt_conv_420sp_to_rgb565()
196 u4_b = CLIP_U8(*pu1_y_src_nxt + i2_b); in ih264d_fmt_conv_420sp_to_rgb565()
[all …]
/external/libavc/encoder/
Dih264e_fmt_conv.c142 u4_b = CLIP_U8(*pu1_y_src + i2_b); in ih264e_fmt_conv_420sp_to_rgb565()
145 u4_g = CLIP_U8(*pu1_y_src + i2_g); in ih264e_fmt_conv_420sp_to_rgb565()
148 u4_r = CLIP_U8(*pu1_y_src + i2_r); in ih264e_fmt_conv_420sp_to_rgb565()
156 u4_b = CLIP_U8(*pu1_y_src + i2_b); in ih264e_fmt_conv_420sp_to_rgb565()
159 u4_g = CLIP_U8(*pu1_y_src + i2_g); in ih264e_fmt_conv_420sp_to_rgb565()
162 u4_r = CLIP_U8(*pu1_y_src + i2_r); in ih264e_fmt_conv_420sp_to_rgb565()
170 u4_b = CLIP_U8(*pu1_y_src_nxt + i2_b); in ih264e_fmt_conv_420sp_to_rgb565()
173 u4_g = CLIP_U8(*pu1_y_src_nxt + i2_g); in ih264e_fmt_conv_420sp_to_rgb565()
176 u4_r = CLIP_U8(*pu1_y_src_nxt + i2_r); in ih264e_fmt_conv_420sp_to_rgb565()
184 u4_b = CLIP_U8(*pu1_y_src_nxt + i2_b); in ih264e_fmt_conv_420sp_to_rgb565()
[all …]
Dih264e_half_pel.c126 *pu1_dst = CLIP_U8(i16_temp); in ih264e_sixtapfilter_horz()
217 pu1_dst2[col] = CLIP_U8(tmp); in ih264e_sixtap_filter_2dvh_vert()
218 pu1_dst1[col] = CLIP_U8((pi4_pred[col] + 16) >> 5); in ih264e_sixtap_filter_2dvh_vert()
/external/libhevc/decoder/
Dihevcd_fmt_conv.c160 u4_b = CLIP_U8(*pu1_y_src + i2_b); in ihevcd_fmt_conv_420sp_to_rgb565()
163 u4_g = CLIP_U8(*pu1_y_src + i2_g); in ihevcd_fmt_conv_420sp_to_rgb565()
166 u4_r = CLIP_U8(*pu1_y_src + i2_r); in ihevcd_fmt_conv_420sp_to_rgb565()
174 u4_b = CLIP_U8(*pu1_y_src + i2_b); in ihevcd_fmt_conv_420sp_to_rgb565()
177 u4_g = CLIP_U8(*pu1_y_src + i2_g); in ihevcd_fmt_conv_420sp_to_rgb565()
180 u4_r = CLIP_U8(*pu1_y_src + i2_r); in ihevcd_fmt_conv_420sp_to_rgb565()
188 u4_b = CLIP_U8(*pu1_y_src_nxt + i2_b); in ihevcd_fmt_conv_420sp_to_rgb565()
191 u4_g = CLIP_U8(*pu1_y_src_nxt + i2_g); in ihevcd_fmt_conv_420sp_to_rgb565()
194 u4_r = CLIP_U8(*pu1_y_src_nxt + i2_r); in ihevcd_fmt_conv_420sp_to_rgb565()
202 u4_b = CLIP_U8(*pu1_y_src_nxt + i2_b); in ihevcd_fmt_conv_420sp_to_rgb565()
[all …]
/external/libhevc/common/
Dihevc_itrans_recon.c169 pu1_dst[0] = CLIP_U8((itrans_out + pu1_pred[0])); in ihevc_itrans_recon_4x4_ttype1()
172 pu1_dst[1] = CLIP_U8((itrans_out + pu1_pred[1])); in ihevc_itrans_recon_4x4_ttype1()
175 pu1_dst[2] = CLIP_U8((itrans_out + pu1_pred[2])); in ihevc_itrans_recon_4x4_ttype1()
178 pu1_dst[3] = CLIP_U8((itrans_out + pu1_pred[3])); in ihevc_itrans_recon_4x4_ttype1()
316 pu1_dst[0] = CLIP_U8((itrans_out + pu1_pred[0])); in ihevc_itrans_recon_4x4()
319 pu1_dst[1] = CLIP_U8((itrans_out + pu1_pred[1])); in ihevc_itrans_recon_4x4()
322 pu1_dst[2] = CLIP_U8((itrans_out + pu1_pred[2])); in ihevc_itrans_recon_4x4()
325 pu1_dst[3] = CLIP_U8((itrans_out + pu1_pred[3])); in ihevc_itrans_recon_4x4()
Dihevc_weighted_pred.c128 pu1_dst[col] = CLIP_U8(i4_tmp); in ihevc_weighted_pred_uni()
213 pu1_dst[col] = CLIP_U8(i4_tmp); in ihevc_weighted_pred_chroma_uni()
219 pu1_dst[col + 1] = CLIP_U8(i4_tmp); in ihevc_weighted_pred_chroma_uni()
319 pu1_dst[col] = CLIP_U8(i4_tmp >> shift); in ihevc_weighted_pred_bi()
424 pu1_dst[col] = CLIP_U8(i4_tmp >> shift); in ihevc_weighted_pred_chroma_bi()
430 pu1_dst[col + 1] = CLIP_U8(i4_tmp >> shift); in ihevc_weighted_pred_chroma_bi()
513 pu1_dst[col] = CLIP_U8(i4_tmp >> shift); in ihevc_weighted_pred_bi_default()
596 pu1_dst[col] = CLIP_U8(i4_tmp >> shift); in ihevc_weighted_pred_chroma_bi_default()
Dihevc_deblk_edge_filter.c244 tmp_p0 = CLIP_U8(pu1_src[-1] + delta); in ihevc_deblk_luma_vert()
245 tmp_q0 = CLIP_U8(pu1_src[0] - delta); in ihevc_deblk_luma_vert()
253 tmp_p1 = CLIP_U8(pu1_src[-2] + delta_p); in ihevc_deblk_luma_vert()
262 tmp_q1 = CLIP_U8(pu1_src[1] + delta_q); in ihevc_deblk_luma_vert()
502 tmp_p0 = CLIP_U8(pu1_src[-1 * src_strd] + delta); in ihevc_deblk_luma_horz()
503 tmp_q0 = CLIP_U8(pu1_src[0 * src_strd] - delta); in ihevc_deblk_luma_horz()
512 tmp_p1 = CLIP_U8(pu1_src[-2 * src_strd] + delta_p); in ihevc_deblk_luma_horz()
522 tmp_q1 = CLIP_U8(pu1_src[1 * src_strd] + delta_q); in ihevc_deblk_luma_horz()
638 tmp_p0_u = CLIP_U8(pu1_src[-2] + delta_u); in ihevc_deblk_chroma_vert()
639 tmp_q0_u = CLIP_U8(pu1_src[0] - delta_u); in ihevc_deblk_chroma_vert()
[all …]
Dihevc_iquant_itrans_recon.c241 pu1_dst[0] = CLIP_U8((itrans_out + pu1_pred[0])); in ihevc_iquant_itrans_recon_4x4_ttype1()
245 pu1_dst[1] = CLIP_U8((itrans_out + pu1_pred[1])); in ihevc_iquant_itrans_recon_4x4_ttype1()
249 pu1_dst[2] = CLIP_U8((itrans_out + pu1_pred[2])); in ihevc_iquant_itrans_recon_4x4_ttype1()
253 pu1_dst[3] = CLIP_U8((itrans_out + pu1_pred[3])); in ihevc_iquant_itrans_recon_4x4_ttype1()
436 pu1_dst[0] = CLIP_U8((itrans_out + pu1_pred[0])); in ihevc_iquant_itrans_recon_4x4()
440 pu1_dst[1] = CLIP_U8((itrans_out + pu1_pred[1])); in ihevc_iquant_itrans_recon_4x4()
444 pu1_dst[2] = CLIP_U8((itrans_out + pu1_pred[2])); in ihevc_iquant_itrans_recon_4x4()
448 pu1_dst[3] = CLIP_U8((itrans_out + pu1_pred[3])); in ihevc_iquant_itrans_recon_4x4()
Dihevc_itrans_recon_16x16.c229 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
232 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
281 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
284 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
355 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
358 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
476 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
479 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
528 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_16x16()
531 pu1_dst[k + 8] = CLIP_U8((itrans_out + pu1_pred[k + 8])); in ihevc_itrans_recon_16x16()
[all …]
Dihevc_chroma_itrans_recon_16x16.c238 pu1_dst[k * 2] = CLIP_U8((itrans_out + pu1_pred[k * 2])); in ihevc_chroma_itrans_recon_16x16()
241 pu1_dst[(k + 8) * 2] = CLIP_U8((itrans_out + pu1_pred[(k + 8) * 2])); in ihevc_chroma_itrans_recon_16x16()
290 pu1_dst[k * 2] = CLIP_U8((itrans_out + pu1_pred[k * 2])); in ihevc_chroma_itrans_recon_16x16()
293 pu1_dst[(k + 8) * 2] = CLIP_U8((itrans_out + pu1_pred[(k + 8) * 2])); in ihevc_chroma_itrans_recon_16x16()
364 pu1_dst[k * 2] = CLIP_U8((itrans_out + pu1_pred[k * 2])); in ihevc_chroma_itrans_recon_16x16()
367 pu1_dst[(k + 8) * 2] = CLIP_U8((itrans_out + pu1_pred[(k + 8) * 2])); in ihevc_chroma_itrans_recon_16x16()
484 pu1_dst[k * 2] = CLIP_U8((itrans_out + pu1_pred[k * 2])); in ihevc_chroma_itrans_recon_16x16()
487 pu1_dst[(k + 8) * 2] = CLIP_U8((itrans_out + pu1_pred[(k + 8) * 2])); in ihevc_chroma_itrans_recon_16x16()
536 pu1_dst[k * 2] = CLIP_U8((itrans_out + pu1_pred[k * 2])); in ihevc_chroma_itrans_recon_16x16()
539 pu1_dst[(k + 8) * 2] = CLIP_U8((itrans_out + pu1_pred[(k + 8) * 2])); in ihevc_chroma_itrans_recon_16x16()
[all …]
Dihevc_recon.c124 CLIP_U8(pi2_src[j * src_strd] + pu1_pred[j * pred_strd]); in ihevc_recon_4x4_ttype1()
206 CLIP_U8(pi2_src[j * src_strd] + pu1_pred[j * pred_strd]); in ihevc_recon_4x4()
288 CLIP_U8(pi2_src[j * src_strd] + pu1_pred[j * pred_strd]); in ihevc_recon_8x8()
370 CLIP_U8(pi2_src[j * src_strd] + pu1_pred[j * pred_strd]); in ihevc_recon_16x16()
452 CLIP_U8(pi2_src[j * src_strd] + pu1_pred[j * pred_strd]); in ihevc_recon_32x32()
Dihevc_itrans_recon_8x8.c207 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_8x8()
210 pu1_dst[k + 4] = CLIP_U8((itrans_out + pu1_pred[k + 4])); in ihevc_itrans_recon_8x8()
252 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_8x8()
255 pu1_dst[k + 4] = CLIP_U8((itrans_out + pu1_pred[k + 4])); in ihevc_itrans_recon_8x8()
354 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_8x8()
357 pu1_dst[k + 4] = CLIP_U8((itrans_out + pu1_pred[k + 4])); in ihevc_itrans_recon_8x8()
399 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_8x8()
402 pu1_dst[k + 4] = CLIP_U8((itrans_out + pu1_pred[k + 4])); in ihevc_itrans_recon_8x8()
Dihevc_chroma_itrans_recon.c188 pu1_dst[0 * 2] = CLIP_U8((itrans_out + pu1_pred[0 * 2])); in ihevc_chroma_itrans_recon_4x4()
191 pu1_dst[1 * 2] = CLIP_U8((itrans_out + pu1_pred[1 * 2])); in ihevc_chroma_itrans_recon_4x4()
194 pu1_dst[2 * 2] = CLIP_U8((itrans_out + pu1_pred[2 * 2])); in ihevc_chroma_itrans_recon_4x4()
197 pu1_dst[3 * 2] = CLIP_U8((itrans_out + pu1_pred[3 * 2])); in ihevc_chroma_itrans_recon_4x4()
Dihevc_chroma_iquant_itrans_recon.c236 pu1_dst[0 * 2] = CLIP_U8((itrans_out + pu1_pred[0 * 2])); in ihevc_chroma_iquant_itrans_recon_4x4()
240 pu1_dst[1 * 2] = CLIP_U8((itrans_out + pu1_pred[1 * 2])); in ihevc_chroma_iquant_itrans_recon_4x4()
244 pu1_dst[2 * 2] = CLIP_U8((itrans_out + pu1_pred[2 * 2])); in ihevc_chroma_iquant_itrans_recon_4x4()
248 pu1_dst[3 * 2] = CLIP_U8((itrans_out + pu1_pred[3 * 2])); in ihevc_chroma_iquant_itrans_recon_4x4()
Dihevc_itrans_recon_32x32.c252 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_32x32()
255 pu1_dst[k + 16] = CLIP_U8((itrans_out + pu1_pred[k + 16])); in ihevc_itrans_recon_32x32()
312 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_32x32()
315 pu1_dst[k + 16] = CLIP_U8((itrans_out + pu1_pred[k + 16])); in ihevc_itrans_recon_32x32()
430 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_32x32()
433 pu1_dst[k + 16] = CLIP_U8((itrans_out + pu1_pred[k + 16])); in ihevc_itrans_recon_32x32()
568 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_32x32()
571 pu1_dst[k + 16] = CLIP_U8((itrans_out + pu1_pred[k + 16])); in ihevc_itrans_recon_32x32()
628 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in ihevc_itrans_recon_32x32()
631 pu1_dst[k + 16] = CLIP_U8((itrans_out + pu1_pred[k + 16])); in ihevc_itrans_recon_32x32()
[all …]
Dihevc_iquant_recon.c154 CLIP_U8(iquant_out + pu1_pred[j * pred_strd]); in ihevc_iquant_recon_4x4_ttype1()
265 CLIP_U8(iquant_out + pu1_pred[j * pred_strd]); in ihevc_iquant_recon_4x4()
376 CLIP_U8(iquant_out + pu1_pred[j * pred_strd]); in ihevc_iquant_recon_8x8()
488 CLIP_U8(iquant_out + pu1_pred[j * pred_strd]); in ihevc_iquant_recon_16x16()
599 CLIP_U8(iquant_out + pu1_pred[j * pred_strd]); in ihevc_iquant_recon_32x32()
Dihevc_chroma_recon.c133 CLIP_U8(pi2_src[j * src_strd] + pu1_pred[j * pred_strd]); in ihevc_chroma_recon_4x4()
216 CLIP_U8(pi2_src[j * src_strd] + pu1_pred[j * pred_strd]); in ihevc_chroma_recon_8x8()
299 CLIP_U8(pi2_src[j * src_strd] + pu1_pred[j * pred_strd]); in ihevc_chroma_recon_16x16()
Dihevc_chroma_itrans_recon_8x8.c224 pu1_dst[k * 2] = CLIP_U8((itrans_out + pu1_pred[k * 2])); in ihevc_chroma_itrans_recon_8x8()
228 CLIP_U8((itrans_out + pu1_pred[(k + 4) * 2])); in ihevc_chroma_itrans_recon_8x8()
270 pu1_dst[k * 2] = CLIP_U8((itrans_out + pu1_pred[k * 2])); in ihevc_chroma_itrans_recon_8x8()
274 CLIP_U8((itrans_out + pu1_pred[(k + 4) * 2])); in ihevc_chroma_itrans_recon_8x8()
Dihevc_inter_pred_filters.c190 i2_tmp = CLIP_U8(i2_tmp); in ihevc_inter_pred_luma_horz()
263 i2_tmp = CLIP_U8(i2_tmp); in ihevc_inter_pred_luma_vert()
543 i4_tmp = CLIP_U8(i4_tmp); in ihevc_inter_pred_luma_vert_w16inp()
759 i2_tmp_u = CLIP_U8(i2_tmp_u); in ihevc_inter_pred_chroma_horz()
761 i2_tmp_v = CLIP_U8(i2_tmp_v); in ihevc_inter_pred_chroma_horz()
839 i2_tmp = CLIP_U8(i2_tmp); in ihevc_inter_pred_chroma_vert()
1127 i4_tmp = CLIP_U8(i4_tmp); in ihevc_inter_pred_chroma_vert_w16inp()
/external/libmpeg2/common/
Dimpeg2_idct.c88 pu1_dst[j] = CLIP_U8(i4_val + pu1_pred[j]); in impeg2_idct_recon_dc()
126 pu1_dst[j] = CLIP_U8(i4_sum); in impeg2_idct_recon_dc_mismatch()
293 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in impeg2_idct_recon()
296 pu1_dst[k + 4] = CLIP_U8((itrans_out + pu1_pred[k + 4])); in impeg2_idct_recon()
338 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in impeg2_idct_recon()
341 pu1_dst[k + 4] = CLIP_U8((itrans_out + pu1_pred[k + 4])); in impeg2_idct_recon()
440 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in impeg2_idct_recon()
443 pu1_dst[k + 4] = CLIP_U8((itrans_out + pu1_pred[k + 4])); in impeg2_idct_recon()
485 pu1_dst[k] = CLIP_U8((itrans_out + pu1_pred[k])); in impeg2_idct_recon()
488 pu1_dst[k + 4] = CLIP_U8((itrans_out + pu1_pred[k + 4])); in impeg2_idct_recon()
/external/libmpeg2/decoder/
Dimpeg2d_d_pic.c200 i2_dc_val = CLIP_U8(i2_dc_val); in impeg2d_dec_d_slice()
216 i2_dc_val = CLIP_U8(i2_dc_val); in impeg2d_dec_d_slice()
226 i2_dc_val = CLIP_U8(i2_dc_val); in impeg2d_dec_d_slice()

12