config BR2_PACKAGE_COMMON_ALGORITHM
	bool "rockchip common algorithm"
	help
	  rockchip common algorithm library

if BR2_PACKAGE_COMMON_ALGORITHM

choice
	prompt "target platform(32bit/64bit)"
	default BR2_PACKAGE_COMMON_ALGORITHM_64 if BR2_ARCH_IS_64
	default BR2_PACKAGE_COMMON_ALGORITHM_32 if !BR2_ARCH_IS_64

config BR2_PACKAGE_COMMON_ALGORITHM_32
	bool "32bit"
	help
	  Use algorithm for 32bit system.

config BR2_PACKAGE_COMMON_ALGORITHM_64
	bool "64bit"
	help
	  Use algorithm for 64bit system.
endchoice

config BR2_PACKAGE_COMMON_ALGORITHM_AEC_ANR_AGC
	bool "RKAP-3A"
	default n
	help
	  Echo cancellation algorithm, applied to voice call scenarios

config BR2_PACKAGE_COMMON_ALGORITHM_ANR
	bool "RKAP-ANR"
	default n
	help
	  Automatic noise reduction algorithm, applied to recording scene

config BR2_PACKAGE_COMMON_ALGORITHM_RKAPPLUS
	bool "RKAP-PLUS"
	default y
	help
	  Audio 3A Algorithm Plus by Rockchip, applied talking scene

config BR2_PACKAGE_COMMON_ALGORITHM_RKAPPLUS_EFFECT_EQDRC
	bool "RKAP-PLUS-EFFECT-EQDRC"
	default n
	help
	  Audio Effect EQ/DRC Algorithm Plus by Rockchip, applied playback scene

config BR2_PACKAGE_COMMON_ALGORITHM_TWO_MIC_BEAMFORM
	bool "beamforming of two mic"
	default n
	help
	  Beamforming algorithm of two mic

config BR2_PACKAGE_COMMON_ALGORITHM_MOVE_DETECT
	bool "move detection"
	default n
	help
	  Move detection algorithm

config BR2_PACKAGE_COMMON_ALGORITHM_OCCLUSION_DETECT
	bool "occlusion detection"
	default n
	help
	  Occlusion detection algorithm

config BR2_PACKAGE_COMMON_ALGORITHM_ROCKAA
	bool "RockAA"
	default n
	help
	  Rockchip Audio Algorithm Utils
endif
