Intel Media SDK Tutorial - simple_6_encode_IPP_CC

This Intel® Media SDK tutorial sample illustrates how to integrate Intel Media SDK with the wide range of CPU-optimized color-space conversion routines that are part of the Intel® Performance Primitives (Intel® IPP) library. The sample extends the “simple_3_encode” sample to show how to achieve RGB24 to NV12 color conversion via the Intel IPP primitive "ippiBGRToYCbCr420_709CSC_8u_C3P2R".

Intel IPP also supports the following color space conversion routines that you may find useful when working with the Intel Media SDK:

Color conversion

Intel IPP function name

BGR24 -> NV12

ippiBGRToYCbCr420_709CSC_8u_C3P2R

RGB32 -> NV12  1

ippiRGBToYCbCr420_8u_C4P2R

NV12 -> RGB32

ippiYCbCr420ToRGB_8u_P2C4R

NV12 -> YUY2

ippiYCbCr420ToYCbCr422_8u_P2C2R

NV12 -> YV12

ippiYCbCr420ToYCrCb420_8u_P2P3R

YUY2 -> NV12

ippiYCbCr422ToYCbCr420_8u_C2P2R

UYVY -> NV12

ippiCbYCr422ToYCbCr420_8u_C2P2R

YV12 -> NV12  1

ippiYCrCb420ToYCbCr420_8u_P3P2R

NV12 -> UYVY

ippiYCbCr420ToCbYCr422_8u_P2C2R

P422 -> NV12

ippiYCbCr422ToYCbCr420_8u_P3P2R

IYUV -> NV12

ippiYCbCr420_8u_P3P2R

NV12 -> P422

ippiYCbCr420ToYCbCr422_8u_P2P3R

NV12 -> IYUV

ippiYCbCr420_8u_P2P3R

NV12 -> P411

ippiYCbCr420ToYCbCr411_8u_P2P3R

P411 -> NV12

ippiYCbCr411ToYCbCr420_8u_P3P2R

BGR24 -> NV12

ippiBGRToYCbCr420_709CSC_8u_C3P2R

1 Intel Media SDK supports this conversion natively via VPP (and can be executed on the GPU)

This tutorial sample is found in the tutorial samples package under the name "simple_6_encode_IPP_CC". The code is extensively documented with inline comments detailing each step required to setup and execute the use case.

[ Previous Tutorial ]    [ Next Tutorial ]    [ Back to Tutorial samples index ]

有关编译器优化的更完整信息,请参阅优化通知