template for OpenMAX video out