Note: We no longer publish the latest version of our code here. We primarily use a kumc-bmi github organization. The heron ETL repository, in particular, is not public. Peers in the informatics community should see MultiSiteDev for details on requesting access.

source: webrtc/webrtc/common_audio/signal_processing/resample_by_2_internal.h @ 0:4bda6873e34c

pub_scrub_3792 tip
Last change on this file since 0:4bda6873e34c was 0:4bda6873e34c, checked in by Michael Prittie <mprittie@…>, 6 years ago

Scrubbed password for publication.

File size: 1.7 KB
Line 
1/*
2 *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 *
4 *  Use of this source code is governed by a BSD-style license
5 *  that can be found in the LICENSE file in the root of the source
6 *  tree. An additional intellectual property rights grant can be found
7 *  in the file PATENTS.  All contributing project authors may
8 *  be found in the AUTHORS file in the root of the source tree.
9 */
10
11
12/*
13 * This header file contains some internal resampling functions.
14 *
15 */
16
17#ifndef WEBRTC_SPL_RESAMPLE_BY_2_INTERNAL_H_
18#define WEBRTC_SPL_RESAMPLE_BY_2_INTERNAL_H_
19
20#include "webrtc/typedefs.h"
21
22/*******************************************************************
23 * resample_by_2_fast.c
24 * Functions for internal use in the other resample functions
25 ******************************************************************/
26void WebRtcSpl_DownBy2IntToShort(int32_t *in, int32_t len, int16_t *out,
27                                 int32_t *state);
28
29void WebRtcSpl_DownBy2ShortToInt(const int16_t *in, int32_t len,
30                                 int32_t *out, int32_t *state);
31
32void WebRtcSpl_UpBy2ShortToInt(const int16_t *in, int32_t len,
33                               int32_t *out, int32_t *state);
34
35void WebRtcSpl_UpBy2IntToInt(const int32_t *in, int32_t len, int32_t *out,
36                             int32_t *state);
37
38void WebRtcSpl_UpBy2IntToShort(const int32_t *in, int32_t len,
39                               int16_t *out, int32_t *state);
40
41void WebRtcSpl_LPBy2ShortToInt(const int16_t* in, int32_t len,
42                               int32_t* out, int32_t* state);
43
44void WebRtcSpl_LPBy2IntToInt(const int32_t* in, int32_t len, int32_t* out,
45                             int32_t* state);
46
47#endif // WEBRTC_SPL_RESAMPLE_BY_2_INTERNAL_H_
Note: See TracBrowser for help on using the repository browser.