Re: [libav-devel] [PATCH 3/3] Support AV1 encoding using libaom

2018-03-12 Thread Diego Biurrun
On Mon, Mar 12, 2018 at 11:30:34AM +0100, Hendrik Leppkes wrote: > On Mon, Mar 12, 2018 at 11:27 AM, Diego Biurrun wrote: > >> --- a/libavcodec/avcodec.h > >> +++ b/libavcodec/avcodec.h > >> @@ -2551,6 +2551,10 @@ typedef struct AVCodecContext { > >> #define

Re: [libav-devel] [PATCH] configure: Don't assume an aligned stack on clang on windows

2018-03-12 Thread Luca Barbato
On 12/03/2018 23:38, Martin Storsjö wrote: If we'd enable a 16 byte aligned stack, clang/llvm would also assume that alignment everywhere and produce code that strictly requires it. That would require adding realignment (via attribute_align_arg) on every single public library function or enable

[libav-devel] [PATCH] configure: Don't assume an aligned stack on clang on windows

2018-03-12 Thread Martin Storsjö
If we'd enable a 16 byte aligned stack, clang/llvm would also assume that alignment everywhere and produce code that strictly requires it. That would require adding realignment (via attribute_align_arg) on every single public library function or enable -mstackrealign (which does the same on every

Re: [libav-devel] [PATCH] Support AV1 encoding using libaom

2018-03-12 Thread Luca Barbato
On 12/03/2018 14:00, Diego Biurrun wrote: On Mon, Mar 12, 2018 at 12:11:22PM +0100, Luca Barbato wrote: --- /dev/null +++ b/libavcodec/libaomenc.c @@ -0,0 +1,583 @@ +// provide dummy value to initialize wrapper, values will be updated each _encode() +aom_img_wrap(>rawimg,

Re: [libav-devel] [PATCH] Support AV1 encoding using libaom

2018-03-12 Thread Diego Biurrun
On Mon, Mar 12, 2018 at 12:11:22PM +0100, Luca Barbato wrote: > --- /dev/null > +++ b/libavcodec/libaomenc.c > @@ -0,0 +1,583 @@ > +// provide dummy value to initialize wrapper, values will be updated > each _encode() > +aom_img_wrap(>rawimg, ff_aom_pixfmt_to_imgfmt(avctx->pix_fmt), > +

Re: [libav-devel] [PATCH 3/3] Support AV1 encoding using libaom

2018-03-12 Thread Diego Biurrun
On Mon, Mar 12, 2018 at 12:10:10PM +0100, Luca Barbato wrote: > On 12/03/2018 11:27, Diego Biurrun wrote: > > On Thu, Mar 08, 2018 at 09:50:40PM +0100, Luca Barbato wrote: > > > --- > > > configure | 1 + > > > libavcodec/Makefile| 1 + > > > libavcodec/allcodecs.c | 2

[libav-devel] [PATCH] Support AV1 encoding using libaom

2018-03-12 Thread Luca Barbato
--- configure | 1 + libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 2 +- libavcodec/avcodec.h | 4 + libavcodec/libaomenc.c | 583 + 5 files changed, 590 insertions(+), 1 deletion(-) create mode 100644

Re: [libav-devel] [PATCH 3/3] Support AV1 encoding using libaom

2018-03-12 Thread Luca Barbato
On 12/03/2018 11:27, Diego Biurrun wrote: On Thu, Mar 08, 2018 at 09:50:40PM +0100, Luca Barbato wrote: --- configure | 1 + libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 2 +- libavcodec/avcodec.h | 4 + libavcodec/libaomenc.c | 584

Re: [libav-devel] [PATCH 3/3] Support AV1 encoding using libaom

2018-03-12 Thread Hendrik Leppkes
On Mon, Mar 12, 2018 at 11:27 AM, Diego Biurrun wrote: >> --- a/libavcodec/avcodec.h >> +++ b/libavcodec/avcodec.h >> @@ -2551,6 +2551,10 @@ typedef struct AVCodecContext { >> #define FF_PROFILE_HEVC_MAIN_STILL_PICTURE 3 >> #define FF_PROFILE_HEVC_REXT

Re: [libav-devel] [PATCH 3/3] Support AV1 encoding using libaom

2018-03-12 Thread Diego Biurrun
On Thu, Mar 08, 2018 at 09:50:40PM +0100, Luca Barbato wrote: > --- > configure | 1 + > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 2 +- > libavcodec/avcodec.h | 4 + > libavcodec/libaomenc.c | 584 > + > 5