Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color depth



Adam,

I'm passing raw pixel data to QC using CVPixelBufferRef.
It works fine with 8 bit RGB buffers like k32ARGBPixelFormat.

However when I create a pixel buffer with a deeper pixel format like k64ARGBCodecType or k48RGBCodecType I get the following error :-

*** <QCGLCVImage = 0x003F55D0 | type = CVImageBuffer | dimensions = 2048x1536 | buffer = 0x0000-0x0000 | target = GL_TEXTURE_RECTANGLE_EXT | ID = 0>: Texture creation from CVImageBuffer failed (error -6683)

I need 10bit or more color depth, any ideas on what pixel formats I can use?

Apparently, Core Video does not support textures in those formats. You could try passing a CGImageRef or a CIImage, but QC does not really support images with more than 8 bits per component as they will very likely be clamped to 8 bits internally.


________________________________________________________
Pierre-Olivier Latour                            	email@hidden
Quartz Composer Team				Apple Computer, Inc.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Color depth (From: email@hidden)



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.