[FFmpeg-devel] [PATCH 1/4] avcodec/frame: add AV_FRAME_FLAG_LOSSLESS

阿儒 a0909518790 at gmail.com
Sun Dec 15 02:06:31 EET 2024


a0909518790 at gmail.com <cus at passwd.hu>於 2024年12月15日 週日,08:03寫道:

> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  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 3a75b803a9..bfba0946d3 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:
>
> +2024-12-xx - xxxxxxxxxx - lavc 61.27.100 - frame.h
> +  Add AV_FRAME_FLAG_LOSSLESS.
> +
>  2024-12-13 - xxxxxxxxxx - lavu 59.50.100 - channel_layout.h
>    Add AV_CH_LAYOUT_9POINT1POINT6 and AV_CHANNEL_LAYOUT_9POINT1POINT6.
>
> diff --git a/libavcodec/version.h b/libavcodec/version.h
> index 26ee41eb1f..735c8b813c 100644
> --- a/libavcodec/version.h
> +++ b/libavcodec/version.h
> @@ -29,7 +29,7 @@
>
>  #include "version_major.h"
>
> -#define LIBAVCODEC_VERSION_MINOR  26
> +#define LIBAVCODEC_VERSION_MINOR  27
>  #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 c107f43bc0..a469e54e20 100644
> --- a/libavutil/frame.h
> +++ b/libavutil/frame.h
> @@ -651,6 +651,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)
>  /**
>   * @}
>   */
> --
> 2.43.0
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list