A captured RGBA pixel buffer queued for the writer thread. More...
Public Attributes | |
| int | hdrTrc = 0 |
AVColorTransferCharacteristic (PQ=16, HLG=18) when isHdr. | |
| int | height = 0 |
| Frame height in pixels. | |
| bool | isHdr = false |
True when pixels holds 16-bit PQ/HLG-encoded BT.2020 RGBA (8 bytes/pixel). | |
| bool | isRawSnapshot = false |
| True if this frame should be saved as a raw RGBA file. | |
| bool | isSnapshot = false |
| True if this frame should be saved as a PNG snapshot. | |
| bool | isTiffSnapshot = false |
| True if this frame should be saved as a TIFF snapshot (16-bit HDR, 8-bit SDR). | |
| bool | isWebPSnapshot = false |
| True if this frame should be saved as a WebP snapshot. | |
| std::vector< unsigned char > | pixels |
RGBA pixel data (SDR 8-bit RGBA, or HDR 16-bit RGBA when isHdr). | |
| uint64_t | timelineFrame = 0 |
| Clock position expressed in nominal video frames. | |
| bool | usesTimelineClock = false |
| Frame timing follows an external real-time clock. | |
| int | width = 0 |
| Frame width in pixels. | |
A captured RGBA pixel buffer queued for the writer thread.
Holds a vertically-flipped copy of the framebuffer contents plus metadata for the async writer (dimensions, snapshot flag).
Definition at line 6438 of file ACMX2/acmx.cpp.
| int FrameData::hdrTrc = 0 |
AVColorTransferCharacteristic (PQ=16, HLG=18) when isHdr.
Definition at line 6447 of file ACMX2/acmx.cpp.
Referenced by ACView::startWriterThread().
| int FrameData::height = 0 |
Frame height in pixels.
Definition at line 6441 of file ACMX2/acmx.cpp.
Referenced by ACView::flushPBOs(), ACView::startWriterThread(), and ACView::~ACView().
| bool FrameData::isHdr = false |
True when pixels holds 16-bit PQ/HLG-encoded BT.2020 RGBA (8 bytes/pixel).
Definition at line 6446 of file ACMX2/acmx.cpp.
Referenced by ACView::startWriterThread().
| bool FrameData::isRawSnapshot = false |
True if this frame should be saved as a raw RGBA file.
Definition at line 6444 of file ACMX2/acmx.cpp.
Referenced by ACView::startWriterThread().
| bool FrameData::isSnapshot = false |
True if this frame should be saved as a PNG snapshot.
Definition at line 6442 of file ACMX2/acmx.cpp.
Referenced by ACView::flushPBOs(), ACView::startWriterThread(), and ACView::~ACView().
| bool FrameData::isTiffSnapshot = false |
True if this frame should be saved as a TIFF snapshot (16-bit HDR, 8-bit SDR).
Definition at line 6445 of file ACMX2/acmx.cpp.
Referenced by ACView::startWriterThread().
| bool FrameData::isWebPSnapshot = false |
True if this frame should be saved as a WebP snapshot.
Definition at line 6443 of file ACMX2/acmx.cpp.
Referenced by ACView::startWriterThread().
| std::vector<unsigned char> FrameData::pixels |
RGBA pixel data (SDR 8-bit RGBA, or HDR 16-bit RGBA when isHdr).
Definition at line 6439 of file ACMX2/acmx.cpp.
Referenced by ACView::flushPBOs(), ACView::startWriterThread(), and ACView::~ACView().
| uint64_t FrameData::timelineFrame = 0 |
Clock position expressed in nominal video frames.
Definition at line 6449 of file ACMX2/acmx.cpp.
Referenced by ACView::startWriterThread(), and ACView::~ACView().
| bool FrameData::usesTimelineClock = false |
Frame timing follows an external real-time clock.
Definition at line 6448 of file ACMX2/acmx.cpp.
Referenced by ACView::startWriterThread(), and ACView::~ACView().
| int FrameData::width = 0 |
Frame width in pixels.
Definition at line 6440 of file ACMX2/acmx.cpp.
Referenced by ACView::flushPBOs(), ACView::startWriterThread(), and ACView::~ACView().