IKImageView image position

2010-06-07 Thread Travis Kirton
I've been meddling with IKImageview for the last couple of days. As far as I've seen I think there isn't a method that will return the bounding rect of of the zoomed/panned image within the image view. Can someone please confirm or deny? I'm thinking the only way to know for now is to track it b

CVDisplayLink slows down execution of independent NSTimer

2011-05-21 Thread Travis Kirton
Hi, I am playing around with CVDisplayLink, I have it set up and running properly. I also have another method called update, which I am trying to run using a timer set to 60.0 frames per second. When I run the application without starting the CVDisplayLink, the update function runs very near to

Core Video - Getting Started

2009-12-16 Thread Travis Kirton
Hi, I'm planning a project where I'll be running somewhere between 15 and 20 videos on screen, any number of them could be playing at the same time (not necessarily in sync). I got an example running with Core Animation and Layers using very little code, actually adapted from: http://www.cimg

CoreVideo101 Error when porting to new Cocoa project

2009-12-17 Thread Travis Kirton
Hi, I'm working with the Core Video frameworks. I've taken the QTCoreVideo101 example (available from dev.apple) and modified it slightly (removing some code that I don't need). Instead of building off of this stripped project, I want to start a new project and incorporate the code I've adapted.

Core Video CIFilters/ playback / compression suggestions?

2010-01-14 Thread Travis Kirton
Hi, We're working with Core Video to play back videos @ 1024 x 768 resolution. The videos are stacked on top of one another and revealed as a user draws over top of them. To achieve this "drawing into" the stack of videos, we're filtering using CIImage to create alpha masks over top of an indivi

Re: Core Video CIFilters/ playback / compression suggestions?

2010-01-15 Thread Travis Kirton
ean-Daniel Dupas wrote: > > Le 14 janv. 2010 à 20:11, Travis Kirton a écrit : > >> Hi, >> >> We're working with Core Video to play back videos @ 1024 x 768 resolution. >> The videos are stacked on top of one another and revealed as a user draws >&

Re: Core Video CIFilters/ playback / compression suggestions?

2010-01-15 Thread Travis Kirton
> > later, > > douglas > > On Jan 15, 2010, at 12:29 PM, Travis Kirton wrote: > >> Hey Jean-Daniel, >> >> Thanks for the advice. We've already noticed that the main object that's >> taking up the most CPU seems to be whichever decoder we&#

CFAttributedStringGetMutableString returning null value

2009-06-15 Thread Travis Kirton
I have a method, where I need to append to a MutableAttributedString Here is the method... - (void)appendStringFromSelf:(CFMutableAttributedStringRef)theString with:( CFIndex)numberOfGlyphs { CFMutableStringRef mutableString = CFAttributedStringGetMutableString (theString); CFAttributedStringRe

(id) issue, passing different types during initWith:(id)type

2011-01-29 Thread Travis Kirton
Hi, I am creating an aggregate object, for a project, with an initialization method: -(id)initWithString:(id)aString { if(![super init]) { return nil; } if([aString isKindOfClass:[NSString class]]) { self.string = (NSString *)aString;

Re: (id) issue, passing different types during initWith:(id)type

2011-01-29 Thread Travis Kirton
ist in option 3, except it might wraps NSString, CFString, etc..., so that at the end of the day the user can simply work with one object for manipulating and drawing strings. Cheers, T On 2011-01-29, at 8:10 PM, Quincey Morris wrote: > On Jan 29, 2011, at 07:29, Travis Kirton wrote: > &

Re: (id) issue, passing different types during initWith:(id)type

2011-01-29 Thread Travis Kirton
nthetiqsolutions.com > > On Jan 29, 2011, at 8:25, Scott Ribe wrote: > >> On Jan 29, 2011, at 8:29 AM, Travis Kirton wrote: >> >>> warning: incompatible Objective-C types 'struct CFAString *', expected >>> 'struct NSString *' when pa