Filter Scaling in CALayers
Filter Scaling in CALayers
- Subject: Filter Scaling in CALayers
- From: Gordon Apple <email@hidden>
- Date: Fri, 07 Nov 2008 13:30:24 -0600
- Thread-topic: Filter Scaling in CALayers
I believe this to be a CALayer question, not a QT question. I'm
applying filters to my video, a la the QTRecorder example. It works
correctly for a QTCaptureView where it applies the filter to each frame (via
the delegate), but does not scale its effects in a QTCaptureLayer when
applied to the layer. It appears that the filter is being applied at full
scale rather than being scaled to the video (i.e., the layer size), and so
does not result in the same visual effect. How do I fix this?
I should point out that I'm controlling the size of the QTCaptureLayer,
not creating it full size and then scaling it down. (Is the latter maybe
the only solution?)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden