Home
last modified time | relevance | path

Searched refs:int32 (Results 1 – 25 of 164) sorted by relevance

1234567

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Ddct_inline.h27 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724()
29 int32 out; in mla724()
38 __inline int32 mla392(int32 k0, int32 k14, int32 round) in mla392()
40 int32 k1; in mla392()
49 __inline int32 mla554(int32 k4, int32 k12, int32 k1) in mla554()
51 int32 k0; in mla554()
60 __inline int32 mla1338(int32 k6, int32 k14, int32 k1) in mla1338()
62 int32 out; in mla1338()
71 __inline int32 mla946(int32 k6, int32 k14, int32 k1) in mla946()
73 int32 out; in mla946()
[all …]
Dfastquant_inline.h30 __inline int32 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) in aan_scale()
41 __inline int32 coeff_quant(int32 coeff, int32 q_scale, int32 shift) in coeff_quant()
43 int32 q_value; in coeff_quant()
52 __inline int32 coeff_clip(int32 q_value, int32 ac_clip) in coeff_clip()
54 int32 coeff = q_value + ac_clip; in coeff_clip()
62 __inline int32 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) in coeff_dequant()
64 int32 coeff; in coeff_dequant()
83 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round) in smlabb()
90 __inline int32 smulbb(int32 q_scale, int32 coeff) in smulbb()
92 int32 q_value; in smulbb()
[all …]
Dsad_halfpel_inline.h34 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in INTERP1_SUB_SAD()
43 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in INTERP2_SUB_SAD()
54 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
66 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
81 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
83 register int32 out;
84 register int32 temp1;
85 register int32 ss = sad;
86 register int32 tt = tmp;
87 register int32 uu = tmp2;
[all …]
Dsad_inline.h33 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in SUB_SAD()
42 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) in sad_4pixel()
44 int32 x7; in sad_4pixel()
82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) in simd_sad_mb()
84 int32 x4, x5, x6, x8, x9, x10, x11, x12, x14; in simd_sad_mb()
177 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
189 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask)
191 int32 x7;
208 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask)
210 int32 x7;
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpv_mp3dec_fxd_op_arm_gcc.h54 #define Qfmt_31(a) (int32)(a*0x7FFFFFFF + (a>=0?0.5F:-0.5F))
56 #define Qfmt15(x) (Int16)(x*((int32)1<<15) + (x>=0?0.5F:-0.5F))
58 static inline int32 fxp_mul32_Q30(const int32 a, const int32 b) in fxp_mul32_Q30()
60 int32 result64_hi; in fxp_mul32_Q30()
61 int32 result64_lo; in fxp_mul32_Q30()
62 register int32 ra = (int32)a; in fxp_mul32_Q30()
63 register int32 rb = (int32)b; in fxp_mul32_Q30()
75 static inline int32 fxp_mac32_Q30(const int32 a, const int32 b, int32 L_add) in fxp_mac32_Q30()
77 int32 result64_hi; in fxp_mac32_Q30()
78 int32 result64_lo; in fxp_mac32_Q30()
[all …]
Dpv_mp3dec_fxd_op_msc_evc.h57 __inline int32 fxp_mul32_Q30(const int32 a, const int32 b) in fxp_mul32_Q30()
59 return (int32)(((int64)(a) * b) >> 30); in fxp_mul32_Q30()
63 __inline int32 fxp_mac32_Q30(const int32 a, const int32 b, int32 L_add) in fxp_mac32_Q30()
65 return (L_add + (int32)(((int64)(a) * b) >> 30)); in fxp_mac32_Q30()
69 #define Qfmt_31(a) (int32)(a*0x7FFFFFFF + (a>=0?0.5F:-0.5F))
71 #define Qfmt15(x) (Int16)(x*((int32)1<<15) + (x>=0?0.5F:-0.5F))
77 __inline int32 fxp_mul32_Q28(const int32 a, const int32 b) in fxp_mul32_Q28()
79 return (int32)(((int64)(a) * b) >> 28); in fxp_mul32_Q28()
83 __inline int32 fxp_mul32_Q27(const int32 a, const int32 b) in fxp_mul32_Q27()
85 return (int32)(((int64)(a) * b) >> 27); in fxp_mul32_Q27()
[all …]
Dpvmp3_dec_defs.h93 #define SYNC_WORD (int32)0x7ff
121 int32 version_x;
122 int32 layer_description;
123 int32 error_protection;
124 int32 bitrate_index;
125 int32 sampling_frequency;
126 int32 padding;
127 int32 extension;
128 int32 mode;
129 int32 mode_ext;
[all …]
Dpvmp3_dct_16.cpp112 #define Qfmt(a) (int32)(a*((int32)1<<27))
123 const int32 CosTable_dct32[16] =
152 void pvmp3_dct_16(int32 vec[], int32 flag) in pvmp3_dct_16()
154 int32 tmp0; in pvmp3_dct_16()
155 int32 tmp1; in pvmp3_dct_16()
156 int32 tmp2; in pvmp3_dct_16()
157 int32 tmp3; in pvmp3_dct_16()
158 int32 tmp4; in pvmp3_dct_16()
159 int32 tmp5; in pvmp3_dct_16()
160 int32 tmp6; in pvmp3_dct_16()
[all …]
Dpvmp3_alias_reduction.cpp112 #define Q31_fmt(a) (int32(double(0x7FFFFFFF)*a))
123 const int32 c_signal [ NUM_BUTTERFLIES ] =
134 const int32 c_alias [ NUM_BUTTERFLIES ] =
157 void pvmp3_alias_reduction(int32 *input_buffer, /* Ptr to spec values of current channel */ in pvmp3_alias_reduction()
159 int32 *used_freq_lines, in pvmp3_alias_reduction()
162 int32 *ptr1; in pvmp3_alias_reduction()
163 int32 *ptr2; in pvmp3_alias_reduction()
164 int32 *ptr3; in pvmp3_alias_reduction()
165 int32 *ptr4; in pvmp3_alias_reduction()
166 const int32 *ptr_csi; in pvmp3_alias_reduction()
[all …]
Dpvmp3_stereo_proc.cpp143 #define Q31_fmt(a) (int32(double(0x7FFFFFFF)*a))
161 const int32 is_ratio_factor[8] = {0,
181 void pvmp3_st_mid_side(int32 xr[SUBBANDS_NUMBER*FILTERBANK_BANDS], in pvmp3_st_mid_side()
182 int32 xl[SUBBANDS_NUMBER*FILTERBANK_BANDS], in pvmp3_st_mid_side()
183 int32 Start, in pvmp3_st_mid_side()
184 int32 Number) in pvmp3_st_mid_side()
187 int32 *pt_xr = &xr[Start]; in pvmp3_st_mid_side()
188 int32 *pt_xl = &xl[Start]; in pvmp3_st_mid_side()
190 for (int32 i = Number >> 1; i != 0; i--) in pvmp3_st_mid_side()
192 int32 xxr = *(pt_xr) << 1; in pvmp3_st_mid_side()
[all …]
Dpvmp3_stereo_proc.h89 void pvmp3_stereo_proc(int32 xr[SUBBANDS_NUMBER*FILTERBANK_BANDS],
90 int32 xl[SUBBANDS_NUMBER*FILTERBANK_BANDS],
93 int32 used_freq_lines,
96 void pvmp3_st_intensity(int32 xr[SUBBANDS_NUMBER*FILTERBANK_BANDS],
97 int32 xl[SUBBANDS_NUMBER*FILTERBANK_BANDS],
98 int32 is_pos,
99 int32 Start,
100 int32 Number);
102 void pvmp3_st_mid_side(int32 xr[SUBBANDS_NUMBER*FILTERBANK_BANDS],
103 int32 xl[SUBBANDS_NUMBER*FILTERBANK_BANDS],
[all …]
Dpvmp3_reorder.cpp119 void pvmp3_reorder(int32 xr[SUBBANDS_NUMBER*FILTERBANK_BANDS], in pvmp3_reorder()
121 int32 *used_freq_lines, in pvmp3_reorder()
123 int32 Scratch_mem[198]) in pvmp3_reorder()
125 int32 sfreq = info->version_x + (info->version_x << 1); in pvmp3_reorder()
130 int32 sfb_lines; in pvmp3_reorder()
131 int32 freq; in pvmp3_reorder()
132 int32 src_line; in pvmp3_reorder()
133 int32 sfb; in pvmp3_reorder()
155 int32 tmp1 = xr[src_line]; in pvmp3_reorder()
156 int32 tmp2 = xr[src_line+(sfb_lines)]; in pvmp3_reorder()
[all …]
Dpvmp3_imdct_synth.cpp136 const int32 normal_win[36] =
153 const int32 start_win[36] =
174 const int32 stop_win[36] =
194 const int32 short_win[12] =
216 void pvmp3_imdct_synth(int32 in[SUBBANDS_NUMBER*FILTERBANK_BANDS], in pvmp3_imdct_synth()
217 int32 overlap[SUBBANDS_NUMBER*FILTERBANK_BANDS], in pvmp3_imdct_synth()
220 int32 used_freq_lines, in pvmp3_imdct_synth()
221 int32 *Scratch_mem) in pvmp3_imdct_synth()
224 int32 band; in pvmp3_imdct_synth()
225 int32 bands2process = used_freq_lines + 2; in pvmp3_imdct_synth()
[all …]
Dpvmp3_dequantize_sample.cpp111 #define Q30_fmt(a)(int32(double(0x40000000)*a))
112 #define Q29_fmt(a)(int32(double(0x20000000)*a))
123 const int32 pretab[22] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 3, 3, 3, 2, 0};
125 const int32 pow_2_1_fourth[4] =
131 const int32 two_cubic_roots[7] =
154 int32 power_1_third(int32 xx) in power_1_third()
169 int32 x = xx; in power_1_third()
170 int32 m = 22 - pvmp3_normalize(xx); in power_1_third()
187 void pvmp3_dequantize_sample(int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], in pvmp3_dequantize_sample()
190 int32 used_freq_lines, in pvmp3_dequantize_sample()
[all …]
Dpvmp3_mdct_6.cpp84 #define Qfmt29(a) (int32)(a*((int32)1<<QFORMAT) + (a>=0?0.5F:-0.5F))
99 const int32 cosTerms_1_ov_cos_phi_N6[6] =
122 void pvmp3_mdct_6(int32 vec[], int32 *history) in pvmp3_mdct_6()
124 int32 i; in pvmp3_mdct_6()
125 int32 tmp; in pvmp3_mdct_6()
126 int32 tmp1; in pvmp3_mdct_6()
127 int32 tmp2; in pvmp3_mdct_6()
129 int32 *pt_vec = vec; in pvmp3_mdct_6()
130 int32 *pt_vec_o = vec; in pvmp3_mdct_6()
131 const int32 *pt_cos = cosTerms_1_ov_cos_phi_N6; in pvmp3_mdct_6()
Dpvmp3_get_scale_factors.cpp89 #define Qfmt_28(a)(int32(double(0x10000000)*a))
100 const int32 slen[2][16] =
108 int32 l[5];
109 int32 s[3];
116 const int32 long_sfbtable[4] = { 6, 5, 5, 5};
134 int32 gr, in pvmp3_get_scale_factors()
135 int32 ch, in pvmp3_get_scale_factors()
138 int32 sfb; in pvmp3_get_scale_factors()
139 int32 i; in pvmp3_get_scale_factors()
140 int32 window; in pvmp3_get_scale_factors()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpvamrwbdecoder_basic_op_gcc_armv5.h61 register int32 L_var_out; in sub_int16()
62 register int32 L_var_aux; in sub_int16()
63 register int32 ra = (int32)var1; in sub_int16()
64 register int32 rb = (int32)var2; in sub_int16()
82 register int32 L_var_out; in add_int16()
83 register int32 L_var_aux; in add_int16()
84 register int32 ra = (int32)var1; in add_int16()
85 register int32 rb = (int32)var2; in add_int16()
101 static inline int32 mul_32by16(int16 hi, int16 lo, int16 n) in mul_32by16()
103 register int32 H_32; in mul_32by16()
[all …]
Dpvamrwbdecoder_basic_op_cequivalent.h90 int32 L_sum; in add_int16()
92 L_sum = (int32) var1 + var2; in add_int16()
129 int32 L_diff; in sub_int16()
131 L_diff = (int32) var1 - var2; in sub_int16()
167 int32 L_product; in mult_int16()
169 L_product = ((int32) var1 * (int32) var2) >> 15; in mult_int16()
205 __inline int32 add_int32(int32 L_var1, int32 L_var2) in add_int32()
207 int32 L_var_out; in add_int32()
249 __inline int32 sub_int32(int32 L_var1, int32 L_var2) in sub_int32()
251 int32 L_var_out; in sub_int32()
[all …]
Dpvamrwbdecoder_basic_op_armv5.h64 int32 L_var_out; in add_int16()
65 int32 L_var_aux; in add_int16()
81 int32 L_var_out; in sub_int16()
82 int32 L_var_aux; in sub_int16()
96 __inline int32 add_int32(int32 L_var1, int32 L_var2) in add_int32()
98 int32 L_var_out; in add_int32()
108 __inline int32 mac_16by16_to_int32(int32 L_var3, int16 var1, int16 var2) in mac_16by16_to_int32()
110 int32 L_var_out; in mac_16by16_to_int32()
121 __inline int32 sub_int32(int32 L_var1, int32 L_var2) in sub_int32()
123 int32 L_var_out; in sub_int32()
[all …]
Dpvamrwb_math_op.cpp96 int32 L_product_arr; in mult_int16_r()
98 L_product_arr = (int32) var1 * (int32) var2; /* product */ in mult_int16_r()
99 L_product_arr += (int32) 0x00004000L; /* round */ in mult_int16_r()
209 int32 L_num; in div_16by16()
210 int32 L_denom; in div_16by16()
211 int32 L_denom_by_2; in div_16by16()
212 int32 L_denom_by_4; in div_16by16()
223 L_num = (int32) var1; in div_16by16()
224 L_denom = (int32) var2; in div_16by16()
277 int32 one_ov_sqrt( /* (o) Q31 : output value (range: 0<=val<1) */ in one_ov_sqrt()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
Dm4vh263_decoder_pv_types.h31 typedef int32_t int32; typedef
44 const int32 OSCL_REQUEST_ERR_NONE = 0;
45 const int32 OSCL_REQUEST_PENDING = (-0x7fffffff);
46 const int32 OSCL_REQUEST_ERR_CANCEL = (-1);
47 const int32 OSCL_REQUEST_ERR_GENERAL = (-2);
54 OsclAOStatus(int32 aStatus);
55 int32 operator=(int32 aStatus);
56 int32 operator==(int32 aStatus) const;
57 int32 operator!=(int32 aStatus) const;
58 int32 operator>=(int32 aStatus) const;
[all …]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dsad_halfpel_inline.h29 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in INTERP1_SUB_SAD()
38 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in INTERP2_SUB_SAD()
49 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
61 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
75 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
82 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
Dsad_inline.h28 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in SUB_SAD()
37 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) in sad_4pixel()
39 int32 x7; in sad_4pixel()
77 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) in simd_sad_mb()
79 int32 x4, x5, x6, x8, x9, x10, x11, x12, x14; in simd_sad_mb()
172 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
184 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask)
186 int32 x7;
203 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask)
205 int32 x7;
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dmb_utils.cpp27 int32 *temp0, *temp1; in PutSKIPPED_MB()
34 temp0 = (int32 *)prev; in PutSKIPPED_MB()
35 temp1 = (int32 *)comp; in PutSKIPPED_MB()
45 temp0 = (int32 *)prev; in PutSKIPPED_MB()
46 temp1 = (int32 *)comp; in PutSKIPPED_MB()
56 temp0 = (int32 *)prev; in PutSKIPPED_MB()
57 temp1 = (int32 *)comp; in PutSKIPPED_MB()
67 temp0 = (int32 *)prev; in PutSKIPPED_MB()
68 temp1 = (int32 *)comp; in PutSKIPPED_MB()
88 int32 *temp0, *temp1; in PutSKIPPED_B()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
Dcvei.h147 int32 iNumLayer;
168 int32 iFrameQuality;
177 int32 iIFrameInterval;
220 int32 iSearchRange;
247 int32 iClipDuration;
268 int32 iFrameWidth;
271 int32 iFrameHeight;
301 int32 iLayerNumber;
307 int32 iBitStreamSize;
360 virtual int32 GetBufferSize() = 0;
[all …]

1234567