struct NppStInterpolationState

Overview

Frame interpolation state

This structure holds parameters required for frame interpolation. Moreā€¦

#include <NPP_staging.hpp>

struct NppStInterpolationState
{
    // fields

    Ncv32u nStep;
    Ncv32f* pBU;
    Ncv32f* pBV;
    Ncv32f* pFU;
    Ncv32f* pFV;
    Ncv32f* pNewFrame;
    Ncv32f pos;
    Ncv32f* ppBuffers[6];
    Ncv32f* pSrcFrame0;
    Ncv32f* pSrcFrame1;
    NcvSize32u size;
};

Detailed Documentation

Frame interpolation state

This structure holds parameters required for frame interpolation. Forward displacement field is a per-pixel mapping from frame 0 to frame 1. Backward displacement field is a per-pixel mapping from frame 1 to frame 0.

Fields

Ncv32u nStep

pitch

Ncv32f* pBU

backward horizontal displacement

Ncv32f* pBV

backward vertical displacement

Ncv32f* pFU

forward horizontal displacement

Ncv32f* pFV

forward vertical displacement

Ncv32f* pNewFrame

new frame

Ncv32f pos

new frame position

Ncv32f* ppBuffers[6]

temporary buffers

Ncv32f* pSrcFrame0

frame 0

Ncv32f* pSrcFrame1

frame 1

NcvSize32u size

frame size