Re: [libav-devel] [PATCH 3/5] libdav1d: use a custom picture allocator

2019-03-22 Thread Luca Barbato
On 15/03/2019 23:43, James Almer wrote: Replaces the libdav1d internal allocator. It uses an AVBufferPool to reduce the amount of allocated buffers. About 5% speed up when decoding 720p or higher streams. --- libavcodec/libdav1d.c | 60 +++ 1 file

Re: [libav-devel] [PATCH 1/5] libdav1d: route dav1d internal logs through av_log()

2019-03-22 Thread Luca Barbato
On 15/03/2019 23:43, James Almer wrote: Bump the minimum required version to the first one with the logger API callback. --- configure | 2 +- libavcodec/libdav1d.c | 9 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/configure b/configure index

Re: [libav-devel] [PATCH 4/5] libdav1d: consistently use AVERROR return values

2019-03-22 Thread Luca Barbato
On 15/03/2019 23:43, James Almer wrote: --- libavcodec/libdav1d.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) Probably ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 5/5] libdav1d: unref the frame on failure

2019-03-22 Thread Luca Barbato
On 15/03/2019 23:44, James Almer wrote: --- libavcodec/libdav1d.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index 83d5c97bc..5177b884c 100644 --- a/libavcodec/libdav1d.c +++ b/libavcodec/libdav1d.c @@ -230,7