Fix videoTransform

* Rename functions about buffer.
* Fix Pixel's flags.
* Fix VideoTransform for some subsampling (YUV420 for example).
* Add SWIG interface for frame classes.