winks: Fix RGB frame flipping and postprocessing
authorJan Schmidt <jan@centricular.com>
Mon, 15 Aug 2016 06:37:44 +0000 (16:37 +1000)
committerJan Schmidt <jan@centricular.com>
Mon, 15 Aug 2016 14:43:39 +0000 (00:43 +1000)
commit08311c51bed71003faf7c06946a6aa930e69605c
tree318f32d46deabdbad86d876d5cd688af7aeab498
parentb4a51e7835a9a5e4b959b004f746803691bfdc65
winks: Fix RGB frame flipping and postprocessing

Uncompressed RGB frames can be (usually are) bottom-up
layout in DirectShow, and the code to flip them wasn't
properly ported from 0.10. Fix it.

Fix post-processing of RGB buffers. We need a writable
buffer, but the requests pool is holding an extra ref.
This could use more fixing to use a buffer pool
sys/winks/gstksvideodevice.c
sys/winks/gstksvideodevice.h
sys/winks/gstksvideosrc.c
sys/winks/ksvideohelpers.c
sys/winks/ksvideohelpers.h