Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Some question for H264 sample codes

slayer583
Beginner
120 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
120 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

Reply