Home
last modified time | relevance | path

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

1234567891011

/frameworks/av/media/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_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_dct_16.cpp112 #define Qfmt(a) (int32)((a)*((int32)1<<27))
123 const int32 CosTable_dct32[16] =
153 void pvmp3_dct_16(int32 vec[], int32 flag) in pvmp3_dct_16()
155 int32 tmp0; in pvmp3_dct_16()
156 int32 tmp1; in pvmp3_dct_16()
157 int32 tmp2; in pvmp3_dct_16()
158 int32 tmp3; in pvmp3_dct_16()
159 int32 tmp4; in pvmp3_dct_16()
160 int32 tmp5; in pvmp3_dct_16()
161 int32 tmp6; in pvmp3_dct_16()
[all …]
Dpvmp3_stereo_proc.cpp143 #define Q31_fmt(a) (int32(double(0x7FFFFFFF)*(a)))
161 const int32 is_ratio_factor[8] = {0,
185 void pvmp3_st_mid_side(int32 xr[SUBBANDS_NUMBER*FILTERBANK_BANDS], in pvmp3_st_mid_side()
186 int32 xl[SUBBANDS_NUMBER*FILTERBANK_BANDS], in pvmp3_st_mid_side()
187 int32 Start, in pvmp3_st_mid_side()
188 int32 Number) in pvmp3_st_mid_side()
191 int32 *pt_xr = &xr[Start]; in pvmp3_st_mid_side()
192 int32 *pt_xl = &xl[Start]; in pvmp3_st_mid_side()
194 for (int32 i = Number >> 1; i != 0; i--) in pvmp3_st_mid_side()
196 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 …]
/frameworks/av/media/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/codecs/amrwb/dec/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()
251 __inline int32 sub_int32(int32 L_var1, int32 L_var2) in sub_int32()
294 __inline int32 mul_16by16_to_int32(int16 var1, int16 var2) in mul_16by16_to_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/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 explicit 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/proto_logging/stats/message/
Dmediametrics_message.proto29 optional int32 status = 1;
32 optional int32 request_session = 4;
36 optional int32 active_session = 8;
50 optional int32 latency = 3;
51 optional int32 samplerate = 4;
52 optional int32 channels = 5;
55 optional int32 count = 8;
56 optional int32 error_code = 9;
58 optional int32 port_id = 11;
59 optional int32 frame_count = 12;
[all …]
/frameworks/opt/telephony/proto/src/
Dpersist_atoms.proto56 optional int32 carrier_id_table_version = 10;
106 optional int32 bearer_at_start = 1;
107 optional int32 bearer_at_end = 2;
108 optional int32 direction = 3;
109 optional int32 setup_duration = 4;
111 optional int32 disconnect_reason_code = 6;
112 optional int32 disconnect_extra_code = 7;
114 optional int32 rat_at_start = 9;
115 optional int32 rat_at_end = 10;
118 optional int32 concurrent_call_count_at_start = 13;
[all …]
/frameworks/av/media/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/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 …]
/frameworks/base/core/proto/android/service/
Dsensor_service.proto49 optional int32 socket_buffer_size = 7;
50 optional int32 socket_buffer_size_in_events = 8;
68 optional int32 total_sensors = 2;
69 optional int32 active_sensors = 3;
74 optional int32 handle = 1;
75 optional int32 active_count = 2;
99 optional int32 handle = 1;
102 optional int32 version = 4;
104 optional int32 type = 6;
106 optional int32 flags = 8;
[all …]
/frameworks/base/core/proto/android/view/inputmethod/
Dinputconnection.proto31 optional int32 selected_text_start = 3;
32 optional int32 selected_text_end = 4;
33 optional int32 cursor_caps_mode = 5;
51 optional int32 length = 1;
52 optional int32 flags = 2;
57 optional int32 length = 1;
58 optional int32 flags = 2;
63 optional int32 flags = 1;
68 optional int32 before_length = 1;
69 optional int32 after_length = 2;
[all …]
/frameworks/native/cmds/surfacereplayer/proto/src/
Dtrace.proto35 required int32 id = 1;
117 required int32 id = 1;
133 required int32 orientation = 1;
139 required int32 left = 1;
140 required int32 top = 2;
141 required int32 right = 3;
142 required int32 bottom = 4;
146 required int32 id = 1;
153 required int32 id = 1;
157 required int32 id = 1;
[all …]

1234567891011