Thx in advance
-Brian
> Anyone know of a simple conversion routine for this?
See Geraint's response to your earlier post on another thread.
Please do not multi-post.
See: http://tmhare.mvps.org/help.htm#mp
--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution
Is there an echo in here?
Are you looking to understand and write the routine yourself?
You can find a description of the memory layout of I420 at:
http://www.fourcc.org/yuv.php#IYUV
...for YUY2:
http://www.fourcc.org/yuv.php#YUY2
... and UYVY
http://www.fourcc.org/yuv.php#UYVY
The quick and dirty and thus simple way to do this would be to skip the UV
part of every other YUY2/UYVY macropixel while copying the Y, U and V values
to separate planes on the I420 plane.
I could throw some pseudo code together for you, but if are not looking to
write it yourself I wont bother.
/mikkel
Yes I am looking to write the routine myself. I'd like to put it directly
into my existing encoder filter.
thx
-Brian
"Mikkel Haugstrup" <_@_._> wrote in message
news:e%2361yS%235GH...@TK2MSFTNGP06.phx.gbl...
Yes I am looking to write the routine myself. I'd like to put it directly
into my existing encoder filter.
thx
"Mikkel Haugstrup" <_@_._> wrote in message
news:e%2361yS%235GH...@TK2MSFTNGP06.phx.gbl...
>
This shouldn't be a DirectX SDK issue. However I found there seems to be
available APIs in Intel IPP which implement this kind of conversion. You
may download the Eval version for reference:
Intel Integrated Performance Primitives
http://www.intel.com/cd/software/products/asmo-na/eng/219967.htm
Have a great day.
Sincerely,
WenJun Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Many thx!
-BB
""WenJun Zhang[msft]"" <wjz...@online.microsoft.com> wrote in message
news:oxdDUhF7...@TK2MSFTNGXA01.phx.gbl...