| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| hi, Ok I thought I have to Retain the Buffer that I get from the Pool. I removed the Line and it works. But now I'am stuck in an other memory leak. When I draw an Image to the CIcontext, the app use more an more memory. I take a look on the retainCount form the Image (CIImage): retaincount = 1 CGImageRef cgImage = [cicontext createCGImage:inputImage1 fromRect:[inputImage1 extent]]; retaincount = 4 CGContextDrawImage(cgContextRef, [inputImage1 extent], cgImage); retaincount = 3.. CGImageRelase(cgImage) retaincount = 2 CGContextRelease(cgContextRef) retaincount = 2 When I use cicontext to draw the Image it is same the count is 2 after draw. retaincount = 1 [cicontext drawImage: inputImage ......] retaincount = 2 Do I have to tell the CIcontext the release the Image? Thanks for help Hannes Osius which said 1 before drawing and 2 after. Am 24.06.2008 um 14:42 schrieb Jean-Daniel Dupas:
Dipl.-Inf. (FH) Hannes Osius Silpion IT Solutions GmbH Brandshofer Deich 48 , 6. OG 20539 Hamburg Büro : 040 / 39997643 Mobil: 0170 / 8889467 Fax: 040 / 39997643 Email: email@hidden <mailto:email@hidden> Registergericht: Amtsgericht Hamburg, HRB 78585 Ust-Id Nr. DE213610768 Steuer-Nr. 02/864/00965 Geschäftsführer: Patrick Postel ------------------------------------------------------------------- |
_______________________________________________ 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
| References: | |
| >ICMCompressionSessionEncodeFrame and Memory Problems (From: Hannes Osius <email@hidden>) | |
| >Re: ICMCompressionSessionEncodeFrame and Memory Problems (From: Jean-Daniel Dupas <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.