@@ -14,6 +14,10 @@ libavutil: 2021-04-27
API changes, most recent first:
+2022-06-28 - xxxxxxxxx - lavc 59.35.100 - avcodec.h
+ Add the icc_profiles option to AVCodecContext, to enable automatic reading
+ and writing of embedded ICC profiles in image files.
+
2022-06-12 - xxxxxxxxxx - lavf 59.25.100 - avio.h
Add avio_vprintf(), similar to avio_printf() but allow to use it
from within a function taking a variable argument list as input.
@@ -979,6 +979,16 @@ typedef struct AVCodecContext {
*/
enum AVChromaLocation chroma_sample_location;
+ /**
+ * Whether to decode/encode ICC profiles. If set, libavcodec will
+ * generate/parse ICC profiles as appropriate for the type of file. No
+ * effect on codecs which cannot contain embedded ICC profiles, or when
+ * compiled without support for lcms2.
+ * - encoding: Set by user
+ * - decoding: Set by user
+ */
+ int icc_profiles;
+
/**
* Number of slices.
* Indicates number of picture subdivisions. Used for parallelized
@@ -29,7 +29,7 @@
#include "version_major.h"
-#define LIBAVCODEC_VERSION_MINOR 34
+#define LIBAVCODEC_VERSION_MINOR 35
#define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \