Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: GetPixRowBytes - deprecated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GetPixRowBytes - deprecated




On May 29, 2009, at 3:45 PM, Petyo Milotinov wrote:

My application captures frames from the camera. I successfully set up
grabCompleteProc video bottleneck. In MyGrabCompleteFunction I
successfully call SGGetBufferInfo. I need to process the raw data in
PixMapHandle. But when my program is compiling I receive following warning:


'GetPixRowBytes' is deprecated

	I really need to access _raw_ data in the pixmap.
	What is the replacement for GetPixRowBytes?
	Thanks in advance!

There is now direct replacement. GrafPort and PixMap data structures and all of the methods for dealing with them are deprecated. You'll have to use newer QTKit APIs, if available:
http://developer.apple.com/documentation/QuickTime/Conceptual/QTKitCaptureProgrammingGuide/index.html


If you need QuickTime functionality that's not present in QTKit, file a bug/enhancement request.

-Stefa
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >GetPixRowBytes - deprecated (From: Petyo Milotinov <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.