FYVYUConvertPS

Pixel shader to convert a YVYU frame to RGBA.

Windows
MacOS
Linux

Inheritance Hierarchy

FShader

FGlobalShader

FYVYUConvertPS

References

Module

RenderCore

Header

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

Include

#include "MediaShaders.h"

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 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 > YVYUT...,
    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