Files
fastfetch/src/util/edidHelper.h
T

15 lines
464 B
C

#pragma once
#ifndef FF_INCLUDED_EDID_HELPER_H
#define FF_INCLUDED_EDID_HELPER_H
#include <stdint.h>
#include "util/FFstrbuf.h"
void ffEdidGetVendorAndModel(const uint8_t edid[128], FFstrbuf* result);
bool ffEdidGetName(const uint8_t edid[128], FFstrbuf* name);
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
#endif