From 67475cb6aa3af3a0c65351562c22f25814a45fcb Mon Sep 17 00:00:00 2001 From: scuri Date: Sun, 23 Aug 2009 23:57:50 +0000 Subject: *** empty log message *** --- include/im_file.h | 6 +++++- include/im_format_avi.h | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/im_file.h b/include/im_file.h index 33ef12e..58022eb 100644 --- a/include/im_file.h +++ b/include/im_file.h @@ -79,7 +79,6 @@ void imFileLineBufferInit(imFile* ifile); int imFileCheckConversion(imFile* ifile); - /* File Format SDK */ /** Number of lines to be accessed. @@ -103,6 +102,11 @@ void imFileLineBufferWrite(imFile* ifile, const void* data, int line, int plane) * \ingroup filesdk */ int imFileLineSizeAligned(int width, int bpp, int align); +/** Set the attributes FileFormat, FileCompression and FileImageCount. \n + * Used in imFileOpen and imFileOpenAs, and after the attribute list cleared with RemoveAll. + * \ingroup filesdk */ +void imFileSetBaseAttributes(imFile* ifile); + #if defined(__cplusplus) } diff --git a/include/im_format_avi.h b/include/im_format_avi.h index ae9fe99..535aa37 100644 --- a/include/im_format_avi.h +++ b/include/im_format_avi.h @@ -62,9 +62,9 @@ extern "C" { Attributes: FPS IM_FLOAT (1) (should set when writing, default 15) - AVIQuality IM_INT (1) [1-10000, default -1] (write only) - KeyFrameRate IM_INT (1) (write only) [key frame frequency, if 0 not using key frames, default 15] - DataRate IM_INT (1) (write only) [kilobits/second, default 2400] + AVIQuality IM_INT (1) [1-10000, default -1] (write only) [unsed if compression=CUSTOM] + KeyFrameRate IM_INT (1) (write only) [key frame frequency, if 0 not using key frames, default 15, unsed if compression=CUSTOM] + DataRate IM_INT (1) (write only) [kilobits/second, default 2400, unsed if compression=CUSTOM] Comments: Reads only the first video stream. Other streams are ignored. -- cgit v1.2.3