iflYUV(3) Image Format Library C++ Reference Manual iflYUV(3)
iflYUV - YUV format image file
#include <ifl/iflYUV.h>
This Image Format Library provides support to read/write image files
stored in YUV format.
Supports 8-bit CCIR-601 NSTC/PAL YUV format in fields/frames. The CCIR601
active video sizes supported are:
NTSC 720 pixels x 486 lines (frame format)
720 pixels x 243 lines (field format)
PAL 720 pixels x 576 lines (frame format)
720 pixels x 288 lines (field format)
When creating YUV formatted files, the file name must specify the
particular standard to follow and the format for the output image. The
format for this specification follows that of iflRaw and is given below.
file.yuv#yuv%standard=<STD>%format=<FMT>
where
<STD> ::= PAL | NTSC
<FMT> ::= FIELD | FRAME
TAG VALUES FOR GET ITEM [Toc] [Back] The followng tag values are supported with getItem():
iflYUVstandard
iflStatus getItem(iflYUVstandard, int* val)
Returns either YUV_STANDARD_NTSC or YUV_STANDARD_PAL. This value
determines the allowable size of the image. See above for the PAL and
NTSC sizes.
Page 1
iflYUV(3) Image Format Library C++ Reference Manual iflYUV(3)
iflYUVformat
iflStatus getItem(iflYUVformat, int* val)
Returns either YUV_FORMAT_FIELD or YUV_FORMAT_FRAME. This value
determines whether the image size is a full frame (2 interleaved fields)
or single field. See above for the PAL and NTSC field and frame sizes.
TAG VALUES FOR SET ITEM [Toc] [Back] The followng tag values are supported with setItem():
iflYUVstandard
iflStatus setItem(iflYUVstandard, int val)
Sets the standard for this image to either YUV_STANDARD_NTSC or
YUV_STANDARD_PAL. This value determines the allowable size of the image.
iflYUVformat
iflStatus setItem(iflYUVformat, int val)
Sets the format to either YUV_FORMAT_FIELD or YUV_FORMAT_FRAME. This
value determines whether the image size is a full frame (2 interleaved
fields) or single field.
iflFile, ilFileImg
PPPPaaaaggggeeee 2222 [ Back ]
|