Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: core video, CVPixelbuffer and multithreading




On 26-jun-06, at 21:04, arri wrote:

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.

If neither docs nor headers say that an API is thread safe you should assume it is not.
It might be safe to make serialized calls using the CVPixelBuffer(Pool) API using a lock.


Jan E.

_______________________________________________
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

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.