Searched refs:int16_t (Results 276 - 300 of 1591) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/webrtc/modules/utility/interface/
H A Daudio_frame_operations.h29 static void MonoToStereo(const int16_t* src_audio, int samples_per_channel,
30 int16_t* dst_audio);
38 static void StereoToMono(const int16_t* src_audio, int samples_per_channel,
39 int16_t* dst_audio);
/external/libexif/contrib/watcom/
H A D_stdint.h9 typedef signed short int16_t; typedef
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_tokenize.h28 int16_t token;
29 int16_t extra;
34 int16_t extra;
50 extern const int16_t *vp9_dct_value_cost_ptr;
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/include/
H A Dspl_inl_mips.h41 static __inline int32_t WEBRTC_SPL_MUL_16_32_RSFT16(int16_t a,
70 static __inline int16_t WebRtcSpl_SatW32ToW16(int32_t value32) {
77 int16_t out16 = (int16_t)value32;
81 static __inline int16_t WebRtcSpl_AddSatW16(int16_t a, int16_t b) {
89 return (int16_t)value32;
104 static __inline int16_t WebRtcSpl_SubSatW16(int16_t var
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dsmooth.c28 int16_t *odata, /* (o) smoothed output */
29 int16_t *current, /* (i) the un enhanced residual for
31 int16_t *surround /* (i) The approximation from the
34 int16_t maxtot, scale, scale1, scale2;
35 int16_t A, B, C, denomW16;
40 int16_t w11prim;
41 int16_t bitsw00, bitsw10, bitsw11;
43 int16_t max1, max2;
54 scale = (int16_t)WEBRTC_SPL_MUL_16_16(2,scale)-26;
80 w11prim = (int16_t) WEBRTC_SPL_SHIFT_W3
[all...]
H A Dpoly_to_lsp.c29 int16_t *a, /* (o) A coefficients in Q12 */
30 int16_t *lsp, /* (i) LSP coefficients in Q15 */
31 int16_t *old_lsp /* (i) old LSP coefficients that are used if the new
34 int16_t f[2][6]; /* f[0][] represents f1 and f[1][] represents f2 */
35 int16_t *a_i_ptr, *a_10mi_ptr;
36 int16_t *f1ptr, *f2ptr;
38 int16_t x, y, xlow, ylow, xmid, ymid, xhigh, yhigh, xint;
39 int16_t shifts, sign;
59 (*(f1ptr+1)) = (int16_t)(WEBRTC_SPL_RSHIFT_W32(((int32_t)(*a_i_ptr)+(*a_10mi_ptr)), 2) - (*f1ptr));
60 (*(f2ptr+1)) = (int16_t)(WEBRTC_SPL_RSHIFT_W3
[all...]
H A Dgain_quant.c26 int16_t WebRtcIlbcfix_GainQuant( /* (o) quantized gain value */
27 int16_t gain, /* (i) gain value Q14 */
28 int16_t maxIn, /* (i) maximum of gain value Q14 */
29 int16_t stage, /* (i) The stage of the search */
30 int16_t *index /* (o) quantization index */
33 int16_t scale, returnVal, cblen;
35 const int16_t *cbPtr, *cb;
102 returnVal=(int16_t)((WEBRTC_SPL_MUL_16_16(scale, cb[loc])+8192)>>14);
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_decoder_impl.cc44 int16_t* decoded, SpeechType* speech_type) {
45 int16_t temp_type = 1; // Default is speech.
46 int16_t ret = WebRtcG711_DecodeU(
47 state_, reinterpret_cast<int16_t*>(const_cast<uint8_t*>(encoded)),
48 static_cast<int16_t>(encoded_len), decoded, &temp_type);
61 int16_t* decoded, SpeechType* speech_type) {
62 int16_t temp_type = 1; // Default is speech.
63 int16_t ret = WebRtcG711_DecodeA(
64 state_, reinterpret_cast<int16_t*>(const_cast<uint8_t*>(encoded)),
65 static_cast<int16_t>(encoded_le
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_scan.c15 DECLARE_ALIGNED(16, static const int16_t, default_scan_4x4[16]) = {
22 DECLARE_ALIGNED(16, static const int16_t, col_scan_4x4[16]) = {
29 DECLARE_ALIGNED(16, static const int16_t, row_scan_4x4[16]) = {
36 DECLARE_ALIGNED(16, static const int16_t, default_scan_8x8[64]) = {
47 DECLARE_ALIGNED(16, static const int16_t, col_scan_8x8[64]) = {
58 DECLARE_ALIGNED(16, static const int16_t, row_scan_8x8[64]) = {
69 DECLARE_ALIGNED(16, static const int16_t, default_scan_16x16[256]) = {
90 DECLARE_ALIGNED(16, static const int16_t, col_scan_16x16[256]) = {
111 DECLARE_ALIGNED(16, static const int16_t, row_scan_16x16[256]) = {
133 DECLARE_ALIGNED(16, static const int16_t, default_scan_32x3
[all...]
H A Dvp9_quant_common.c15 static const int16_t dc_qlookup[QINDEX_RANGE] = {
51 static const int16_t dc_qlookup_10[QINDEX_RANGE] = {
86 static const int16_t dc_qlookup_12[QINDEX_RANGE] = {
122 static const int16_t ac_qlookup[QINDEX_RANGE] = {
158 static const int16_t ac_qlookup_10[QINDEX_RANGE] = {
193 static const int16_t ac_qlookup_12[QINDEX_RANGE] = {
229 int16_t vp9_dc_quant(int qindex, int delta, vpx_bit_depth_t bit_depth) {
248 int16_t vp9_ac_quant(int qindex, int delta, vpx_bit_depth_t bit_depth) {
H A Dvp9_quant_common.h26 int16_t vp9_dc_quant(int qindex, int delta, vpx_bit_depth_t bit_depth);
27 int16_t vp9_ac_quant(int qindex, int delta, vpx_bit_depth_t bit_depth);
/external/chromium_org/third_party/webrtc/voice_engine/
H A Ddtmf_inband.cc20 const int16_t Dtmf_a_times2Tab8Khz[8]=
26 const int16_t Dtmf_a_times2Tab16Khz[8]=
32 const int16_t Dtmf_a_times2Tab32Khz[8]=
39 const int16_t Dtmf_ym2Tab8Khz[8]=
45 const int16_t Dtmf_ym2Tab16Khz[8]=
51 const int16_t Dtmf_ym2Tab32Khz[8]=
56 const int16_t Dtmf_dBm0kHz[37]=
149 _frameLengthSamples = static_cast<int16_t> (_outputFrequencyHz / 100);
150 _eventCode = static_cast<int16_t> (eventCode);
151 _attenuationDb = static_cast<int16_t> (attenuationD
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_scan.c15 DECLARE_ALIGNED(16, static const int16_t, default_scan_4x4[16]) = {
22 DECLARE_ALIGNED(16, static const int16_t, col_scan_4x4[16]) = {
29 DECLARE_ALIGNED(16, static const int16_t, row_scan_4x4[16]) = {
36 DECLARE_ALIGNED(16, static const int16_t, default_scan_8x8[64]) = {
47 DECLARE_ALIGNED(16, static const int16_t, col_scan_8x8[64]) = {
58 DECLARE_ALIGNED(16, static const int16_t, row_scan_8x8[64]) = {
69 DECLARE_ALIGNED(16, static const int16_t, default_scan_16x16[256]) = {
90 DECLARE_ALIGNED(16, static const int16_t, col_scan_16x16[256]) = {
111 DECLARE_ALIGNED(16, static const int16_t, row_scan_16x16[256]) = {
133 DECLARE_ALIGNED(16, static const int16_t, default_scan_32x3
[all...]
H A Dvp9_idct.h84 return (int16_t)rv;
87 typedef void (*transform_1d)(const int16_t*, int16_t*);
93 void vp9_iwht4x4_add(const int16_t *input, uint8_t *dest, int stride, int eob);
95 void vp9_idct4x4_add(const int16_t *input, uint8_t *dest, int stride, int eob);
96 void vp9_idct8x8_add(const int16_t *input, uint8_t *dest, int stride, int eob);
97 void vp9_idct16x16_add(const int16_t *input, uint8_t *dest, int stride, int
99 void vp9_idct32x32_add(const int16_t *input, uint8_t *dest, int stride,
102 void vp9_iht4x4_add(TX_TYPE tx_type, const int16_t *input, uint8_t *dest,
104 void vp9_iht8x8_add(TX_TYPE tx_type, const int16_t *inpu
[all...]
/external/chromium_org/third_party/webrtc/common_audio/vad/
H A Dvad_sp.c21 static const int16_t kAllPassCoefsQ13[2] = { 5243, 1392 }; // Q13.
22 static const int16_t kSmoothingDown = 6553; // 0.2 in Q15.
23 static const int16_t kSmoothingUp = 32439; // 0.99 in Q15.
27 void WebRtcVad_Downsampling(const int16_t* signal_in,
28 int16_t* signal_out,
31 int16_t tmp16_1 = 0, tmp16_2 = 0;
40 tmp16_1 = (int16_t) ((tmp32_1 >> 1) +
47 tmp16_2 = (int16_t) ((tmp32_2 >> 1) +
61 int16_t WebRtcVad_FindMinimum(VadInstT* self,
62 int16_t feature_valu
[all...]
H A Dvad_core.c20 static const int16_t kSpectrumWeight[kNumChannels] = { 6, 8, 10, 12, 14, 16 };
21 static const int16_t kNoiseUpdateConst = 655; // Q15
22 static const int16_t kSpeechUpdateConst = 6554; // Q15
23 static const int16_t kBackEta = 154; // Q8
25 static const int16_t kMinimumDifference[kNumChannels] = {
28 static const int16_t kMaximumSpeech[kNumChannels] = {
31 static const int16_t kMinimumMean[kNumGaussians] = { 640, 768 };
33 static const int16_t kMaximumNoise[kNumChannels] = {
37 static const int16_t kNoiseDataWeights[kTableSize] = {
40 static const int16_t kSpeechDataWeight
[all...]
H A Dvad_sp_unittest.cc27 int16_t zeros[kMaxFrameLenSp] = { 0 };
29 int16_t data_in[kMaxFrameLenSp];
30 int16_t data_out[kMaxFrameLenSp];
34 static const int16_t kReferenceMin[32] = {
43 for (int16_t i = 0; i < kMaxFrameLenSp; ++i) {
50 for (int16_t i = 0; i < kMaxFrameLenSp / 2; ++i) {
62 for (int16_t i = 0; i < 16; ++i) {
63 int16_t value = 500 * (i + 1);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dfilters.c18 const int16_t* __restrict x,
19 int16_t N,
20 int16_t order,
21 int16_t* __restrict scale) {
24 int16_t scaling = 0;
66 static void AllpassFilterForDec32(int16_t *InOut16, //Q0
68 int16_t lengthInOut,
80 (int16_t) WEBRTC_SPL_RSHIFT_W32(b, 16),
85 InOut16[n] = (int16_t) WEBRTC_SPL_RSHIFT_W32(b, 16); //Save as Q0
93 void WebRtcIsacfix_DecimateAllpass32(const int16_t *i
[all...]
H A Dpitch_filter_mips.c14 int16_t gain,
16 int16_t sign,
17 int16_t* inputState,
18 int16_t* outputBuf2,
19 const int16_t* coefficient,
20 int16_t* inputBuf,
21 int16_t* outputBuf,
25 int16_t* out2_pos2 = &outputBuf2[PITCH_BUFFSIZE - (index + 2)] + ind2t;
28 // Define damp factors as int32_t (pair of int16_t)
32 int16_t* input
[all...]
/external/chromium_org/third_party/webrtc/common_audio/include/
H A Daudio_util.h21 typedef std::numeric_limits<int16_t> limits_int16;
23 static inline int16_t RoundToInt16(float v) {
28 static_cast<int16_t>(v + 0.5f);
30 static_cast<int16_t>(v - 0.5f);
34 static inline int16_t ScaleAndRoundToInt16(float v) {
37 static_cast<int16_t>(v * limits_int16::max() + 0.5f);
39 static_cast<int16_t>(-v * limits_int16::min() - 0.5f);
43 static inline float ScaleToFloat(int16_t v) {
50 void RoundToInt16(const float* src, size_t size, int16_t* dest);
54 void ScaleAndRoundToInt16(const float* src, size_t size, int16_t* des
[all...]
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Dlevinson_durbin.c22 int16_t WebRtcSpl_LevinsonDurbin(int32_t *R, int16_t *A, int16_t *K,
23 int16_t order)
25 int16_t i, j;
27 int16_t R_hi[SPL_LEVINSON_MAXORDER + 1], R_low[SPL_LEVINSON_MAXORDER + 1];
29 int16_t A_hi[SPL_LEVINSON_MAXORDER + 1], A_low[SPL_LEVINSON_MAXORDER + 1];
31 int16_t A_upd_hi[SPL_LEVINSON_MAXORDER + 1], A_upd_low[SPL_LEVINSON_MAXORDER + 1];
33 int16_t K_hi, K_low;
35 int16_t Alpha_h
[all...]
H A Denergy.c20 int32_t WebRtcSpl_Energy(int16_t* vector, int vector_length, int* scale_factor)
26 int16_t *vectorptr = vector;
/external/chromium_org/mojo/examples/apptest/
H A Dexample_client_impl.h20 int16_t last_pong_value() const { return last_pong_value_; }
26 int16_t last_pong_value_;
/external/chromium_org/third_party/ots/src/
H A Dpost.h19 int16_t underline;
20 int16_t underline_thickness;
H A Dvorg.h16 int16_t vert_origin_y;
22 int16_t default_vert_origin_y;

Completed in 2957 milliseconds

<<11121314151617181920>>