summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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.