Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FOURCC codes for 24-Bit or 32-Bit YUV Output

21 views
Skip to first unread message

Gene Brown

unread,
Oct 27, 1999, 3:00:00 AM10/27/99
to
I'm using the Indeo codec to output 16-bit YUV images that I display on an overlay surface with DirectDraw. However, I want to try some realtime 2D and 3D special effects and am confident that moving around the subsampled UV channels will screw up the image. Thus I want a 24-bit, or better yet 32-bit (YUVA) output for YUV. However, I can't seem to find any FOURCC codes for either type of output. Can you give me the appropriate FOURCC codes for this type of output?

Thanks,

Gene Brown

Tim Roberts

unread,
Oct 27, 1999, 3:00:00 AM10/27/99
to
Gene Brown <gbr...@planetkc.com> wrote:

Indeo (like all of the primary Windows codecs) cannot produce YUV without
subsampling the chroma. YUY2 and UYVY, which are both 4:2:2 formats, are
the best you can do. Neither Indeo, nor Cinepak, nor MPEG keep any more
than that in their compressed forms, so it doesn't make sense to have them
produce more.

Further, you won't be finding any DirectX overlay surfaces for
non-sub-sampled YUV. So, even if you could produce it, you couldn't
display it.

If you really want to, you could always do the expansion yourself by
duplicating U and V for each pixel, but I don't think that's what you want
anyway. It is difficult to do special effects in YUV space, because the
chroma channels behave non-intuitively. I suspect you'd have more success
by translating to RGB, doing your effect, and translate back to YUV.
--
- Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.

Intel(R) Customer Support

unread,
Nov 17, 1999, 3:00:00 AM11/17/99
to
Gene Brown wrote:

> I'm using the Indeo codec to output 16-bit YUV images that I display on an overlay surface with DirectDraw. However, I want to try some realtime 2D and 3D special effects and am confident that moving around the subsampled UV channels will screw up the image. Thus I want a 24-bit, or better yet 32-bit (YUVA) output for YUV. However, I can't seem to find any FOURCC codes for either type of output. Can you give me the appropriate FOURCC codes for this type of output?
>

> Thanks,
>
> Gene Brown

Please see the Intel740 Graphics Accelerator Software Developers' Manual at http://developer.intel.com/design/graphics/manuals/29061701.pdf. Also, please see the items under the heading IntelŽ IndeoŽ Software Programming and Installation on the document at http://support.intel.com/support/technologies/multimedia/indeo/developer/apptech.htm.


--
Best regards,
Jim A.
Intel(R) Customer Support

*Other brands and trademarks are the property of their respective owners.

0 new messages