AlignedData

AlignedData

Classes

Name
structAlignedData::DataFrame
A frame of aligned data that is passed to the rendering engine from the MediaReceiver. A DataFrame contains a time stamped frame of media, which might be video, audio and auxiliary data such as subtitles. A single DataFrame can contain one or multiple types of media. Which media types are included can be probed by nullptr-checking/size checking the data members. The struct has ownership of all data pointers included. The struct includes all logic for freeing the resources held by this struct and the user should therefore just make sure the struct itself is deallocated to ensure all resources are freed.

Types

Name
enum classCompressedVideoFormat { kAvc, kHevc}
enum classPixelFormat { kUnknown, kNv12, kP016, kUyvy, kRgba, kRgba64Le}
typedef std::array< float, 16 >AudioSampleRow
One audio sample in 16 channels.

Types Documentation

enum CompressedVideoFormat

EnumeratorValueDescription
kAvc
kHevc

enum PixelFormat

EnumeratorValueDescription
kUnknown
kNv12
kP016
kUyvy
kRgba
kRgba64Le

typedef AudioSampleRow

typedef std::array<float, 16> AlignedData::AudioSampleRow;

One audio sample in 16 channels.


Updated on 2022-06-22 at 16:53:25 +0200