aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-05-09 10:14:32 +0200
committerHans de Goede <hdegoede@redhat.com>2011-05-09 20:03:29 +0200
commit1840fb7a9f87d3c94b9f812f338c5658af6f4281 (patch)
tree6cb9fb0c74ff774e612e0e054129a07e4d4e8b44 /TODO
parentff9a3b22c71a8cfd5074b1ae4089232976776555 (diff)
libv4l: rewrite src format selection algorithm
When multiple src formats are available for the best resolution match we need to decide which one to use. The old algorithm was rather crude: - it depended on the formats being sorted in a certain way in the source formats array - it did not really take bus bandwidth / fps into account other then always preferring compressed formats except for resolutions of quarter CIF and lower - it did not differentiate between converting to YUV420 or to RGB32, while some src formats are clearly a better match for one then for the other This rewritten src format ranking algorithm takes all of the above into account. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'TODO')
-rw-r--r--TODO8
1 files changed, 3 insertions, 5 deletions
diff --git a/TODO b/TODO
index 20de6bf3..f44a11e7 100644
--- a/TODO
+++ b/TODO
@@ -1,15 +1,13 @@
libv4l todo:
------------
+-libv4lconvert: v4lconvert_do_try_format should always prefer smaller then
+ requested resolutions over bigger then requested ones
+
-add support for setting / getting the number of read buffers
-add code to v4l2_read to not return frames more then say 5 seconds old
--add support for libv4l1 for non pure capture (combined capture and overlay)
- devices so that atleast CGMBUF emulation (but no conversion, as thats
- impossible for overlays) can be done, so that it will no longer be
- necessary to implement CGMBUF in the kernel for each driver.
-
-take the possibility of pitch != width into account everywhere
-make updating of parameters happen based on time elapsed rather then

Privacy Policy