[FFmpeg-devel] [PATCH 1/2] h264: re-add define for FF_PROFILE_H264_HIGH_444

Jason Garrett-Glaser jason
Tue Feb 1 22:12:24 CET 2011


On Tue, Feb 1, 2011 at 1:11 PM, Janne Grunau <janne-ffmpeg at jannau.net> wrote:
> I thought FF_ defines were considered internal
>
> Janne
> --8<--
> same value as FF_PROFILE_H264_HIGH_444_PREDICTIVE for backwards
> compatibility
> ---
> ?libavcodec/avcodec.h | ? ?3 +++
> ?1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index d0de610..6b93598 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -2274,6 +2274,9 @@ typedef struct AVCodecContext {
> ?#define FF_PROFILE_H264_HIGH_422_INTRA ? ? ? (122|FF_PROFILE_H264_INTRA)
> ?#define FF_PROFILE_H264_HIGH_444_PREDICTIVE ?244
> ?#define FF_PROFILE_H264_HIGH_444_INTRA ? ? ? (244|FF_PROFILE_H264_INTRA)
> +#if LIBAVCODEC_VERSION_MAJOR < 53
> +#define FF_PROFILE_H264_HIGH_444 ? ? ? ? ? ? FF_PROFILE_H264_HIGH_444_PREDICTIVE
> +#endif
> ?#define FF_PROFILE_H264_CAVLC_444 ? ? ? ? ? ?44

What about the fact that we use the profile_idc to tell the difference
between Predictive Lossless and the old lossless mode, internally?
I.e. between 444 and 444 Predictive.

Jason



More information about the ffmpeg-devel mailing list