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 10:11:24 +08:00
|
|
|
void ffEdidGetName(const uint8_t edid[128], FFstrbuf* name);
|
2023-08-09 10:32:35 +08:00
|
|
|
void ffEdidGetPhycialResolution(const uint8_t edid[128], uint32_t* width, uint32_t* height);
|
2023-08-09 10:52:12 +08:00
|
|
|
void ffEdidGetPhycialSize(const uint8_t edid[128], uint32_t* width, uint32_t* height); // in mm
|
2023-08-08 20:23:26 +08:00
|
|
|
|
|
|
|
|
#endif
|