FYVYUConvertPS

Inheritance Hierarchy

Syntax

class FYVYUConvertPS : public FGlobalShader

Remarks

Pixel shader to convert a YVYU frame to RGBA.

This shader expects a YVYU frame packed into a single texture in PF_B8G8R8A8 format with the following memory layout: [Y0, V0, Y1, U0][Y2, V1, Y3, U1]..

Constructors

Name Description

Public function

FYVYUConvertPS()

Public function

FYVYUConvertPS

(
    const ShaderMetaType::CompiledShade ...
)

Functions

Name Description

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const ShaderMetaType::CompiledShade ...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function

void

 

SetParameters

(
    FRHICommandList & RHICmdList,
    TRefCountPtr < FRHITexture2D > YVYUT...,
    const FMatrix & ColorTransform,
    const FVector & YUVOffset,
    bool SrgbToLinear
)

Public function Static

bool

 

ShouldCompilePermutation

(
    const FGlobalShaderPermutationParam ...
)

Overridden from FShader

Name Description

Public function Virtual Const

uint32

 

GetTypeSize()

Returns the size of the concrete type of this shader.

Public function Virtual

bool

 

Serialize

(
    FArchive & Ar
)

Typedefs

Constants

Name

Description

StaticType

See Also

References

Module

UtilityShaders

Header

Runtime/UtilityShaders/Public/MediaShaders.h