Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6757 Discussions

IPP 7.1 H264 Encoder: Max Slice Size vs. Multithreading

Serguei_S_1
Beginner
904 Views

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.

0 Kudos
1 Reply
Chuck_De_Sylva
Beginner
904 Views

Currently the encoder is not coded to be initialized into that state.

0 Kudos
Reply