[FFmpeg-devel] [PATCH v2 5/8] lavc/vvc_refs: Define FF_VVC_FRAME_FLAG* to h header

Anton Khirnov anton at khirnov.net
Mon Sep 23 07:34:06 EEST 2024


Quoting fei.w.wang-at-intel.com at ffmpeg.org (2024-09-18 09:10:28)
> diff --git a/libavcodec/vvc/refs.h b/libavcodec/vvc/refs.h
> index 8ae33d4a9a..fc8e0aae6d 100644
> --- a/libavcodec/vvc/refs.h
> +++ b/libavcodec/vvc/refs.h
> @@ -25,6 +25,11 @@
>  
>  #include "dec.h"
>  
> +#define FF_VVC_FRAME_FLAG_OUTPUT    (1 << 0)
> +#define FF_VVC_FRAME_FLAG_SHORT_REF (1 << 1)
> +#define FF_VVC_FRAME_FLAG_LONG_REF  (1 << 2)
> +#define FF_VVC_FRAME_FLAG_BUMPING   (1 << 3)

The FF_ prefix exists only for identifiers that need to be in public
headers. This is private, so the prefix is unnecessary.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list