HomeSort by relevance Sort by last modified time
    Searched refs:CLIP3 (Results 1 - 24 of 24) sorted by null

  /external/libhevc/common/mips/
ihevc_platform_macros.h 38 #define CLIP_U8(x) CLIP3((x), 0, 255)
39 #define CLIP_S8(x) CLIP3((x), -128, 127)
41 #define CLIP_U10(x) CLIP3((x), 0, 1023);
42 #define CLIP_S10(x) CLIP3((x), -512, 511);
44 #define CLIP_U12(x) CLIP3((x), 0, 4095);
45 #define CLIP_S12(x) CLIP3((x), -2048, 2047);
47 #define CLIP_U16(x) CLIP3((x), 0, 65535)
48 #define CLIP_S16(x) CLIP3((x), -32768, 32767)
  /external/libhevc/common/x86/
ihevc_platform_macros.h 42 #define CLIP_U8(x) CLIP3((x), 0, 255)
43 #define CLIP_S8(x) CLIP3((x), -128, 127)
45 #define CLIP_U10(x) CLIP3((x), 0, 1023);
46 #define CLIP_S10(x) CLIP3((x), -512, 511);
48 #define CLIP_U12(x) CLIP3((x), 0, 4095);
49 #define CLIP_S12(x) CLIP3((x), -2048, 2047);
51 #define CLIP_U16(x) CLIP3((x), 0, 65535)
52 #define CLIP_S16(x) CLIP3((x), -32768, 32767)
ihevc_deblk_ssse3_intr.c 129 beta_indx = CLIP3(qp_luma + (beta_offset_div2 << 1), 0, 51);
136 tc_indx = CLIP3(qp_luma + (2 * (bs >> 1)) + (tc_offset_div2 << 1), 0, 53);
569 beta_indx = CLIP3(qp_luma + (beta_offset_div2 << 1), 0, 51);
576 tc_indx = CLIP3(qp_luma + 2 * (bs >> 1) + (tc_offset_div2 << 1), 0, 53);
    [all...]
ihevc_sao_ssse3_intr.c     [all...]
  /external/libhevc/common/arm/
ihevc_platform_macros.h 93 #define CLIP_U8(x) CLIP3((x), 0, 255)
94 #define CLIP_S8(x) CLIP3((x), -128, 127)
96 #define CLIP_U10(x) CLIP3((x), 0, 1023);
97 #define CLIP_S10(x) CLIP3((x), -512, 511);
99 #define CLIP_U12(x) CLIP3((x), 0, 4095);
100 #define CLIP_S12(x) CLIP3((x), -2048, 2047);
102 #define CLIP_U16(x) CLIP3((x), 0, 65535)
103 #define CLIP_S16(x) CLIP3((x), -32768, 32767)
ihevc_sao_edge_offset_class2_chroma.s 152 USAT r9,#8,r9 @u1_pos_0_0_tmp_u = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1)
183 USAT r10,#8,r10 @u1_pos_0_0_tmp_v = CLIP3(pu1_src[0] + pi1_sao_offset_v[edge_idx], 0, (1 << bit_depth) - 1)
226 USAT r10,#8,r10 @u1_pos_wd_ht_tmp = CLIP3(pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1)
258 USAT r9,#8,r9 @u1_pos_wd_ht_tmp_v = CLIP3(pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1)
    [all...]
ihevc_sao_edge_offset_class3_chroma.s 148 USAT r9,#8,r9 @u1_pos_0_0_tmp_u = CLIP3(pu1_src[wd - 2] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1)
177 USAT r10,#8,r10 @u1_pos_0_0_tmp_v = CLIP3(pu1_src[wd - 1] + pi1_sao_offset_v[edge_idx], 0, (1 << bit_depth) - 1)
218 USAT r10,#8,r10 @u1_pos_wd_ht_tmp = CLIP3(pu1_src[(ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1)
249 USAT r9,#8,r9 @u1_pos_wd_ht_tmp_v = CLIP3(pu1_src[(ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1)
    [all...]
ihevc_sao_edge_offset_class2.s 139 USAT r9,#8,r9 @u1_pos_0_0_tmp = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1)
176 USAT r10,#8,r10 @u1_pos_wd_ht_tmp = CLIP3(pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1)
    [all...]
ihevc_sao_edge_offset_class3.s 142 USAT r9,#8,r9 @u1_pos_0_0_tmp = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1)
185 USAT r10,#8,r10 @u1_pos_wd_ht_tmp = CLIP3(pu1_src[(ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1)
    [all...]
  /external/libhevc/common/
ihevc_deblk_edge_filter.c 125 beta_indx = CLIP3(qp_luma + (beta_offset_div2 << 1), 0, 51);
132 tc_indx = CLIP3(qp_luma + (2 * (bs >> 1)) + (tc_offset_div2 << 1), 0, 53);
206 tmp_q0 = CLIP3((pu1_src[2] + 2 * pu1_src[1] +
212 tmp_q1 = CLIP3((pu1_src[2] + pu1_src[1] + pu1_src[0] +
217 tmp_q2 = CLIP3((2 * pu1_src[3] + 3 * pu1_src[2] +
223 tmp_p0 = CLIP3((pu1_src[1] + 2 * pu1_src[0] +
229 tmp_p1 = CLIP3((pu1_src[0] + pu1_src[-1] +
234 tmp_p2 = CLIP3((pu1_src[0] + pu1_src[-1] +
246 delta = CLIP3(delta, -tc, tc);
253 delta_p = CLIP3((((pu1_src[-3] + pu1_src[-1] + 1) >> 1
    [all...]
ihevc_sao.c 115 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1);
177 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1);
248 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
347 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
440 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
539 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
617 u1_pos_0_0_tmp = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
641 u1_pos_wd_ht_tmp = CLIP3(pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
707 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
813 u1_pos_0_0_tmp_u = CLIP3(pu1_src[0] + pi1_sao_offset_u[edge_idx], 0, (1 << bit_depth) - 1)
    [all...]
ihevc_macros.h 40 #define CLIP3(x, min, max) (((x) > max) ? max :(((x) < min)? min:(x)))
ihevc_trans_macros.h 173 clip_coeff = CLIP3(coeff,coeff_min,coeff_max); \
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_deblocking.c 687 data[-2] = (u8)(p1 + CLIP3(-tc,tc,
694 data[1] = (u8)(q1 + CLIP3(-tc,tc,
699 delta = CLIP3(-tmp, tmp, ((((q0 - p0) << 2) +
794 data[-imageWidth*2] = (u8)(p1 + CLIP3(-tc,tc,
803 data[imageWidth] = (u8)(q1 + CLIP3(-tc,tc,
808 delta = CLIP3(-tmp, tmp, ((((q0 - p0) << 2) +
866 data[-imageWidth*2] = (u8)(p1 + CLIP3(-tc,tc,
875 data[imageWidth] = (u8)(q1 + CLIP3(-tc,tc,
880 delta = CLIP3(-tmp, tmp, ((((q0 - p0) << 2) +
970 delta = CLIP3(-tc, tc, ((((q0 - p0) << 2)
    [all...]
h264bsd_util.h 136 #define CLIP3(x,y,z) (((z) < (x)) ? (x) : (((z) > (y)) ? (y) : (z)))
h264bsd_macroblock_layer.c     [all...]
  /external/libhevc/decoder/
ihevcd_inter_pred.c 274 mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_luma_samples - pu_x + 7) << 2));
278 mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_in_luma_samples - pu_y + 7) << 2));
293 mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_luma_samples - pu_x + 7) << 2));
297 mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_in_luma_samples - pu_y + 7) << 2));
321 mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_luma_samples - pu_x + 7) << 2));
325 mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_in_luma_samples - pu_y + 7) << 2));
339 mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_luma_samples - pu_x + 7) << 2));
343 mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_in_luma_samples - pu_y + 7) << 2));
ihevcd_parse_slice_header.c 173 ps_rplm->i1_list_entry_l0[i] = CLIP3(ps_rplm->i1_list_entry_l0[i], 0, num_poc_total_curr - 1);
188 ps_rplm->i1_list_entry_l1[i] = CLIP3(ps_rplm->i1_list_entry_l1[i], 0, num_poc_total_curr - 1);
252 pps_id = CLIP3(pps_id, 0, MAX_PPS_CNT - 2);
425 ps_slice_hdr->i1_short_term_ref_pic_set_idx = CLIP3(ps_slice_hdr->i1_short_term_ref_pic_set_idx, 0, MAX_STREF_PICS_SPS - 1);
453 ps_slice_hdr->i1_num_long_term_sps = CLIP3(ps_slice_hdr->i1_num_long_term_sps,
458 ps_slice_hdr->i1_num_long_term_pics = CLIP3(ps_slice_hdr->i1_num_long_term_pics,
573 ps_slice_hdr->i1_num_ref_idx_l0_active = CLIP3(ps_slice_hdr->i1_num_ref_idx_l0_active, 0, MAX_DPB_SIZE - 1);
574 ps_slice_hdr->i1_num_ref_idx_l1_active = CLIP3(ps_slice_hdr->i1_num_ref_idx_l1_active, 0, MAX_DPB_SIZE - 1);
620 ps_slice_hdr->i1_collocated_ref_idx = CLIP3(ps_slice_hdr->i1_collocated_ref_idx, 0, MAX_DPB_SIZE - 1);
631 ps_slice_hdr->i1_max_num_merge_cand = CLIP3(ps_slice_hdr->i1_max_num_merge_cand, 1, 5)
    [all...]
ihevcd_parse_headers.c 393 r_idx = CLIP3(r_idx, 0, idx - 1);
451 num_neg_pics = CLIP3(num_neg_pics, 0, MAX_DPB_SIZE - 1);
452 num_pos_pics = CLIP3(num_pos_pics, 0, (MAX_DPB_SIZE - 1 - num_neg_pics));
497 ps_stref_picset->i1_num_neg_pics = CLIP3(ps_stref_picset->i1_num_neg_pics,
503 ps_stref_picset->i1_num_pos_pics = CLIP3(ps_stref_picset->i1_num_pos_pics,
    [all...]
ihevcd_mv_pred.c 120 dist_scale_factor = CLIP3(dist_scale_factor, -4096, 4095);
180 dist_scale_factor = CLIP3(dist_scale_factor, -4096, 4095);
ihevcd_cabac.c 679 numones = CLIP3(numones, 0, 16);
ihevcd_iquant_itrans_recon_ctb.c     [all...]
ihevcd_parse_slice.c 705 ref_idx = CLIP3(ref_idx, 0, MAX_DPB_SIZE - 1);
756 ref_idx = CLIP3(ref_idx, 0, MAX_DPB_SIZE - 1);
    [all...]
  /hardware/samsung_slsi/exynos5/libhwjpeg/
ExynosJpegDecoder.cpp 206 #define CLIP3(a, b, c) (MIN(b, MAX(a, c)))
207 #define CLIP255(a) (CLIP3(0, 255, (a)))
    [all...]

Completed in 6204 milliseconds