summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-05-22 22:33:09 +0300
committerStefan Kost <ensonic@users.sf.net>2010-05-22 22:37:38 +0300
commit29231bb963cead68e82d61b8e5be723c073d1c49 (patch)
treeedf31cc949ff106f3c06231e4eb2eb174def4bc0
parente35fe4ef9cc7ceb88d010b9626e27ebcb71a3e5b (diff)
design: more planning on lazy caps.
-rw-r--r--docs/random/ensonic/lazycaps.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/random/ensonic/lazycaps.txt b/docs/random/ensonic/lazycaps.txt
index b63147271..97faa6e9f 100644
--- a/docs/random/ensonic/lazycaps.txt
+++ b/docs/random/ensonic/lazycaps.txt
@@ -8,13 +8,15 @@ these variants of lazy caps:
- need user_data (the string/string-array)
- need a free_func for the user_data
- need a get_structure_func to fill structure slots as needed
+ - we can more easily make this iterator based too
- operations (e.g. intersect) (see [1]).
- need user_data (the iterator)
- need a free_func for the user_data
- need a get_structure_func to fill structure slots as needed
We should add PERFORMANCE category logging to methods that cause lazy caps to be
-fully evaluated.
+fully evaluated. To get maximum speed benefit we need to inspect places that
+loop over structures of a caps and turn them into while() loops where possible.
We can use GST_CAPS_FLAGS_LAZY to indicate that caps are not fully constructed.
Once caps are fully evaluated, we can remove the flag (and call the free_func).