d3dvideosink: Properly copy frames to D3D with the right strides and everything
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 22 Dec 2012 16:55:08 +0000 (17:55 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 22 Dec 2012 16:57:41 +0000 (17:57 +0100)
commit827655ffb4bd2446808ed9c5da17861e4a32e032
treec5879ec2c1d8833070ee5c82f152d23ca6ed5cf9
parentc6763c2bbb941f8589028d9b87ebfa557416c649
d3dvideosink: Properly copy frames to D3D with the right strides and everything

And only support color formats that are actually supported by the driver,
this allows proper zero-copy handling later and simplifies the code a lot.

Also simplify some other places, like the format mapping code.
sys/d3dvideosink/d3dhelpers.c
sys/d3dvideosink/d3dhelpers.h
sys/d3dvideosink/d3dvideosink.c
sys/d3dvideosink/d3dvideosink.h