2023-08-08 20:23:26 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#ifndef FF_INCLUDED_EDID_HELPER_H
|
|
|
|
|
#define FF_INCLUDED_EDID_HELPER_H
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
2023-08-09 09:00:29 +08:00
|
|
|
#include "util/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);
|
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
|
2023-08-11 22:04:26 +08:00
|
|
|
bool ffEdidGetHdrCompatible(const uint8_t edid[128], uint32_t length);
|
2023-08-08 20:23:26 +08:00
|
|
|
|
|
|
|
|
#endif
|