Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

IPP 7.1 H264 Encoder: Max Slice Size vs. Multithreading

$
0
0

Dear Experts,

Could you please clarify what the following code from H264CoreEncoder_CheckEncoderParameters means? To me it looks like I can either limit slice size to a certain maximum or enabled multiple threads. Is it possible to have both features - "multithreading" and "slice size limit" - enabled simultaneously?

    if(core_enc->m_params.max_slice_size)
    {
        core_enc->m_MaxSliceSize = core_enc->m_params.max_slice_size;
        core_enc->m_params.m_iThreads = 1;
        core_enc->m_params.num_slices = 1;
    }

Thanks,

Sergey.


Viewing all articles
Browse latest Browse all 1489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>