video-converter: rework the converter to allow more optimizations
authorWim Taymans <wtaymans@redhat.com>
Tue, 4 Nov 2014 08:30:45 +0000 (09:30 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 4 Nov 2014 16:38:11 +0000 (17:38 +0100)
commit3dd059baf3aea28d216dda8f4ce8bbeba9c8d914
tree0f5d8627e56b16deec82d41cb3ca05f110d0069f
parent328632029777048593c725e53e07575e34113859
video-converter: rework the converter to allow more optimizations

Rework the converter, keep track of the conversion steps by chaining the
cache objects together. We can then walk the chain and decide the
optimal allocation pattern.
Remove the free function, we're not going to need this anytime soon.
Keep track of what output line we're constructing so that we can let the
allocator return a line directly into the target image when possible.
Directly read from the source pixels when possible.
gst-libs/gst/video/video-converter.c