videocrop: Add support for planar formats >8bits
- Added support for planar pixel formats with depths greater than 8bits to transform_planar implementation
- Moved declaration of supported pixel formats to private header, which can be shared between videocrop and aspectvideocrop
- Added a whole lot of new pixel formats to the support-list
The implementation is based on the assumption, that planar pixel formats, which have a depth > 8bit are stored by padding to whole bytes.
So: <10bit><6bit padding><10bit><6bit padding>...
instead of <10bit><10bit><10bit>...
I hope I understood that right, from the documentation. At least Valgrind doesn't show invalid reads ;)