[FFmpeg-devel] [PATCH] lavc: add API for exporting reconstructed frames from encoders

James Almer jamrial at gmail.com
Tue Jul 19 00:29:32 EEST 2022


On 7/18/2022 3:05 PM, Anton Khirnov wrote:
> ---
>   doc/APIchanges             |  5 +++++
>   libavcodec/avcodec.c       | 12 ++++++++++++
>   libavcodec/avcodec.h       | 20 ++++++++++++++++----
>   libavcodec/codec.h         |  8 ++++++++
>   libavcodec/decode.c        |  4 +---
>   libavcodec/decode.h        |  5 +++++
>   libavcodec/encode.c        | 25 +++++++++++++++++++++++++
>   libavcodec/encode.h        |  5 +++++
>   libavcodec/internal.h      |  8 ++++++++
>   libavcodec/options_table.h |  1 +
>   libavcodec/version.h       |  2 +-
>   11 files changed, 87 insertions(+), 8 deletions(-)
> 
> diff --git a/doc/APIchanges b/doc/APIchanges
> index 4e218af94e..b50fece404 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -14,6 +14,11 @@ libavutil:     2021-04-27
>   
>   API changes, most recent first:
>   
> +2022-07-xx - xxxxxxxxxx - lavc 59.40.100 - avcodec.h codec.h
> +  Add AV_CODEC_FLAG_RECON_FRAME and AV_CODEC_CAP_ENCODER_RECON_FRAME.
> +  avcodec_receive_frame() may now be used on encoders when
> +  AV_CODEC_FLAG_RECON_FRAME is active.
> +
>   2022-07-xx - xxxxxxxxxx - lavu 57.30.100 - frame.h
>     av_frame_make_writable() may now be called on non-refcounted
>     frames and will make a refcounted copy out of them.

LGTM


More information about the ffmpeg-devel mailing list