the yocto should contain these codec, if you need AACP, you can download from the link as below, pls focus on the "
Codecs and other Algorithms (2)":
i.MX 8M Evaluation Kit|NXP
for more detailed information about codec in the bsp, pls refer to the i.MX Linux® Release Notes