Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6621 Discussions

a question h.264 interpolation functions in IPP

iamslash
Beginner
98 Views

I'm watching codes umc_video_encoder especially h264.part... when I see following functions..

template
void H264CoreEncoder::CSubPelSearchOneBlock(
H264EncoderThreadPrivateSlice *curr_slice,
Ipp32u uMB,
const H264EncoderFrame *pRefFrame,
Ipp8s RefField,
Ipp32u ,// block_idx,
Ipp32u uWidth,
Ipp32u uHeight,
Ipp32u uOffset,
H264MotionVector *pBestMV,
H264MotionVector *pPredictedMV,
Ipp32u *puBestSAD
)
{

I found this line...

ippiInterpolateLuma_H264(pRef, pitchPixels*sizeof(PixType),pSPBuffer, 16*sizeof(PixType), psp->spInterpFnx, psp->spInterpFny, size, m_PicParamSet.bit_depth_luma);

can you explain that psp->spInterpFnx and psp->spInterpFny
ofcourse I read ippiman.pdf about ippiInterpolateLuma_H264 but I think need more explanation. please...

If psp->spInterpFnx is 1 and psp->spInterpFny is 1, that means right one, bottom one about original pixel ??? I couldn't understand image in manual...

thanks...

0 Kudos
0 Replies
Reply