• 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
QTKit quick question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QTKit quick question


  • Subject: QTKit quick question
  • From: John Stiles <email@hidden>
  • Date: Wed, 10 Jan 2007 16:31:11 -0800

We want to add images to an existing QTKit movie using addImage:forDuration:withAttributes:.

Our images are stored in memory and have already been compressed using Planar Component Y'CbCr 8-bit 4:2:0 (kYUV420PixelFormat). Is there any way to pass this data in directly? I couldn't see a way to make an NSImage with this format (or any YUV-ish format). I can easily make a GWorld with QTNewGWorldFromPtr, but if it's in a GWorld, then how do I send the data to QTKit? Can an NSImage wrap a GWorld?

Of course, it's not hard to convert back to RGB, but we'd like to avoid the conversion for performance reasons.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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: Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny
  • Next by Date: Re: Copying raw RGBA image data to NSBitmapImageRep coming out funny
  • Previous by thread: Click-through on NSTextField
  • Next by thread: Emulating QTMovieView volume control behavior
  • Index(es):
    • Date
    • Thread