FYUY2ConvertPS

Pixel shader to convert a YUY2 frame to RGBA.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FShader

FGlobalShader

FYUY2ConvertPS

References

Module

RenderCore

Header

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

Include

#include "MediaShaders.h"

Syntax

class FYUY2ConvertPS : public FGlobalShader

Remarks

Pixel shader to convert a YUY2 frame to RGBA.

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

Constructors

Name Description

Public function

FYUY2ConvertPS()

Public function

FYUY2ConvertPS

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