Navigation
API > API/Plugins > API/Plugins/MediaIOCore > API/Plugins/MediaIOCore/FMediaIOCoreTextureSampleBase
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 |
bool InitializeWithEvenOddLine
&40;
bool bUseEvenLine,
const void &42; InVideoBuffer,
uint32 InBufferSize,
uint32 InStride,
uint32 InWidth,
uint32 InHeight,
EMediaTextureSampleFormat InSampleFormat,
FTimespan InTime,
const FFrameRate & InFrameRate,
const TOptional< FTimecode > & InTimecode,
const UE::MediaIOCore::FColorFormatArgs & InColorFormatArgs
&41;
Remarks
Initialize the sample with half it's original height and take only the odd or even line.
Parameters
| Name | Description |
|---|---|
| bUseEvenLine | Should use the Even or the Odd line from the video buffer. |
| InVideoBuffer | The video frame data. |
| InStride | The number of channel of the video buffer. |
| InWidth | The sample rate of the video buffer. |
| InHeight | The sample rate of the video buffer. |
| InSampleFormat | The sample format of the video buffer. |
| InTime | The sample time (in the player's own clock). |
| InTimecode | The sample timecode if available. |
| InColorFormatArgs | Information about the texture color encoding and color space. |