Re: [FFmpeg-devel] [aarch64] improve hscale by 50% with multi-threading

2020-07-29 Thread Sebastian Pop
On Sat, Jul 18, 2020 at 1:35 AM Michael Niedermayer wrote: > Multithreading support should be added in a architecture independant way > > Attached patch moves helper threads up from hscale to chr_h_scale and lum_h_scale in an architecture independent way. This new version of the patch improves pe

Re: [FFmpeg-devel] Create and populate AVStream side data packet with contents of ISOBMFF edit list entries

2020-07-29 Thread Andreas Rheinhardt
Matthew Szatmary: > On Wed, Jul 29, 2020 at 12:22 PM Andreas Rheinhardt > wrote: >> >> Matthew Szatmary: >>> Create and populate AVStream side data packet with contents of ISOBMFF >>> edit list entries >>> >>> Signed-off-by: Matthew Szatmary >>> --- >>> Changelog | 1 + >>> libavcodec

Re: [FFmpeg-devel] [PATCH 1/2] libsvt-av1: Consistently use - rather than _

2020-07-29 Thread James Almer
On 7/29/2020 7:50 PM, Mark Thompson wrote: > Matching libaom-av1. > --- > libavcodec/libsvt_av1.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/libavcodec/libsvt_av1.c b/libavcodec/libsvt_av1.c > index c7ae5f9691..3229551d2b 100644 > --- a/libavcodec/libsvt_a

Re: [FFmpeg-devel] [PATCH V2 1/2] dnn/native: add native support for avg_pool

2020-07-29 Thread Fu, Ting
> -Original Message- > From: ffmpeg-devel On Behalf Of Guo, > Yejun > Sent: Thursday, July 30, 2020 10:02 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V2 1/2] dnn/native: add native support for > avg_pool > > > > > -Original Message

Re: [FFmpeg-devel] [PATCH V2 1/2] dnn/native: add native support for avg_pool

2020-07-29 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of Fu, Ting > Sent: 2020年7月30日 9:43 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V2 1/2] dnn/native: add native support for > avg_pool > > > > > -Original Message- > > From: ffmpeg-de

Re: [FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: mark the field flag if framerate > 30FPS

2020-07-29 Thread lance . lmwang
On Wed, Jul 29, 2020 at 10:16:33PM +0200, Marton Balint wrote: > > > > > > > > > > > if you tested with SDI with TC. > > > > > > > > > 00:00:00:24 > > > > > > > > > 00:00:00:24 > > > > > > > > > 00:00:00:00 > > > > > > > > > 00:00:00:00 > > I did tests, and depending on which timecode you select

Re: [FFmpeg-devel] [PATCH V2 1/2] dnn/native: add native support for avg_pool

2020-07-29 Thread Fu, Ting
> -Original Message- > From: ffmpeg-devel On Behalf Of Ting Fu > Sent: Wednesday, July 29, 2020 10:11 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH V2 1/2] dnn/native: add native support for > avg_pool > > Not support pooling strides in channel dimension now. > It ca

[FFmpeg-devel] [PATCH] libsvt_av1: remove forced-idr option

2020-07-29 Thread Lynne
This option is directly copy-pasted from the SVT1-HEVC wrapper and has no place in the options for an AV1 encoder. AV1 has no H.264/5 IDR frames nor anything like them. All this option does is change all real keyframes to an intra-only AV1 frame, which is not seekable. Hence, any streams encoded

Re: [FFmpeg-devel] Create and populate AVStream side data packet with contents of ISOBMFF edit list entries

2020-07-29 Thread Thierry Foucu
On Wed, Jul 29, 2020 at 4:02 PM Matthew Szatmary wrote: > Create and populate AVStream side data packet with contents of ISOBMFF > edit list entries > > Signed-off-by: Matthew Szatmary > --- > Changelog | 1 + > libavcodec/packet.h | 15 +++ > libavformat/mov.c | 15 +++

Re: [FFmpeg-devel] [PATCH] [RFC] lavc, lavfmt: add FLIF decoding support

2020-07-29 Thread Anamitra Ghorui
It appears that the patch is faulty. I will be reposting it. Sorry for the inconvenience. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ

Re: [FFmpeg-devel] Create and populate AVStream side data packet with contents of ISOBMFF edit list entries

2020-07-29 Thread Matthew Szatmary
Create and populate AVStream side data packet with contents of ISOBMFF edit list entries Signed-off-by: Matthew Szatmary --- Changelog | 1 + libavcodec/packet.h | 15 +++ libavformat/mov.c | 15 +++ 3 files changed, 31 insertions(+) diff --git a/Changelog b

Re: [FFmpeg-devel] [PATCH] avcodec/options_table: make AVCodecContext->level search for child constants

2020-07-29 Thread James Almer
On 7/29/2020 7:08 PM, James Almer wrote: > This change makes it possible for child encoders to define custom level > option names which can be used for setting the AVCodecContext->level. > > Based on 337fe4bcc2 > > Signed-off-by: James Almer > --- > libavcodec/options_table.h | 4 ++-- > 1 file

Re: [FFmpeg-devel] Create and populate AVStream side data packet with contents of ISOBMFF edit list entries

2020-07-29 Thread Matthew Szatmary
On Wed, Jul 29, 2020 at 12:22 PM Andreas Rheinhardt wrote: > > Matthew Szatmary: > > Create and populate AVStream side data packet with contents of ISOBMFF > > edit list entries > > > > Signed-off-by: Matthew Szatmary > > --- > > Changelog | 1 + > > libavcodec/packet.h | 14 +

[FFmpeg-devel] [PATCH 1/2] libsvt-av1: Consistently use - rather than _

2020-07-29 Thread Mark Thompson
Matching libaom-av1. --- libavcodec/libsvt_av1.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/libsvt_av1.c b/libavcodec/libsvt_av1.c index c7ae5f9691..3229551d2b 100644 --- a/libavcodec/libsvt_av1.c +++ b/libavcodec/libsvt_av1.c @@ -483,7 +483,7 @@ stat

[FFmpeg-devel] [PATCH 2/2] libsvt-av1: Fix the documentation to match the actual options

2020-07-29 Thread Mark Thompson
--- doc/encoders.texi | 44 +++-- libavcodec/libsvt_av1.c | 6 +++--- 2 files changed, 37 insertions(+), 13 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index af7d2ba983..d05ecca8db 100644 --- a/doc/encoders.texi +++ b/doc/encoders.tex

Re: [FFmpeg-devel] [PATCH 0/4] [mips]: Adapt clang compiler for mips.

2020-07-29 Thread Michael Niedermayer
On Wed, Jul 29, 2020 at 06:10:57PM +0800, Shiyou Yin wrote: > Fixed four prob encountered when compiling ffmpeg with clang on mips. > configure: ./configure --disable-mmi --cc=clang --cxx=clang++ --ld=clang > > [PATCH 1/4] [mips]: Fix register constraint error reported by clang. > [PATCH 2/4] [mi

Re: [FFmpeg-devel] [PATCH] avformat/apm: fix APM_FILE_HEADER_SIZE value

2020-07-29 Thread Zane van Iperen
On Wed, 29 Jul 2020 15:09:28 +0200 "Andreas Rheinhardt" wrote: > > Zane van Iperen: > > On Wed, 29 Jul 2020 12:14:40 + > > "Zane van Iperen" wrote: > > > >> > >> Value was incorrectly changed in > >> 3bf1be210150b435c51c7c8eb8fd05a1fca08814. > >> > > > > I'll apply this tomorrow if no objec

[FFmpeg-devel] [PATCH] avcodec/options_table: make AVCodecContext->level search for child constants

2020-07-29 Thread James Almer
This change makes it possible for child encoders to define custom level option names which can be used for setting the AVCodecContext->level. Based on 337fe4bcc2 Signed-off-by: James Almer --- libavcodec/options_table.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat/url: fix logic for removing ".." path components

2020-07-29 Thread Nicolas George
Marton Balint (12020-07-29): > Thanks for working on this. I agree that proper (as RFC compliant as it can > be) URL parsing is needed here. Probably we should clearly document > differences from RFC compliant parsing, if we cannot do it entirely RFC > compliantly... Indeed. Unfortunately, that ma

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/j2kenc: Encoding up to 16 bits

2020-07-29 Thread Michael Niedermayer
On Wed, Jul 29, 2020 at 09:19:10PM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > This patch allows the JPEG2000 encoder to > encode images to up to 16 bits. > --- > libavcodec/j2kenc.c | 99 ++--- > 1 file changed, 57 insertions(+), 42

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: make specifying thread_queue_size turn on threaded input

2020-07-29 Thread Marton Balint
On Mon, 27 Jul 2020, Marton Balint wrote: On Sat, 18 Jul 2020, Marton Balint wrote: Threaded input can increase smoothness of e.g. x11grab significantly. Before this patch, in order to activate threaded input the user had to specify a "dummy" additional input, with this change it is no l

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: increase initial program date time precision

2020-07-29 Thread Marton Balint
On Tue, 28 Jul 2020, Steven Liu wrote: Marton Balint 于2020年7月28日周二 上午4:15写道: On Sun, 19 Jul 2020, Marton Balint wrote: > > > On Sun, 19 Jul 2020, Steven Liu wrote: > >> Zhao Zhili 于2020年7月19日周日 下午6:26写道: >>> >>> >>> >>> > On Jul 19, 2020, at 5:20 PM, Steven Liu wrote: >>> > >>> > Marto

Re: [FFmpeg-devel] [PATCH 2/2] libavcodec/pgxdec Fix pix format selection error

2020-07-29 Thread Michael Niedermayer
On Wed, Jul 29, 2020 at 09:19:11PM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > This patch makes the pgx decoder select the correct > byte order instead of selecting big endian format for > 16 bit images. > --- > libavcodec/pgxdec.c | 2 +- > 1 file changed, 1 insertion(+),

Re: [FFmpeg-devel] [PATCH] libsvt_av1: remove forced-idr option

2020-07-29 Thread James Almer
On 7/29/2020 5:47 PM, Lynne wrote: > This option is directly copy-pasted from the SVT1-HEVC wrapper and has > no place in the options for an AV1 encoder. > > AV1 has no H.264/5 IDR frames nor anything like them. > All this option does is change all real keyframes to an intra-only > AV1 frame, whi

Re: [FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: mark the field flag if framerate > 30FPS

2020-07-29 Thread Marton Balint
> > > > > if you tested with SDI with TC. > > > > > 00:00:00:24 > > > > > 00:00:00:24 > > > > > 00:00:00:00 > > > > > 00:00:00:00 I did tests, and depending on which timecode you select, and the timecode formats which are available in the SDI signal, this really can be the case, so you were

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat/url: fix logic for removing ".." path components

2020-07-29 Thread Marton Balint
On Wed, 29 Jul 2020, Nicolas George wrote: Zlomek, Josef (12020-07-29): I also noticed that there are many more bugs in ff_make_absolute_url() I just fixed one of them. I am looking forward for your complete fix. I think the key to a working version is to properly parse URLs first. Then we

Re: [FFmpeg-devel] [PATCH] [RFC] lavc, lavfmt: add FLIF decoding support

2020-07-29 Thread Andreas Rheinhardt
Anamitra Ghorui: > This patch implements non interlaced decoding of FLIF16 images with all > transforms except for one, FrameLookback which is being tested. > > Several test files have been attached. The above mentioned transform > and interlaced decoding is being tested and will be implemented sh

Re: [FFmpeg-devel] Create and populate AVStream side data packet with contents of ISOBMFF edit list entries

2020-07-29 Thread Andreas Rheinhardt
Matthew Szatmary: > Create and populate AVStream side data packet with contents of ISOBMFF > edit list entries > > Signed-off-by: Matthew Szatmary > --- > Changelog | 1 + > libavcodec/packet.h | 14 ++ > libavformat/mov.c | 17 - > 3 files changed, 31 in

Re: [FFmpeg-devel] AVWriter again (was: v2 1/2] avformat/url: check double dot is not to parent directory)

2020-07-29 Thread Alexander Strasser
On 2020-07-28 20:43 +0800, zhilizhao wrote: > > On Jul 28, 2020, at 8:02 PM, Nicolas George wrote: > > > > zhilizhao (12020-07-28): > >> I think jb is referring to > >> > >> FILE *open_memstream(char **bufp, size_t *sizep); > >> https://linux.die.net/man/3/open_memstream > >>

[FFmpeg-devel] Create and populate AVStream side data packet with contents of ISOBMFF edit list entries

2020-07-29 Thread Matthew Szatmary
Create and populate AVStream side data packet with contents of ISOBMFF edit list entries Signed-off-by: Matthew Szatmary --- Changelog | 1 + libavcodec/packet.h | 14 ++ libavformat/mov.c | 17 - 3 files changed, 31 insertions(+), 1 deletion(-) diff --g

Re: [FFmpeg-devel] [PATCH] tests/imgutils: test the output of av_image_fill_* functions

2020-07-29 Thread James Almer
On 7/27/2020 5:03 PM, James Almer wrote: > Signed-off-by: James Almer > --- > Should prevent regressions like the one fixed in 5ce47d0aad > libavutil/tests/imgutils.c | 38 > tests/ref/fate/imgutils| 183 + > 2 files changed, 221 insertions(+) Wi

Re: [FFmpeg-devel] [PATCH v2 1/2] libavcodec: add support for animated WebP decoding

2020-07-29 Thread Zlomek, Josef
On Wed, Jul 29, 2020 at 5:43 PM Lynne wrote: > Jul 29, 2020, 14:05 by jo...@pex.com: > > > +if (canvas->format == AV_PIX_FMT_ARGB) { > > +height = canvas->height; > > +memset(canvas->data[0], 0, height * canvas->linesize[0]); > > > > At least some of those image-wide memsets c

[FFmpeg-devel] [PATCH 1/2] libavcodec/j2kenc: Encoding up to 16 bits

2020-07-29 Thread gautamramk
From: Gautam Ramakrishnan This patch allows the JPEG2000 encoder to encode images to up to 16 bits. --- libavcodec/j2kenc.c | 99 ++--- 1 file changed, 57 insertions(+), 42 deletions(-) diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index 38643c9a

[FFmpeg-devel] [PATCH 2/2] libavcodec/pgxdec Fix pix format selection error

2020-07-29 Thread gautamramk
From: Gautam Ramakrishnan This patch makes the pgx decoder select the correct byte order instead of selecting big endian format for 16 bit images. --- libavcodec/pgxdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pgxdec.c b/libavcodec/pgxdec.c index 93b9f4e7a

Re: [FFmpeg-devel] [PATCH 0/5 v2] 22.2 channel layout support for AAC decoding

2020-07-29 Thread Lynne
Jul 29, 2020, 13:39 by jee...@gmail.com: > Now that we actually have sample(s) for channel_config 13, it was possible > to see at which various points the AAC decoder fails attempting to parse > the bit stream. > > As the feature `-request_channel_layout 9223372036854775808` > (AV_CH_LAYOUT_NATIV

[FFmpeg-devel] [PATCH V2 1/2] dnn/native: add native support for avg_pool

2020-07-29 Thread Ting Fu
Not support pooling strides in channel dimension now. It can be tested with the model generated with below python script: import tensorflow as tf import numpy as np import imageio in_img = imageio.imread('input_odd.jpg') in_img = in_img.astype(np.float32)/255.0 in_data = in_img[np.newaxis, :] x

[FFmpeg-devel] [PATCH V2 2/2] FATE/dnn: add unit test for dnn avgpool layer

2020-07-29 Thread Ting Fu
'make fate-dnn-layer-avgpool' to run the test Signed-off-by: Ting Fu --- tests/dnn/.gitignore | 1 + tests/dnn/Makefile | 1 + tests/dnn/dnn-layer-avgpool-test.c | 202 + tests/fate/dnn.mak | 5 + 4 files changed, 20

Re: [FFmpeg-devel] [PATCH] avformat/apm: fix APM_FILE_HEADER_SIZE value

2020-07-29 Thread Andreas Rheinhardt
Zane van Iperen: > On Wed, 29 Jul 2020 12:14:40 + > "Zane van Iperen" wrote: > >> >> Value was incorrectly changed in >> 3bf1be210150b435c51c7c8eb8fd05a1fca08814. >> > > I'll apply this tomorrow if no objections. > The best place for such small comments is directly below the --- in the ema

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat/url: fix logic for removing ".." path components

2020-07-29 Thread Nicolas George
Zlomek, Josef (12020-07-29): > I also noticed that there are many more bugs in ff_make_absolute_url() > I just fixed one of them. > I am looking forward for your complete fix. I think the key to a working version is to properly parse URLs first. Then we can parse the base and relative part, and bu

Re: [FFmpeg-devel] [PATCH] avformat/apm: fix APM_FILE_HEADER_SIZE value

2020-07-29 Thread Zane van Iperen
On Wed, 29 Jul 2020 12:14:40 + "Zane van Iperen" wrote: > > Value was incorrectly changed in > 3bf1be210150b435c51c7c8eb8fd05a1fca08814. > I'll apply this tomorrow if no objections. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://f

[FFmpeg-devel] [PATCH] avformat/apm: fix APM_FILE_HEADER_SIZE value

2020-07-29 Thread Zane van Iperen
Value was incorrectly changed in 3bf1be210150b435c51c7c8eb8fd05a1fca08814. Signed-off-by: Zane van Iperen --- libavformat/apm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/apm.c b/libavformat/apm.c index 4c5844c83e..38a0f6382a 100644 --- a/libavformat/apm.

[FFmpeg-devel] [PATCH 2/5] avcodec/mpeg4audio: add newer channel_coding mappings

2020-07-29 Thread Jan Ekström
Additionally, add comments regarding their definitions. Based on ARIB STD-B32, which bases on 14496-3:2009 and 14496-3:2009/AMD4. --- libavcodec/mpeg4audio.c | 17 +++-- libavcodec/mpeg4audio.h | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/libavcodec/mpeg4aud

[FFmpeg-devel] [PATCH v2 1/2] libavcodec: add support for animated WebP decoding

2020-07-29 Thread Josef Zlomek
Fixes: 4907 Adds support for decoding of animated WebP. The WebP parser now splits the input stream into packets containing one frame. The WebP decoder adds the animation related features according to the specs: https://developers.google.com/speed/webp/docs/riff_container#animation The frames of

[FFmpeg-devel] [PATCH v2 2/2] libavformat: add WebP demuxer

2020-07-29 Thread Josef Zlomek
Fixes: 4907 Adds support for demuxing of animated WebP. The WebP demuxer splits the input stream into packets containing one frame. It also sets the timing information and marks the key frames properly. Signed-off-by: Josef Zlomek --- Changelog| 1 + doc/demuxers.texi

[FFmpeg-devel] [PATCH 4/5] avcodec/aacdec_template: mark second LFE element as LFE2

2020-07-29 Thread Jan Ekström
We now have the capability to do this. --- libavcodec/aacdec_template.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c index a473e1bad7..21db12fdab 100644 --- a/libavcodec/aacdec_template.c +++ b/libavcodec/aacdec_template.c

[FFmpeg-devel] [PATCH 5/5] avcodec/aacdec_template: add support for 22.2 / channel_config 13

2020-07-29 Thread Jan Ekström
--- libavcodec/aacdec_template.c | 89 +++- 1 file changed, 78 insertions(+), 11 deletions(-) diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c index 21db12fdab..8c5048cc13 100644 --- a/libavcodec/aacdec_template.c +++ b/libavcodec/aacdec_tem

[FFmpeg-devel] [PATCH 0/5 v2] 22.2 channel layout support for AAC decoding

2020-07-29 Thread Jan Ekström
Now that we actually have sample(s) for channel_config 13, it was possible to see at which various points the AAC decoder fails attempting to parse the bit stream. As the feature `-request_channel_layout 9223372036854775808` (AV_CH_LAYOUT_NATIVE) seems to work, the channel order has been validate

[FFmpeg-devel] [PATCH 3/5] avcodec/aacdectab: add mapping for 22.2

2020-07-29 Thread Jan Ekström
Utilizes the newly added 22.2 channel layout for channel_layout 13. --- libavcodec/aacdectab.h | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/libavcodec/aacdectab.h b/libavcodec/aacdectab.h index baf51a74bf..c54a3eb943 100644 --- a/libavcodec/aacdectab

[FFmpeg-devel] [PATCH 1/5] avutil/channel_layout: add 22.2 layout

2020-07-29 Thread Jan Ekström
Requires some extraneous top side and bottom front channels to be defined. According to STD-B59v2, the defined channel layout is: - FL - FR - FC - LFE1 - BL - BR - FLc - FRc - BC - LFE2 - SiL - SiR - TpFL - TpFR - TpFC - TpC - TpBL - TpBR - TpSiL - TpSiR - TpBC - BtFC - BtFL - BtFR --- doc/APIcha

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat/url: fix logic for removing ".." path components

2020-07-29 Thread Zlomek, Josef
On Wed, Jul 29, 2020 at 12:01 PM Nicolas George wrote: > I am afraid ff_make_absolute_url() as it is is broken beyond repair. For > example: > > http://server/menu redirect?url=http://otherserver/target => > redirect?url=http://otherserver/target > > while the result should have been > > http:/

[FFmpeg-devel] [PATCH 4/4] [mips]: Fix segfault in imdct36_mips_float.

2020-07-29 Thread Shiyou Yin
'li.s' is a synthesized instruction, it does not work properly when compiled with clang on mips, and A segfault occurred. --- libavcodec/mips/aacpsdsp_mips.c | 13 +- libavcodec/mips/aacpsy_mips.h | 14 +- libavcodec/mips/fft_mips.c| 12 +- libavcodec/mips/

[FFmpeg-devel] [PATCH 3/4] [mips]: Fix a bug in get_cabac_inline_mips.

2020-07-29 Thread Shiyou Yin
Failed fate case: fate-h264-conformance-caba2_sony_e Clang is more strict in the use of register constraint. --- libavcodec/mips/cabac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mips/cabac.h b/libavcodec/mips/cabac.h index c595915..3d09e93 100644 --- a/libavco

[FFmpeg-devel] [PATCH 0/4] [mips]: Adapt clang compiler for mips.

2020-07-29 Thread Shiyou Yin
Fixed four prob encountered when compiling ffmpeg with clang on mips. configure: ./configure --disable-mmi --cc=clang --cxx=clang++ --ld=clang [PATCH 1/4] [mips]: Fix register constraint error reported by clang. [PATCH 2/4] [mips]: Fix prob that 'ulw' and 'uld' unsupported by clang. [PATCH 3/4] [

[FFmpeg-devel] [PATCH 1/4] [mips]: Fix register constraint error reported by clang.

2020-07-29 Thread Shiyou Yin
Clang report following error in aacsbr_mips.c,ac3dsp_mips.c and aacdec_mips.c: "couldn't allocate output register for constraint 'r'" Use 'f' constraint for float variable. --- libavcodec/mips/aacdec_mips.c | 2 +- libavcodec/mips/aacsbr_mips.c | 2 +- libavcodec/mips/sbrdsp_mips.c | 19 +++

[FFmpeg-devel] [PATCH 2/4] [mips]: Fix prob that 'ulw' and 'uld' unsupported by clang.

2020-07-29 Thread Shiyou Yin
GCC support these two synthesized instruction, but clang does not yet. Use machine instruction instead to adapt clang compiler. --- libavutil/mips/generic_macros_msa.h | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libavutil/mips/generic_macros_msa.h b/libavuti

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat/url: fix logic for removing ".." path components

2020-07-29 Thread Nicolas George
Josef Zlomek (12020-07-28): > Fixes: 8814 > > The logic for removing ".." path components and their corresponding > upper directories was reworked. > > Now, the function trim_double_dot_url splits the path by "/" into > components, and processes the components one ny one: > - if the component is

Re: [FFmpeg-devel] Custom Video Encoding and Decoding

2020-07-29 Thread Zhao Zhili
On July 29, 2020 3:13:34 PM GMT+08:00, Jaeho Bang wrote: >Dear Paul, >Thank you for the reply! I must have done a bad job explaining, sorry >about >that. There is some underlying information that I have left out. My >initial >clustering algorithm / representative frame selection algorithm >actua

Re: [FFmpeg-devel] Custom Video Encoding and Decoding

2020-07-29 Thread Jaeho Bang
Dear Paul, Thank you for the reply! I must have done a bad job explaining, sorry about that. There is some underlying information that I have left out. My initial clustering algorithm / representative frame selection algorithm actually spits out a frame importance hierarchy. I want to implement a c

Re: [FFmpeg-devel] Custom Video Encoding and Decoding

2020-07-29 Thread Alex Cohn
On Wed, Jul 29, 2020 at 9:12 AM Jaeho Bang wrote: > > Dear members of ffmpeg-devel, > > I am currently working on a research project and from looking over the > examples and documentation in the ffmpeg repository, I believe I need to > implement a custom encoder / decoder to perform my task. > > T