Re: [libav-devel] [PATCH 6/9] avcodec/extract_extradata: don't uninitialize the H2645Packet on every processed packet

2018-10-11 Thread James Almer
On 10/11/2018 7:12 AM, Luca Barbato wrote: > On 03/10/2018 21:15, Luca Barbato wrote: >> From: James Almer >> >> Based on hevc_parser code. This prevents repeated unnecessary allocations >> and frees on every packet processed by the bsf. >> >> Reviewed-by: Jun Zhao >> Signed-off-by: James Almer

Re: [libav-devel] [PATCH 6/9] avcodec/extract_extradata: don't uninitialize the H2645Packet on every processed packet

2018-10-11 Thread Luca Barbato
On 03/10/2018 21:15, Luca Barbato wrote: > From: James Almer > > Based on hevc_parser code. This prevents repeated unnecessary allocations > and frees on every packet processed by the bsf. > > Reviewed-by: Jun Zhao > Signed-off-by: James Almer > Signed-off-by: Luca Barbato > --- > libavcodec

Re: [libav-devel] [PATCH 1/2] lavc/qsvenc_jpeg: add async_depth support

2018-10-11 Thread Li, Zhong
> From: libav-devel [mailto:libav-devel-boun...@libav.org] On Behalf Of Luca > Barbato > Sent: Thursday, October 11, 2018 5:34 PM > To: libav-devel@libav.org > Subject: Re: [libav-devel] [PATCH 1/2] lavc/qsvenc_jpeg: add async_depth > support > > On 11/10/2018 11:26, Zhong Li wrote: > > Currently

Re: [libav-devel] [PATCH 1/2] lavc/qsvenc_jpeg: add async_depth support

2018-10-11 Thread Luca Barbato
On 11/10/2018 11:26, Zhong Li wrote: > Currently qsv (m)jpeg encoding is broken. > Regression introducing by the commit(id: c1bcd3): fix async support, > which requires the minimum async_depth to be 1, instead previous zero. > But the default async_depth of qsv (m)jpeg encoding is still initialized

[libav-devel] [PATCH 2/2] lavc/qsvenc_jpeg: set a default quality

2018-10-11 Thread Zhong Li
Keep alignment with vaapi mjpeg encoder. Signed-off-by: Zhong Li --- libavcodec/qsvenc_jpeg.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/qsvenc_jpeg.c b/libavcodec/qsvenc_jpeg.c index 7465bb9..bbfd009 100644 --- a/libavcodec/qsvenc_jpeg.c +++ b/libavcodec/qsvenc_jpeg.c

[libav-devel] [PATCH 1/2] lavc/qsvenc_jpeg: add async_depth support

2018-10-11 Thread Zhong Li
Currently qsv (m)jpeg encoding is broken. Regression introducing by the commit(id: c1bcd3): fix async support, which requires the minimum async_depth to be 1, instead previous zero. But the default async_depth of qsv (m)jpeg encoding is still initialized (mostly) as zero. This patch also abviously