interf_dec.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // Created by Tencent on 2023/06/09.
  2. // Copyright © 2023 Tencent. All rights reserved.
  3. /* ------------------------------------------------------------------
  4. * Copyright (C) 2009 Martin Storsjo
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License");
  7. * you may not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  15. * express or implied.
  16. * See the License for the specific language governing permissions
  17. * and limitations under the License.
  18. * -------------------------------------------------------------------
  19. */
  20. #ifndef OPENCORE_AMRNB_INTERF_DEC_H
  21. #define OPENCORE_AMRNB_INTERF_DEC_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. void* Decoder_Interface_init(void);
  26. void Decoder_Interface_exit(void* state);
  27. void Decoder_Interface_Decode(void* state, const unsigned char* in, short* out, int bfi);
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif