Use XDMA ring slots for frame delivery

This commit is contained in:
Mark.lin
2026-06-10 15:06:34 +08:00
parent 7918b79480
commit 8a13e8b0e8
6 changed files with 169 additions and 144 deletions
-5
View File
@@ -190,15 +190,10 @@ typedef struct
{
const void *data; /* Native frame buffer. Valid only during the frame callback. */
uint64_t data_size; /* Total bytes available from data. */
int stride; /* Bytes per row for plane 0. */
int width; /* Frame width in pixels. */
int height; /* Frame height in pixels. */
int pixel_format; /* gvfg_pixel_format_t value. */
int bit_depth; /* Bits per color channel of the native frame. */
int plane_count; /* Number of valid planes. */
uint32_t plane_offset_bytes[GVFG_MAX_PLANES];
uint32_t plane_stride_bytes[GVFG_MAX_PLANES];
uint64_t pts_ns; /* Presentation timestamp in nanoseconds. */
uint64_t frame_id; /* Monotonic frame identifier from the backend. */
} gvfg_frame_t;