FMediaIOCoreTextureSampleBase::SetBufferWithEvenOddLine

Set the sample buffer with half it's original height and take only the odd or even line.

Windows
MacOS
Linux

References

Module

MediaIOCore

Header

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreTextureSampleBase.h

Include

#include "MediaIOCoreTextureSampleBase.h"

Source

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/Shared/MediaIOCoreTextureSampleBase.cpp

Syntax

bool SetBufferWithEvenOddLine
(
    bool bUseEvenLine,
    const void * InVideoBuffer,
    uint32 InBufferSize,
    uint32 InStride,
    uint32 InHeight
)

Remarks

Set the sample buffer with half it's original height and take only the odd or even line.

Parameters

Parameter

Description

bUseEvenLine

Should use the Even or the Odd line from the video buffer.

InVideoBuffer

The video frame data.

InBufferSize

The size of the video buffer.

InStride

The number of channel of the video buffer.

InHeight

The sample rate of the video buffer.

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