• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
What to play a series of images on, to make it look like a movie [the fastest way]?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What to play a series of images on, to make it look like a movie [the fastest way]?


  • Subject: What to play a series of images on, to make it look like a movie [the fastest way]?
  • From: eveningnick eveningnick <email@hidden>
  • Date: Thu, 17 Mar 2011 22:14:17 +0200

Hello
I have a set of pictures, stored in RAM in RGB-32-bits-per-pixel
format (allocated via malloc).
What is nowadays the most efficient way to "play" this "video" - i.e.
a set of frames - in a window, avoiding unnecessary data recopying?

Should i just build CGImage's for every frame that i have in memory,
and render that to an ordinary NSImage visual component on ? Or onto
NSView? Or, maybe, QTKit's QTMoviePreview?
I am planning to use CoreVideo display link to display every new
frame. Maybe it is more optimal to use NSOpenGLView (since, perhaps,
data would go "directly" to OpenGL driver)?
This is a model task, where im trying to understand how to do things :)
Right now the only my concern is performance - the faster the better.
And what would be the "right way" - that adds the less code 'mess'
possible, but which maybe is not that fast?

Thanks!
_______________________________________________

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

  • Prev by Date: DVDInitialize() and "Program exited with status value:45"
  • Next by Date: Re: iOS Core Data complex predicate.
  • Previous by thread: DVDInitialize() and "Program exited with status value:45"
  • Next by thread: LSUIElement making custom windows non-visible.
  • Index(es):
    • Date
    • Thread