BCOS File FormatsProject Map
BCOS EDID File Format Specification
Version 1.0
(Preliminary Draft)
 

Contents

1                Overview
2                General File Structure
2.1                Generic File Header
2.2                Extended Header



1   Overview

Modern monitors are capable of telling a video card (and software using the video card) details about it's capabilities, including which video modes it supports and details for operating parameters. The information from the monitor is called "EDID" (or Extended Display Identification Data). In some cases it's necessary to store this information as a file, so that EDID can be obtained from the file if the video card doesn't support EDID, if the monitor doesn't support EDID, or if the monitor's EDID provides incorrect information.

The EDID consist of one or more 128-byte blocks of data. The contents of any 128-byte block of data is defined by the Video Electronics Standards Association (http://www.vesa.org), and won't be covered in this specification.


2   General File Structure

The basic structure of the file is described in Figure 2.1: File Layout.

_End of file

 Raw EDID blocks 

_Offset obtained from extended header
 Extended Header 
_Offset 32
 Generic File Header 
_Offset 0

Figure 2.1 - File Layout


2.1   Generic File Header

This is the native file format header defined in BCOS Native File Format Specification.


2.2   Extended Header

The extended header follows the generic file header, and is described in Table 2.1: Extended Header Format.

OffsetSizeDescription
  0x00000020
  4 bytes
  Offset of the first 128-byte block of EDID from start of file
  0x00000024
  4 bytes
  Number of 128-byte blocks of EDID present
Table 2.1 - Extended Header Format

Note: The "number of extended blocks" field at offset 0x7E in the first block (actually labelled as "Extension Flag" in the VESA specifications) should never be used. The "Number of 128-byte blocks of EDID present" field in the extended header is authoritative.


Generated on Sat Aug 1 16:05:47 2009