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

Some question for H264 sample codes

slayer583
Beginner
197 Views

Hi, experts.

I'm seeing sample code of H264 provided by Intel IPP.

Ithink that I found any typos,isDisposable() function in umc_h264_enc_cpb.h.

bool isDisposable()
{
return (!m_isShortTermRef[0] &&
!m_isShortTermRef[1] &&
!m_isLongTermRef[0] &&
!m_isLongTermRef[0] &&
m_wasEncoded );
}

I think that second !m_isLongTermRef[0] ismust corrected to !m_isLongTermRef[1].

What is right code? !m_isLongTermRef[0] or !m_isLongTermRef[1]?

Please let me know whatcorrect is.

Thanks,

TG

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
197 Views

Hi TG,

our expert comment is that it is typo, but we do not use long term refs currently. Thanks for notice on that, we will correct this.

Regards,
Vladimir

0 Kudos
Reply