Skip to content

Class mediapipe::FrameBuffer

ClassList > mediapipe > FrameBuffer

Classes

Type Name
struct Dimension
struct Plane
struct Stride
struct YuvData

Public Types

Type Name
enum Format

Public Functions

Type Name
FrameBuffer (const std::vector< Plane > & planes, Dimension dimension, Format format)
Dimension dimension () const
Format format () const
Plane mutable_plane (int index)
const Plane & plane (int index) const
int plane_count () const

Public Static Functions

Type Name
absl::StatusOr< YuvData > GetYuvDataFromFrameBuffer (const FrameBuffer & source)

Public Types Documentation

enum Format

enum mediapipe::FrameBuffer::Format {
    kRGBA,
    kRGB,
    kNV12,
    kNV21,
    kYV12,
    kYV21,
    kGRAY,
    kUNKNOWN
};

Public Functions Documentation

function FrameBuffer

inline mediapipe::FrameBuffer::FrameBuffer (
    const std::vector< Plane > & planes,
    Dimension dimension,
    Format format
) 

function dimension

inline Dimension mediapipe::FrameBuffer::dimension () const

function format

inline Format mediapipe::FrameBuffer::format () const

function mutable_plane

inline Plane mediapipe::FrameBuffer::mutable_plane (
    int index
) 

function plane

inline const Plane & mediapipe::FrameBuffer::plane (
    int index
) const

function plane_count

inline int mediapipe::FrameBuffer::plane_count () const

Public Static Functions Documentation

function GetYuvDataFromFrameBuffer

static absl::StatusOr< YuvData > mediapipe::FrameBuffer::GetYuvDataFromFrameBuffer (
    const FrameBuffer & source
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/formats/frame_buffer.h