Instruction manual
HDE-3000 - 69 -
Details of the UYC File Format
All data contained in a UYC file is organized into words (unsigned 16 bit) with the low
(least significant) byte first (Intel format). The first 16 entries (words) in a UYC file is
defined as the header section. The header section contains image information such as
width, height, etc. The remainder of the file is the image data section, and it contains
three words of image data for each pixel pair (see introduction). The image data is
arranged into lines to facilitate faster transfer to the HDE-3000. Each line of image data
consists of a line of Y data, a line of C data, and a line of alpha data.
Header Section
Word Description Value
0 Signature 0 0x5955 (“YU”)
1 Signature 1 0x2043 (“ C”)
2 Version 0x0100 (1.00)
3 X size (image width) 0-0x02D0 (0-720)
4 Y size (image height) 0-0x0200 (0-512)
5 Compression type 0-1
6 - 15 Reserved for future use (always zero)
Signature 0, 1 These two words are used by the HDE-3000 to indicate that this
file is a UYC file. The words are arranged so that when a UYC file
is viewed with a hex editor the first four bytes appear as
“UYC<space>”.
Version This entry indicates the version of the UYC file.
X Size This entry indicates the width of the image in pixels. NOTE
that this parameter MUST be an even number to conform to the
pixel pair organization described in the introduction.
Y Size This entry indicates the height of the image in pixels (or lines).
NOTE that the HDE-3000 can display up to 479 lines of image
data in NTSC format and up to 512 lines of image data in PAL
format (see HDE-3000 Image Positioning).
Compression This entry indicates if the image data has been compressed and
which type of compression was used. Currently the only valid
values are 0 for no compression and 1 for RLE compression (see
UYC RLE Compression).
Note that X size must be even to conform to word boundaries. Graphic file
converters, when converting a file with an odd width, should add a column of pixels to
the right side of the picture and set the alpha values for these pixels to 0 (transparent).