2023-08-08 20:23:26 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
2026-01-06 09:48:38 +08:00
|
|
|
#include "common/FFstrbuf.h"
|
2023-08-08 20:23:26 +08:00
|
|
|
|
2023-08-09 22:59:23 +08:00
|
|
|
void ffEdidGetVendorAndModel(const uint8_t edid[128], FFstrbuf* result);
|
|
|
|
|
bool ffEdidGetName(const uint8_t edid[128], FFstrbuf* name);
|
2024-04-18 09:52:55 +08:00
|
|
|
void ffEdidGetPreferredResolutionAndRefreshRate(const uint8_t edid[128], uint32_t* width, uint32_t* height, double* refreshRate);
|
2023-08-09 13:25:22 +08:00
|
|
|
void ffEdidGetPhysicalResolution(const uint8_t edid[128], uint32_t* width, uint32_t* height);
|
|
|
|
|
void ffEdidGetPhysicalSize(const uint8_t edid[128], uint32_t* width, uint32_t* height); // in mm
|
2024-01-10 16:34:14 +08:00
|
|
|
void ffEdidGetSerialAndManufactureDate(const uint8_t edid[128], uint32_t* serial, uint16_t* year, uint16_t* week);
|
2023-08-14 20:26:08 +08:00
|
|
|
bool ffEdidGetHdrCompatible(const uint8_t* edid, uint32_t length);
|
2026-03-13 09:39:28 +08:00
|
|
|
bool ffEdidIsValid(const uint8_t edid[128], uint32_t length);
|