- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have captured RGB images and I want to encode it using Media SDK, but the encode part needs an RUV input.
So, How can I convert it from RGB to RUV?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I mean if there is a function in Media SDK to help me do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
With "RUV" (RUV is not a known format) I am assuming you mean the NV12 color space format?
The Media SDK VPP component supports a few HW accelerated color space conversion methods, including RGB4 to NV12. So if your raw input surface is of 32 bit RGB format then you can safely use Media SDK to convert to NV12 before feeding that surface into the encoder.
There is an example part of the Media SDK Tutorial (http://software.intel.com/en-us/articles/intel-media-sdk-tutorial) showcasing how to do this. Sample name: "simple_6_encode - d3d - vpp_preproc"
Regards,
Petter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Petter Larsson (Intel) wrote:
Hi,
With "RUV" (RUV is not a known format) I am assuming you mean the NV12 color space format?
The Media SDK VPP component supports a few HW accelerated color space conversion methods, including RGB4 to NV12. So if your raw input surface is of 32 bit RGB format then you can safely use Media SDK to convert to NV12 before feeding that surface into the encoder.
There is an example part of the Media SDK Tutorial (http://software.intel.com/en-us/articles/intel-media-sdk-tutorial) showcasing how to do this. Sample name: "simple_6_encode - d3d - vpp_preproc"
Regards,
Petter
Thank god you know what I mean. I'm sorry for typing 'YUV' into 'RUV'.
I got a surface from DX9 function GetFrontBuffer(Surface surface), and I want to convert it into the NV12 to encode it.
I will first check the Sample code and see if there is further questions.
Thank you!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page