Note that surfaces (video, output, or bitmap) are not cleared to any specific value upon allocation. It is the application's responsibility to initialize all surfaces prior to using them as input to any function.