2011-07-07 08:21:25 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/******************************************************************
|
|
|
|
|
|
|
|
|
|
iLBC Speech Coder ANSI-C Source Code
|
|
|
|
|
|
|
|
|
|
WebRtcIlbcfix_StateSearch.h
|
|
|
|
|
|
|
|
|
|
******************************************************************/
|
|
|
|
|
|
2017-09-15 06:47:31 +02:00
|
|
|
#ifndef MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_STATE_SEARCH_H_
|
|
|
|
|
#define MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_STATE_SEARCH_H_
|
2011-07-07 08:21:25 +00:00
|
|
|
|
2020-12-18 22:25:57 -08:00
|
|
|
#include <stddef.h>
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
2018-02-01 15:11:41 +01:00
|
|
|
#include "modules/audio_coding/codecs/ilbc/defines.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------*
|
|
|
|
|
* encoding of start state
|
|
|
|
|
*---------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
void WebRtcIlbcfix_StateSearch(
|
2014-12-17 15:23:29 +00:00
|
|
|
IlbcEncoder* iLBCenc_inst,
|
2011-07-07 08:21:25 +00:00
|
|
|
/* (i) Encoder instance */
|
|
|
|
|
iLBC_bits* iLBC_encbits, /* (i/o) Encoded bits (output idxForMax
|
|
|
|
|
and idxVec, input state_first) */
|
2013-04-09 00:28:06 +00:00
|
|
|
int16_t* residual, /* (i) target residual vector */
|
|
|
|
|
int16_t* syntDenum, /* (i) lpc synthesis filter */
|
|
|
|
|
int16_t* weightDenum /* (i) weighting filter denuminator */
|
2011-07-07 08:21:25 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
#endif
|