gstreamer's normal videobox element has to make a memcpy to add black borders
around the image. By adding letterboxing directly to the resizer element, the
memcpys are avoided.
The attached patch gives an option to TIVidResize to perform letterboxing. It
keeps the aspect ratio of the original and calculates how much black border has
to be added (horizontally or vertically).