FNV12ConvertPS

Pixel shader to convert a NV12 frame to RGBA.

Windows
MacOS
Linux

Inheritance Hierarchy

FShader

FGlobalShader

FNV12ConvertPS

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/MediaShaders.h

Include

#include "MediaShaders.h"

Syntax

class FNV12ConvertPS : public FGlobalShader

Remarks

Pixel shader to convert a NV12 frame to RGBA. (from NV12 texture)

This shader expects an NV12 frame packed into a single texture in PF_G8 format.

Constructors

Name Description

Public function

FNV12ConvertPS()

Public function

FNV12ConvertPS

(
    const ShaderMetaType::CompiledShade...
)

Functions

Name Description

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const typename FShader::CompiledSha...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function Const

RENDERCORE_A...

 

GetTypeLayout()

Public function Static

void

 

ModifyCompilationEnvironmentImpl

(
    const FShaderPermutationParameters ...,
    FShaderCompilerEnvironment& OutEnv...
)

Public function

void

 

SetParameters

(
    FRHICommandList& RHICmdList,
    const FIntPoint& TexDim,
    FShaderResourceViewRHIRef SRV_Y,
    FShaderResourceViewRHIRef SRV_UV,
    const FIntPoint& OutputDimensions,
    const FMatrix& ColorTransform,
    const FVector& YUVOffset,
    bool SrgbToLinear
)

Public function Static

bool

 

ShouldCompilePermutation

(
    const FGlobalShaderPermutationParam...
)

Public function Static

bool

 

ShouldCompilePermutationImpl

(
    const FShaderPermutationParameters ...
)

Public function Static

RENDERCORE_A...

 

StaticGetTypeLayout()

Classes

Name

Description

Public struct

InternalLinkType

Typedefs

Constants

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss