FfxFrameInterpolationDispatchDescription

File location: sdk/include/FidelityFX/host/ffx_frameinterpolation.h

Detailed description

Data fields

Type

Description

uint32_t

flags
combination of FfxFrameInterpolationDispatchFlags

FfxCommandList

commandList
The “FfxCommandList“ to record frame interpolation commands into.

FfxDimensions2D

displaySize
The destination output dimensions.

FfxDimensions2D

renderSize
The dimensions used to render game content, dilatedDepth, dilatedMotionVectors are expected to be of ths size.

FfxResource

currentBackBuffer
The current presentation color, if currentBackBuffer_HUDLess is not used, this will be used as interpolation source data.

FfxResource

currentBackBuffer_HUDLess
The current presentation color without HUD content, when use it will be used as interpolation source data.

FfxResource

output
The output resource where to store the interpolated result.

FfxRect2D

interpolationRect
The area of the backbuffer that should be used for interpolation in case only a part of the screen is used e.g. due to movie bars.

FfxResource

opticalFlowVector
The optical flow motion vectors (see example computation in the FfxOpticalFlow effect)

FfxResource

opticalFlowSceneChangeDetection
The optical flow scene change detection data.

FfxDimensions2D

opticalFlowBufferSize
The optical flow motion vector resource dimensions.

FfxFloatCoords2D

opticalFlowScale
The optical flow motion vector scale factor, used to scale resoure values into [0.0,1.0] range.

int

opticalFlowBlockSize
The optical flow block dimension size.

float

cameraNear
The distance to the near plane of the camera.

float

cameraFar
The distance to the far plane of the camera. This is used only used in case of non infinite depth.

float

cameraFovAngleVertical
The camera angle field of view in the vertical direction (expressed in radians).

float

viewSpaceToMetersFactor
The unit to scale view space coordinates to meters.

float

frameTimeDelta
The time elapsed since the last frame (expressed in milliseconds).

bool

reset
A boolean value which when set to true, indicates the camera has moved discontinuously.

FfxBackbufferTransferFunction

backBufferTransferFunction
The transfer function use to convert interpolation source color data to linear RGB.

float

minMaxLuminance
Min and max luminance values, used when converting HDR colors to linear RGB.

uint64_t

frameID
Identifier used to select internal resources when async support is enabled. Must increment by exactly one (1) for each frame. Any non-exactly-one difference will reset the frame generation logic.

FfxResource

dilatedDepth
The dilated depth buffer data.

FfxResource

dilatedMotionVectors
The dilated motion vector data.

FfxResource

reconstructedPrevDepth
The reconstructed depth buffer data.

FfxResource

distortionField
A resource containing distortion offset data used when distortion post effects are enabled.

Related pages

  • Visit the FidelityFX SDK product page for download links and more information.

Looking for more documentation on GPUOpen?

AMD GPUOpen software blogs

Our handy software release blogs will help you make good use of our tools, SDKs, and effects, as well as sharing the latest features with new releases.

GPUOpen Manuals

Don’t miss our manual documentation! And if slide decks are what you’re after, you’ll find 100+ of our finest presentations here.

AMD GPUOpen Performance Guides

The home of great performance and optimization advice for AMD RDNAâ„¢ 2 GPUs, AMD Ryzenâ„¢ CPUs, and so much more.

Getting started: AMD GPUOpen software

New or fairly new to AMD’s tools, libraries, and effects? This is the best place to get started on GPUOpen!

AMD GPUOpen Getting Started Development and Performance

Looking for tips on getting started with developing and/or optimizing your game, whether on AMD hardware or generally? We’ve got you covered!

AMD GPUOpen Technical blogs

Browse our technical blogs, and find valuable advice on developing with AMD hardware, ray tracing, Vulkan®, DirectX®, Unreal Engine, and lots more.

Find out more about our software!

AMD GPUOpen Effects - AMD FidelityFX technologies

Create wonder. No black boxes. Meet the AMD FidelityFX SDK!

AMD GPUOpen Samples

Browse all our useful samples. Perfect for when you’re needing to get started, want to integrate one of our libraries, and much more.

AMD GPUOpen developer SDKs

Discover what our SDK technologies can offer you. Query hardware or software, manage memory, create rendering applications or machine learning, and much more!

AMD GPUOpen Developer Tools

Analyze, Optimize, Profile, Benchmark. We provide you with the developer tools you need to make sure your game is the best it can be!