Add a simple API usage example to the doxy

Based on the implementation from tools/dav1d.c
parent 560dc684
Pipeline #3046 passed with stages
in 7 minutes and 53 seconds