aac: add function to calculate profile_and_level

1 job for master in 9 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
failed #469755
amd64 docker
test

00:00:09

 
Name Stage Failure
failed
test Test There has been a runner system failure, please try again
ERROR: The registry.videolan.org/videolan-base-xenial is not present on list of allowed images
- registry.videolan.org:5000/*:*
- registry.videolan.org/*:*
- codechecker:bar

Please check runner's configuration: http://doc.gitlab.com/ci/docker/using_docker_images.html#overwrite-image-and-services
ERROR: Preparation failed: invalid image
Will be retried in 3s ...
ERROR: Job failed (system failure): invalid image