Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-16-2009, 05:10 PM   #1 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 19
Default Using Video Memory

Greetings,

I am trying to do some image processing on the iPhone. I have an image the size of the screen and I need to do several things to it and keep track of states on each of the pixels, which requires holding the equivalent of 3 images in memory. I am trying to reduce that footprint, and/or optimize it where I can.

What are the functions to use a video buffer as storage? After searching this forum and the iPhone Reference Library, the only thing I found was Memory Usage Performance Guidelines: Tips for Allocating Memory. Near the bottom it says "Copying Data to Video RAM" "When copying data into VRAM, use the BlockMoveDataUncached function instead of functions such as bcopy" What I can't find is info on BlockMoveDataUnchached, nor how to specify the void * destPtr to be a pointer to video RAM. All I really want/need is a pointer to the video RAM that I can use to read/write some bits.

Thanks for any input.
Karplusan is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,308
Threads: 39,107
Posts: 171,455
Top Poster: smasher (2,575)
Welcome to our newest member, howardie08
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:29 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0