CRI Sofdec2  Last Updated: 2022-11-21 16:25 p
CriManaProcessorConfig_PC Struct Reference

Decoding processor config structure. More...

#include <cri_mana_pc.h>

Data Fields

CriSint32 num_threads
 
const DWORD * affinity_masks
 
int priority
 

Detailed Description

Decoding processor config structure.

Description:
Sets the PC specific processor to be used in decoding.

Use to change the processor for decoding or the thread priority level.

The Mana library prepares three worker threads for multi-core distributed decoding when initialized.
You can specify how many of these threads are actually used with the num_threads function. Set an affinity mask for each thread if you want the application to expressly assign the processor.
The affinity mask values will be in the same format as the Win32 API SetThreadAffinityMask argument.
The thread priority level will apply to threads used in decoding specified by num_threads.
See also
CriManaLibConfig_PC, criMana_Initialize_PC

Field Documentation

◆ num_threads

CriSint32 num_threads

Number of additional threads used in decoding (three max.)

◆ affinity_masks

const DWORD* affinity_masks

Pointer to the thread affinity mask array. Mask value for the threads specified by num_threads

◆ priority

int priority

Total priority level for additional threads


The documentation for this struct was generated from the following file: