Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6842 ディスカッション

Some question for H264 sample codes

slayer583
ビギナー
935件の閲覧回数

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 件の賞賛
1 返信
Vladimir_Dudnik
従業員
935件の閲覧回数

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

返信