Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-08-08 Thread Martin Storsjö
On Mon, 8 Aug 2022, Martin Storsjö wrote: From: Anton Khirnov Bump the version requirement to 122, which introduced b_full_recon. --- configure| 2 +- libavcodec/libx264.c | 55 +++- 2 files changed, 55 insertions(+), 2 deletions(-) Sorry, d

[FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-08-08 Thread Martin Storsjö
From: Anton Khirnov Bump the version requirement to 122, which introduced b_full_recon. --- configure| 2 +- libavcodec/libx264.c | 55 +++- 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/configure b/configure index eb413a6716

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-28 Thread James Almer
On 7/28/2022 11:24 AM, Anton Khirnov wrote: Bump the version requirement to 122, which introduced b_full_recon. --- configure| 2 +- libavcodec/libx264.c | 55 +++- 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/configure b

[FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-28 Thread Anton Khirnov
Bump the version requirement to 122, which introduced b_full_recon. --- configure| 2 +- libavcodec/libx264.c | 55 +++- 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 6629d14099..50d73a5325 100755 --

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-19 Thread Anton Khirnov
Quoting James Almer (2022-07-18 14:23:58) > On 7/18/2022 4:12 AM, Anton Khirnov wrote: > > --- > > libavcodec/libx264.c | 52 +++- > > 1 file changed, 51 insertions(+), 1 deletion(-) > > > > diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c > > ind

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-19 Thread Michael Niedermayer
On Mon, Jul 18, 2022 at 08:29:56PM +0200, Anton Khirnov wrote: > Quoting James Almer (2022-07-18 20:18:16) > > > > > > On 7/18/2022 3:15 PM, Anton Khirnov wrote: > > > Quoting James Almer (2022-07-18 14:23:58) > > >> On 7/18/2022 4:12 AM, Anton Khirnov wrote: > > >>> --- > > >>>libavcodec/lib

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-18 Thread Anton Khirnov
Quoting James Almer (2022-07-18 20:18:16) > > > On 7/18/2022 3:15 PM, Anton Khirnov wrote: > > Quoting James Almer (2022-07-18 14:23:58) > >> On 7/18/2022 4:12 AM, Anton Khirnov wrote: > >>> --- > >>>libavcodec/libx264.c | 52 +++- > >>>1 file change

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-18 Thread James Almer
On 7/18/2022 3:15 PM, Anton Khirnov wrote: Quoting James Almer (2022-07-18 14:23:58) On 7/18/2022 4:12 AM, Anton Khirnov wrote: --- libavcodec/libx264.c | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx264.c

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-18 Thread Anton Khirnov
Quoting James Almer (2022-07-18 14:23:58) > On 7/18/2022 4:12 AM, Anton Khirnov wrote: > > --- > > libavcodec/libx264.c | 52 +++- > > 1 file changed, 51 insertions(+), 1 deletion(-) > > > > diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c > > ind

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-18 Thread Anton Khirnov
Quoting James Almer (2022-07-18 19:41:27) > Why not ff_encode_alloc_frame() for this? Can > csp_to_pixfmt(pic_out.img.i_csp) be different than ctx->pix_fmt? Yes, the reconstructed frame is in x264's internal format, which will typically be some flavor of nv12, even if the input format is fully pl

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-18 Thread James Almer
On 7/18/2022 4:12 AM, Anton Khirnov wrote: --- libavcodec/libx264.c | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 98ec030865..5e360682e6 100644 --- a/libavcodec/libx264.c +++ b/

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-18 Thread James Almer
On 7/18/2022 4:12 AM, Anton Khirnov wrote: --- libavcodec/libx264.c | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 98ec030865..5e360682e6 100644 --- a/libavcodec/libx264.c +++ b/

[FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-18 Thread Anton Khirnov
--- libavcodec/libx264.c | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 98ec030865..5e360682e6 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -311,6 +311,25 @@ stati