summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorscuri <scuri>2009-08-23 23:57:50 +0000
committerscuri <scuri>2009-08-23 23:57:50 +0000
commit67475cb6aa3af3a0c65351562c22f25814a45fcb (patch)
treeea2698cddce9503641e5546166dbbb51d8d677db /include
parent36e80e6481f7518e8005527d8965148039ba8dc2 (diff)
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r--include/im_file.h6
-rw-r--r--include/im_format_avi.h6
2 files changed, 8 insertions, 4 deletions
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.