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

1 2

  /external/libavc/common/mips/
ih264_platform_macros.h 41 #define CLIP_U8(x) CLIP3(0, 255, (x))
42 #define CLIP_S8(x) CLIP3(-128, 127, (x))
44 #define CLIP_U10(x) CLIP3(0, 1023, (x))
45 #define CLIP_S10(x) CLIP3(-512, 511, (x))
47 #define CLIP_U12(x) CLIP3(0, 4095, (x))
48 #define CLIP_S12(x) CLIP3(-2048, 2047, (x))
50 #define CLIP_U16(x) CLIP3(0, 65535, (x))
51 #define CLIP_S16(x) CLIP3(-32768, 32767, (x))
  /external/libavc/common/x86/
ih264_platform_macros.h 44 #define CLIP_U8(x) CLIP3(0, 255, (x))
45 #define CLIP_S8(x) CLIP3(-128, 127, (x))
47 #define CLIP_U10(x) CLIP3(0, 1023, (x))
48 #define CLIP_S10(x) CLIP3(-512, 511, (x))
50 #define CLIP_U12(x) CLIP3(0, 4095, (x))
51 #define CLIP_S12(x) CLIP3(-2048, 2047, (x))
53 #define CLIP_U16(x) CLIP3(0, 65535, (x))
54 #define CLIP_S16(x) CLIP3(-32768, 32767, (x))
  /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/libmpeg2/common/mips/
icv_platform_macros.h 67 #define CLIP_U8(x) CLIP3(0, 255, (x))
68 #define CLIP_S8(x) CLIP3(-128, 127, (x))
70 #define CLIP_U10(x) CLIP3(0, 1023, (x))
71 #define CLIP_S10(x) CLIP3(-512, 511, (x))
73 #define CLIP_U12(x) CLIP3(0, 4095, (x))
74 #define CLIP_S12(x) CLIP3(-2048, 2047, (x))
76 #define CLIP_U16(x) CLIP3(0, 65535, (x))
77 #define CLIP_S16(x) CLIP3(-32768, 32767, (x))
  /external/libmpeg2/common/x86/
icv_platform_macros.h 67 #define CLIP_U8(x) CLIP3(0, 255, (x))
68 #define CLIP_S8(x) CLIP3(-128, 127, (x))
70 #define CLIP_U10(x) CLIP3(0, 1023, (x))
71 #define CLIP_S10(x) CLIP3(-512, 511, (x))
73 #define CLIP_U12(x) CLIP3(0, 4095, (x))
74 #define CLIP_S12(x) CLIP3(-2048, 2047, (x))
76 #define CLIP_U16(x) CLIP3(0, 65535, (x))
77 #define CLIP_S16(x) CLIP3(-32768, 32767, (x))
  /external/libavc/common/arm/
ih264_platform_macros.h 98 #define CLIP_U8(x) CLIP3(0, 255, (x))
99 #define CLIP_S8(x) CLIP3(-128, 127, (x))
101 #define CLIP_U10(x) CLIP3(0, 1023, (x))
102 #define CLIP_S10(x) CLIP3(-512, 511, (x))
104 #define CLIP_U12(x) CLIP3(0, 4095, (x))
105 #define CLIP_S12(x) CLIP3(-2048, 2047, (x))
107 #define CLIP_U16(x) CLIP3(0, 65535, (x))
108 #define CLIP_S16(x) CLIP3(-32768, 32767, (x))
  /external/libavc/common/armv8/
ih264_platform_macros.h 98 #define CLIP_U8(x) CLIP3(0, 255, (x))
99 #define CLIP_S8(x) CLIP3(-128, 127, (x))
101 #define CLIP_U10(x) CLIP3(0, 1023, (x))
102 #define CLIP_S10(x) CLIP3(-512, 511, (x))
104 #define CLIP_U12(x) CLIP3(0, 4095, (x))
105 #define CLIP_S12(x) CLIP3(-2048, 2047, (x))
107 #define CLIP_U16(x) CLIP3(0, 65535, (x))
108 #define CLIP_S16(x) CLIP3(-32768, 32767, (x))
  /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...]
  /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)
  /external/libavc/encoder/
ime_macros.h 41 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > maxy)?(maxy):(y)))
ih264e_me.c 269 mvx = CLIP3(i4_srch_range_w, i4_srch_range_e, mvx);
270 mvy = CLIP3(i4_srch_range_n, i4_srch_range_s, mvy);
284 mvx = CLIP3(i4_srch_range_w, i4_srch_range_e, mvx);
285 mvy = CLIP3(i4_srch_range_n, i4_srch_range_s, mvy);
298 mvx = CLIP3(i4_srch_range_w, i4_srch_range_e, mvx);
299 mvy = CLIP3(i4_srch_range_n, i4_srch_range_s, mvy);
312 mvx = CLIP3(i4_srch_range_w, i4_srch_range_e, mvx);
313 mvy = CLIP3(i4_srch_range_n, i4_srch_range_s, mvy);
340 mvx = CLIP3(i4_srch_range_w, i4_srch_range_e, mvx);
341 mvy = CLIP3(i4_srch_range_n, i4_srch_range_s, mvy)
    [all...]
  /external/libhevc/common/
ihevc_deblk_edge_filter.c 121 beta_indx = CLIP3(qp_luma + (beta_offset_div2 << 1), 0, 51);
128 tc_indx = CLIP3(qp_luma + (2 * (bs >> 1)) + (tc_offset_div2 << 1), 0, 53);
202 tmp_q0 = CLIP3((pu1_src[2] + 2 * pu1_src[1] +
208 tmp_q1 = CLIP3((pu1_src[2] + pu1_src[1] + pu1_src[0] +
213 tmp_q2 = CLIP3((2 * pu1_src[3] + 3 * pu1_src[2] +
219 tmp_p0 = CLIP3((pu1_src[1] + 2 * pu1_src[0] +
225 tmp_p1 = CLIP3((pu1_src[0] + pu1_src[-1] +
230 tmp_p2 = CLIP3((pu1_src[0] + pu1_src[-1] +
242 delta = CLIP3(delta, -tc, tc);
249 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)))
  /external/libmpeg2/common/
icv_macros.h 56 #define CLIP3(min, max, x) (((x) > (max)) ? (max) :(((x) < (min))? (min):(x)))
  /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);
457 ps_slice_hdr->i1_num_long_term_sps = CLIP3(ps_slice_hdr->i1_num_long_term_sps,
462 ps_slice_hdr->i1_num_long_term_pics = CLIP3(ps_slice_hdr->i1_num_long_term_pics,
584 ps_slice_hdr->i1_num_ref_idx_l0_active = CLIP3(ps_slice_hdr->i1_num_ref_idx_l0_active, 0, MAX_DPB_SIZE - 1);
585 ps_slice_hdr->i1_num_ref_idx_l1_active = CLIP3(ps_slice_hdr->i1_num_ref_idx_l1_active, 0, MAX_DPB_SIZE - 1);
631 ps_slice_hdr->i1_collocated_ref_idx = CLIP3(ps_slice_hdr->i1_collocated_ref_idx, 0, MAX_DPB_SIZE - 1);
642 ps_slice_hdr->i1_max_num_merge_cand = CLIP3(ps_slice_hdr->i1_max_num_merge_cand, 1, 5);
838 ps_slice_hdr->i4_num_entry_point_offsets = CLIP3(ps_slice_hdr->i4_num_entry_point_offsets
    [all...]
  /external/libavc/common/
ih264_macros.h 75 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > (maxy))?(maxy):(y)))
ih264_deblk_edge_filters.c 593 delta = CLIP3(-tc, tc, val);
607 pu1_src_temp[pos_p1] += CLIP3(-tc0, tc0, val);
614 pu1_src_temp[pos_q1] += CLIP3(-tc0, tc0, val);
    [all...]
  /external/libavc/decoder/
ih264d_inter_pred.c 270 i2_frm_x = CLIP3(MAX_OFFSET_OUTSIDE_X_FRM, (ps_dec->u2_pic_wd - 1),
272 i2_frm_y = CLIP3(((1 - u1_dma_ht)), (u2_pic_ht - (1)), i2_frm_y);
363 i2_frm_x = CLIP3(MAX_OFFSET_OUTSIDE_UV_FRM,
365 i2_frm_y = CLIP3(((1 - u1_dma_ht)), (u2_pic_ht - (1)), i2_frm_y);
624 i2_frm_x = CLIP3(MAX_OFFSET_OUTSIDE_X_FRM, (ps_dec->u2_pic_wd - 1),
626 i2_frm_y = CLIP3(((1 - u1_dma_ht) << u1_mb_fld),
770 i2_frm_x = CLIP3(MAX_OFFSET_OUTSIDE_UV_FRM,
772 i2_frm_y = CLIP3(((1 - u1_dma_ht) << u1_mb_fld),
    [all...]
ih264d_parse_bslice.c     [all...]

Completed in 774 milliseconds

1 2