section_overlay.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * Copyright (c) 2017 Actions Semiconductor Co., Ltd
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. /**
  7. * @file
  8. * @brief Sections overlay public API header file.
  9. */
  10. #ifndef __INCLUDE_SECTION_OVERLAY_H__
  11. #define __INCLUDE_SECTION_OVERLAY_H__
  12. #define OVERLAY_TABLE_MAGIC 0x4c564f53
  13. /* audio decoder format check */
  14. #define OVERLAY_ID_LIBFMTCHK 0x63746d66 /* "fmt c" */
  15. /* audio decoder */
  16. #define OVERLAY_ID_LIBADACT 0x64656774 /* "act d" */
  17. #define OVERLAY_ID_LIBADAAC 0x64636161 /* "aac d" */
  18. #define OVERLAY_ID_LIBADAMR 0x64726d61 /* "amr d" */
  19. #define OVERLAY_ID_LIBADAPE 0x64657061 /* "ape d" */
  20. #define OVERLAY_ID_LIBADCVS 0x64737663 /* "cvs d" */
  21. #define OVERLAY_ID_LIBADFLA 0x64616c66 /* "fla d" */
  22. #define OVERLAY_ID_LIBADMP3 0x6433706d /* "mp3 d" */
  23. #define OVERLAY_ID_LIBADSBC 0x64434253 /* "sbc d" */
  24. #define OVERLAY_ID_LIBADWAV 0x64766177 /* "wav d" */
  25. #define OVERLAY_ID_LIBADWMA 0x64616d77 /* "wma d" */
  26. /* audio encoder */
  27. #define OVERLAY_ID_LIBAEAMR 0x65726d61 /* "arm e" */
  28. #define OVERLAY_ID_LIBAECVS 0x65737663 /* "cvs e" */
  29. #define OVERLAY_ID_LIBAEMP3 0x6533706d /* "mp3 e" */
  30. #define OVERLAY_ID_LIBAEOPU 0x65505553 /* "opu e" */
  31. #define OVERLAY_ID_LIBAEWAV 0x65766177 /* "wav e" */
  32. /* audio parser */
  33. #define OVERLAY_ID_LIBAPAPE 0x70657061 /* "ape p" */
  34. #define OVERLAY_ID_LIBAPFLA 0x64616c66 /* "fla p" */
  35. #define OVERLAY_ID_LIBAPMP3 0x7033706d /* "mp3 p" */
  36. #define OVERLAY_ID_LIBAPWAV 0x70766177 /* "wav p" */
  37. #define OVERLAY_ID_LIBAPWMA 0x70616d77 /* "wma p" */
  38. #define OVERLAY_ID_LIBAPAAC 0x64636177 /* "aac p" */
  39. /* (hfp speech) plc */
  40. #define OVERLAY_ID_LIBHSPLC 0x70636c70 /* "plc p" */
  41. /* dae */
  42. #define OVERLAY_ID_LIBAPDAE 0x70656164 /* "dae p" */
  43. #define OVERLAY_ID_LIBAPFAD 0x70646166 /* "fad p" */
  44. #define OVERLAY_ID_LIBBTDRV 0x62746472 /* "btdr" */
  45. #define OVERLAY_ID_USB_MASS 0x55764361 /* "usbm" */
  46. #if !defined(_LINKER) && !defined(_ASMLANGUAGE)
  47. int overlay_section_init(unsigned int idcode);
  48. void overlay_section_dump(void);
  49. #endif
  50. #endif /* __INCLUDE_SECTION_OVERLAY_H__ */