i'm fairly new to quicktime-api and core-video, and not sure if this
is the right list,
but i'll anyway post my question in hope for some pointers in the
right direction;
(also see my previous post about rtsp-streams please..)
after obtaining an image-buffer from a QTvisualContext into a
CVPixelbuffer in a displaylink-callback,
i'd like to process this CVpixelBuffer in several ways, and would
like to do this in seperate threads.
i want to analyse the image (motiontracking), do background-
subtraction, encode/compress it to record it to file,
and finally also composite different parts of the former process
together with aditional video material to screen.
this all should happen in a more/less parallel way, and on a fairly
high resolution (1280x768).
the software will run on a quad g5, so i can gain alot of speed with
multithreading.
but right now i'm lost in CVPixelBufferPools and its' concepts.
from documentation i learn that i should use a CVPixelBufferPool when
i want to further process (e.g. record) CVPixelBuffers,
but can you share a CVPixelBufferPool between threads? and pass
CVPixelbuffers from one thread to the other?
and also, the displaylink-callback is already called from a seperate
(high-priority) thread.
how do i deal with this?
i can't really find good example code or -projects, or even
documentation that deals with multithreading and CVPixelBufferPools
in this case.
probably i'm just not looking properly, excuse me for that, but any
help is very much appreciated.
could someone point me in the right direction?
thanks
.
arri
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden