[FFmpeg-cvslog] avcodec/frame: add AV_FRAME_FLAG_LOSSLESS

Marton Balint git at videolan.org
Mon Jan 6 00:05:23 EET 2025


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sun Dec  8 20:13:28 2024 +0100| [2d91f89445df4aa9f75325e3f79866e1c1bc188a] | committer: Marton Balint

avcodec/frame: add AV_FRAME_FLAG_LOSSLESS

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d91f89445df4aa9f75325e3f79866e1c1bc188a
---

 doc/APIchanges       | 3 +++
 libavcodec/version.h | 2 +-
 libavutil/frame.h    | 4 ++++
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index 714b5472a5..f28c55e99a 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07
 
 API changes, most recent first:
 
+2025-01-05 - xxxxxxxxxx - lavc 61.30.100 - frame.h
+  Add AV_FRAME_FLAG_LOSSLESS.
+
 2025-01-03 - xxxxxxxxxx - lavc 61.29.100 - codec_id.h
   Add AV_CODEC_ID_JPEGXL_ANIM.
 
diff --git a/libavcodec/version.h b/libavcodec/version.h
index 5183deb68b..aeb58e3fed 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -29,7 +29,7 @@
 
 #include "version_major.h"
 
-#define LIBAVCODEC_VERSION_MINOR  29
+#define LIBAVCODEC_VERSION_MINOR  30
 #define LIBAVCODEC_VERSION_MICRO 100
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 929dbb885e..993fa6b65a 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -665,6 +665,10 @@ typedef struct AVFrame {
  * is interlaced.
  */
 #define AV_FRAME_FLAG_TOP_FIELD_FIRST (1 << 4)
+/**
+ * A flag to mark frames which were encoded losslessly from the input.
+ */
+#define AV_FRAME_FLAG_LOSSLESS        (1 << 5)
 /**
  * @}
  */



More information about the ffmpeg-cvslog mailing list