FNV12ConvertAsBytesPS

Pixel shader to convert a NV12 frame to RGBA (NV12 data; texture viewed as G8)

Windows
MacOS
Linux

Inheritance Hierarchy

FShader

FGlobalShader

FNV12ConvertAsBytesPS

References

Module

RenderCore

Header

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

Include

#include "MediaShaders.h"

Syntax

class FNV12ConvertAsBytesPS : public FGlobalShader

Remarks

Pixel shader to convert a NV12 frame to RGBA (NV12 data; texture viewed as G8)

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

Constructors

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,
    TRefCountPtr< FRHITexture2D > NV12T...,
    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