dsp_image_builtin.h 683 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 1997-2015, Wind River Systems, Inc.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #ifndef __DSP_BUILTIN_IMAGES_H__
  7. #define __DSP_BUILTIN_IMAGES_H__
  8. #include <stddef.h>
  9. #define DSP_IMAGE_BEGIN(name) __##name##_dsp_begin
  10. #define DSP_IMAGE_END(name) __##name##_dsp_end
  11. #define DSP_IMAGE_SIZE(name) ((size_t)(__##name##_dsp_end - __##name##_dsp_begin))
  12. #define DECLARE_DSP_IMAGE(name) \
  13. extern const char __##name##_dsp_begin[]; \
  14. extern const char __##name##_dsp_end[];
  15. DECLARE_DSP_IMAGE(admp3)
  16. DECLARE_DSP_IMAGE(adAAC)
  17. DECLARE_DSP_IMAGE(adSBC)
  18. DECLARE_DSP_IMAGE(audiopp)
  19. DECLARE_DSP_IMAGE(hfp)
  20. DECLARE_DSP_IMAGE(sv_al)
  21. #endif /* __DSP_BUILTIN_IMAGES_H__ */