Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Manish_K_
Beginner
56 Views

Media Server Studio TU7gacc mode for HEVC

Hi

In header file mfxstructures.h the enum is defined as 

/* TargetUsages: from 1 to 7 inclusive */
enum {
    MFX_TARGETUSAGE_1    =1,
    MFX_TARGETUSAGE_2    =2,
    MFX_TARGETUSAGE_3    =3,
    MFX_TARGETUSAGE_4    =4,
    MFX_TARGETUSAGE_5    =5,
    MFX_TARGETUSAGE_6    =6,
    MFX_TARGETUSAGE_7    =7,

    MFX_TARGETUSAGE_UNKNOWN         =0,
    MFX_TARGETUSAGE_BEST_QUALITY    =MFX_TARGETUSAGE_1,
    MFX_TARGETUSAGE_BALANCED        =MFX_TARGETUSAGE_4,
    MFX_TARGETUSAGE_BEST_SPEED      =MFX_TARGETUSAGE_7
};

While the document: 

https://software.intel.com/sites/default/files/managed/4a/70/Intel_HEVCwhitepaper_v1.41_12Jan2015.pd...

says usage of Media Server Studio TU7gacc mode. How should I enable this is in my software?

Is this mode only available for Licence version of Media Server Studio?

0 Kudos
4 Replies
shashwat_D_
Beginner
56 Views

Hi..

Even I'm wondering the same. Can anyone shed some light on it?

Thanks

Surbhi_M_Intel
Employee
56 Views

Hi Manish, 

The HEVC SW encoder supports TU1 to TU7 modes which you can use. The HEVC Hybrid/graphics accelerated encoder currently supports TU7 which is used as TU7gacc mode in the white paper. So, to use TU7gacc mode, you would be using HEVC graphics accelerated HW implementation.  We are extending to use more TU modes for HEVC Hybrid implementation in our future releases.
I hope I have got your question right. Let me know if there is more I can help you with. 

Thanks, 
-Surbhi

shashwat_D_
Beginner
56 Views

Hi surabhi,

So if I've used HEVC H/W plugin and directX device acceleration services then setting TargetUsage to MFX_TARGETUSAGE_7  will automatically set TU7gacc  mode?

Regards, Shashwat

Surbhi_M_Intel
Employee
56 Views

Hi Shashwat,

Yes, if you are using the sample_encode to test. Please do these following changes- 
Please add HEVC HW plugin GUID in mfxplugin.h 

static const mfxPluginUID  MFX_PLUGINID_HEVCE_HW     = {{0xe5, 0x40, 0x0a, 0x06, 0xc7, 0x4d, 0x41, 0xf5, 0xb1, 0x2d, 0x43, 0x0b, 0xba, 0xa2, 0x3d, 0x0b}};

and add MFX_PLUGINID_HEVCD_HW implementation in plugin_utils.cpp
I am attaching the changed files, please replace them with existing files. You should be able to use sample_encode to use HEVC HW implementation. 

Let us know if you are able to use HEVC HW encoder successfully.

Thanks,
-Surbhi