sys/socket.h (with WIN32 guard) is needed to check if the SHUT_xxx macro exists.
and because of this, SHUT_xxx defs have been moved into the CONFIG_NETWORK
block,
since they only affect network capable platforms.
---
This is a minor reworking of Dave's suggestion to make it work on *nix and
wind
for O_NONBLOCK connect(), the watt32 socket library returns EISCONN when
connection is established
---
watt32 is a DOS/Windows BSD socket library.
it seems iOS suffers this EISCON problem too, but i am unsure why it hasn't
been reported here before.
i don't have iOS device to test.
https://gith
On Fri, Dec 07, 2018 at 12:06:36PM +0200, Artyom Lebedev wrote:
> This fixes bug which prevents from proper muxing-in KLV stream into mpeg-ts.
>
> mpegtsenc.c:1526
>
> char *side_data = NULL;
> int stream_id = -1;
>
> side_data = av_packet_get_side_data(pkt,
> AV_PKT_DATA_MPEGTS_STRE
On Wed, Nov 28, 2018 at 10:03:15PM +1100, Peter Ross wrote:
> sys/socket.h (with WIN32 guard) is needed to check if the SHUT_xxx macro
> exists.
> and because of this, SHUT_xxx defs have been moved into the CONFIG_NETWORK
> block,
> since they only affect network ca
the memalign and posix_memalign tests currently fail when using a custom
allocator,
because configure does not include the custom allocator library.
---
configure | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 026aee6b25..4d7b2b37c3 100755
-
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 4d7b2b37c3..99c4c05347 100755
--- a/configure
+++ b/configure
@@ -6809,7 +6809,7 @@ haiku)
disable posix_memalign
;;
*-dos|freedos|opendos)
-if test_cpp_condition sys/versio
Doug Lea's Malloc: http://g.oswego.edu/dl/html/malloc.html
---
configure | 5 +
1 file changed, 5 insertions(+)
diff --git a/configure b/configure
index 99c4c05347..c6cbd4a33c 100755
--- a/configure
+++ b/configure
@@ -5854,6 +5854,11 @@ check_builtin x264_csp_bgr "stdint.h x264.h"
"X264_CSP
On Fri, Mar 13, 2020 at 11:28:41AM +0100, Anton Khirnov wrote:
> It is very fragile against fields being moved and hides what is actually
> being copied. Copy all the fields explicitly instead.
> ---
> libavcodec/vp3.c | 12 +---
> 1 file changed, 5 insertions(+), 7 deletions(-)
>
> diff
On Fri, Mar 20, 2020 at 02:31:05PM +0100, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol
> ---
> configure |1 +
> libavcodec/Makefile |1 +
> libavcodec/allcodecs.c |1 +
> libavcodec/avcodec.h|1 +
> libavcodec/bink2.c | 869 ++
On Fri, Mar 20, 2020 at 02:31:05PM +0100, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol
> ---
> configure |1 +
> libavcodec/Makefile |1 +
> libavcodec/allcodecs.c |1 +
> libavcodec/avcodec.h|1 +
> libavcodec/bink2.c | 869 ++
throughout vp3_decode_frame the error code was being captured (ret) but never
returned.
---
libavcodec/vp3.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index d53dd87029..2ae54255c6 100644
--- a/libavcodec/vp3.c
---
libavcodec/vp9.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 7ee375d4d0..c125e22975 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1216,18 +1216,24 @@ static av_cold int vp9_decode_free(AVCodecContext
*avctx)
int i;
---
libavcodec/vp9.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index c125e22975..4f7cc4fc75 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1225,14 +1225,14 @@ static av_cold int vp9_decode_free(AVCodecContext
*av
---
libavcodec/vp3.c | 68
1 file changed, 34 insertions(+), 34 deletions(-)
some cosmetic changes for vp3/4 conditional blocks
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 2ae54255c6..c9259abd03 100644
--- a/libavcodec/vp3.c
+++ b/liba
Signed-off-by: Peter Ross
Reviewed-by: James Almer
---
libavcodec/vp9.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 7ee375d4d0..2e6cd912a5 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1216,17 +1216,14
fix link error introduced in 481ebb1c8b3368e2a1bb9e33bd10b50a8818dbf7
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 09bda9b408..4d4c429be9 100755
--- a/configure
+++ b/configure
@@ -2790,6 +2790,7 @@ msmpeg4v3_decoder_select="h263_decoder"
msmpeg4v3
---
libavcodec/mv30.c | 16
1 file changed, 16 deletions(-)
diff --git a/libavcodec/mv30.c b/libavcodec/mv30.c
index ffa04ac493..6e25ed647b 100644
--- a/libavcodec/mv30.c
+++ b/libavcodec/mv30.c
@@ -86,14 +86,6 @@ static const uint8_t luma_tab[] = {
25, 31, 42, 48, 58, 72, 8
---
configure | 2 +-
libavcodec/mv30.c | 22 ++
2 files changed, 3 insertions(+), 21 deletions(-)
diff --git a/configure b/configure
index 4d4c429be9..f008559fd8 100755
--- a/configure
+++ b/configure
@@ -2790,7 +2790,7 @@ msmpeg4v3_decoder_select="h263_decoder"
msm
is->ic is assigned by read_thread, but this may not have happened yet
when stream_open fails.
---
fftools/ffplay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 1beec54293..5530d2a396 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay
---
libavcodec/pngdec.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c
index 7e2c19bd57..12d4eb0610 100644
--- a/libavcodec/pngdec.c
+++ b/libavcodec/pngdec.c
@@ -1286,8 +1286,10 @@ static int decode_frame_common(AVCodecContext *avc
Signed-off-by: Peter Ross
Reviewed-by: Marton Balint
---
Great suggestion. I will apply in a few days if no objections.
fftools/ffplay.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 1beec54293..d673b8049a 100644
--- a
On Tue, Apr 21, 2020 at 12:03:39AM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer
> ---
> libavcodec/iff.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/iff.c b/libavcodec/iff.c
> index acd6519b06..2e65e266d0 100644
> --- a/libavcodec
On Tue, Apr 21, 2020 at 12:03:40AM +0200, Michael Niedermayer wrote:
> Fixes: out of array read
> Fixes:
> 20796/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5111364702175232.fuzz
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/proje
On Tue, Apr 21, 2020 at 04:31:48AM +0200, Andreas Rheinhardt wrote:
> This bsf doesn't have any options, so including libavutil/opt.h is
> unnecessary.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/vp9_raw_reorder_bsf.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/libavcod
On Mon, Feb 08, 2021 at 02:29:01PM +0100, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 2147483647 + 7 cannot be represented in type
> 'int'
> Fixes:
> 30084/clusterfuzz-testcase-minimized-ffmpeg_dem_WTV_fuzzer-6192261941559296
>
> Found-by: continuous fuzzing process
> https://g
On Mon, Feb 15, 2021 at 09:23:11PM +0100, Michael Niedermayer wrote:
> Fixes: Timeout (long -> 5sec)
> Fixes:
> 30269/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP7_fuzzer-5430325004075008
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/f
On Sun, Feb 28, 2021 at 04:01:21AM +0100, Andreas Rheinhardt wrote:
> The WTV demuxer's oledata_to_iso8601 reads a value via avio_rl64
> and reinterprets it as a double via av_int2double. This does not
> work on big endian systems. So swap it to native endianness before
> av_int2double.
>
> law-an
On Tue, Apr 06, 2021 at 11:50:22PM +0200, Michael Niedermayer wrote:
> Fixes: out of array read
> Fixes:
> 32968/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSP2_fuzzer-5315296027082752
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpe
On Sat, May 30, 2020 at 06:32:59AM +0200, Andreas Rheinhardt wrote:
> Then one doesn't need to free the frame in case the length turns out to
> be insufficient.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/anm.c | 8 +++-
> 1 file changed, 3 insertions(+), 5 deletions(-)
>
> dif
On Sat, May 30, 2020 at 06:33:00AM +0200, Andreas Rheinhardt wrote:
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/anm.c | 39 +++
> 1 file changed, 19 insertions(+), 20 deletions(-)
>
> diff --git a/libavcodec/anm.c b/libavcodec/anm.c
> index e9b19d88
On Sun, Sep 01, 2019 at 11:10:25PM +0200, Michael Niedermayer wrote:
> Fixes: Timeout (82sec -> 1sec)
> Fixes:
> 16411/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-5166958151991296
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/
On Sat, Sep 14, 2019 at 11:39:49PM +0200, Michael Niedermayer wrote:
> Fixes: Timeout (89sec -> 7sec)
> Fixes:
> 17035/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BINK_fuzzer-5737222422134784
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects
On Sun, Sep 29, 2019 at 01:53:43AM +0200, Michael Niedermayer wrote:
> Fixes: Timeout (110sec -> 10sec)
> Fixes:
> 17705/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP7_fuzzer-5765834135306240
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/project
On Tue, Oct 01, 2019 at 01:12:50AM +0200, Michael Niedermayer wrote:
> Fixes: Assertion failure
> Fixes:
> 17770/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5700606668308480
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signe
On Wed, Oct 09, 2019 at 03:35:23PM +0800, Steven Liu wrote:
> Signed-off-by: Steven Liu
> ---
> libavformat/jvdec.c | 7 +--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c
> index 18c81f0de7..17ada7b0f1 100644
> --- a/libavformat/
On Fri, Oct 11, 2019 at 12:40:07AM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 1092624416 * 2 cannot be represented in type
> 'int'
> Fixes:
> 18045/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BINKAUDIO_RDFT_fuzzer-5718519492116480
>
> Found-by: continuous fuzzing p
On Sat, Oct 12, 2019 at 06:53:05PM -0300, James Almer wrote:
> On 10/12/2019 5:47 PM, Michael Niedermayer wrote:
> > On Fri, Oct 11, 2019 at 08:51:54PM +1100, Peter Ross wrote:
> >> On Fri, Oct 11, 2019 at 12:40:07AM +0200, Michael Niedermayer wrote:
> >>>
On Mon, Oct 14, 2019 at 10:06:55PM +0200, Michael Niedermayer wrote:
> On Sun, Oct 13, 2019 at 10:51:49AM +1100, Peter Ross wrote:
> > On Sat, Oct 12, 2019 at 06:53:05PM -0300, James Almer wrote:
> > > On 10/12/2019 5:47 PM, Michael Niedermayer wrote:
> > > > On F
On Wed, Oct 23, 2019 at 08:57:12PM +0200, Michael Niedermayer wrote:
> Fixes: Timeout (15sec -> 91ms)
> Fixes:
> 18353/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP5_fuzzer-5704150326706176
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/
On Mon, Nov 18, 2019 at 10:34:32AM +0800, zhilizhao wrote:
> Ping for review, thanks!
approve. 还有这块补丁也跟vp7有关,可以在推送前改一下。
>
> > On Nov 14, 2019, at 12:29 PM, quinkbl...@foxmail.com wrote:
> >
> > From: Zhao Zhili
> >
> > webp decoder doesn't set update_thread_context field
> >
> > $ ffmpeg -i
On Mon, Nov 25, 2019 at 10:14:41PM +0800, zhilizhao wrote:
> Please help to merge the patch if it’s acceptable, thanks!
no code changes, it is acceptable as-is.
>
> > On Nov 18, 2019, at 7:00 PM, Peter Ross wrote:
> >
> > On Mon, Nov 18, 2019 at 10:34:32AM +0800, zhiliz
On Tue, Jan 07, 2020 at 02:55:48PM +0100, Andreas Rheinhardt wrote:
> Fixes #8314.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavformat/wtvdec.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
> index 706e8ca38d..92629
On Tue, Jan 07, 2020 at 02:55:49PM +0100, Andreas Rheinhardt wrote:
> Signed-off-by: Andreas Rheinhardt
> ---
> libavformat/wtvdec.c | 10 +-
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
> index 92629bb31b..67d934f074 1006
On Tue, Jan 28, 2020 at 02:17:35PM +0100, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol
> ---
> libavformat/tty.c | 18 +-
> 1 file changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/libavformat/tty.c b/libavformat/tty.c
> index 8d48f2c45c..a8fb9dc8f3 100644
> --- a/li
On Thu, Jan 23, 2020 at 12:36:39AM +0100, Michael Niedermayer wrote:
> Fixes: Timeout (32 -> 1sec)
> Fixes:
> 20138/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5634665251864576
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/project
squelch unknown escape code warnings
---
libavcodec/ansi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/ansi.c b/libavcodec/ansi.c
index 5e1035ffd0..516d07db69 100644
--- a/libavcodec/ansi.c
+++ b/libavcodec/ansi.c
@@ -34,6 +34,7 @@
#define ATTR_BOLD
On Tue, Feb 18, 2020 at 12:36:00PM +, Andreas Rheinhardt wrote:
> Andreas Rheinhardt:
> > wtvfile_read_packet did not abide by the requirements of an
> > AVIOContext's read_packet-function: If it did not read anything,
> > it returned zero, which currently leads to a warning in read_packet_wrap
On Mon, Apr 19, 2021 at 08:23:41PM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 32 + 2147483647 cannot be represented in type
> 'int
> Fixes:
> 32967/clusterfuzz-testcase-minimized-ffmpeg_dem_WTV_fuzzer-5132856218222592
>
> Found-by: continuous fuzzing process
> https://g
On Tue, Apr 27, 2021 at 03:28:53PM +0200, Andreas Rheinhardt wrote:
> Unnecessary since 6e8fcd9c5624c1a89e49803de9e10562ace61b6a.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/Makefile | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/Makefile b/li
On Wed, Apr 28, 2021 at 05:06:33PM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: -63542400238284 * 16 cannot be
> represented in type 'long'
> Fixes:
> 33612/clusterfuzz-testcase-minimized-ffmpeg_dem_MV_fuzzer-5704741108711424
>
> Found-by: continuous fuzzing process
>
On Sat, May 08, 2021 at 03:25:06AM +0200, Andreas Rheinhardt wrote:
> Otherwise decoding will crash lateron; e.g. because dct_tokens
> is never set or because a VLC that has not been allocated is used.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/vp3.c | 8 ++--
> 1 file changed,
---
compat/msvcrt/snprintf.c | 2 +-
libavformat/mmst.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
will apply in a few days if there are no objections here
diff --git a/compat/msvcrt/snprintf.c b/compat/msvcrt/snprintf.c
index c64653fe82..43f5c3bb39 100644
--- a/compat/msvcrt
On Sun, Aug 01, 2021 at 09:30:31PM +0200, Michael Niedermayer wrote:
> Fixes: Infinite loop
> Fixes:
> 36311/clusterfuzz-testcase-minimized-ffmpeg_dem_WTV_fuzzer-4889181296918528
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-of
squelch format type warning
---
libavutil/tests/random_seed.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/tests/random_seed.c b/libavutil/tests/random_seed.c
index 78067dbe41..bf0c6c7986 100644
--- a/libavutil/tests/random_seed.c
+++ b/libavutil/tests/random_seed.
On Sat, Dec 15, 2018 at 03:10:52AM +0100, Carl Eugen Hoyos wrote:
> 2018-12-15 3:07 GMT+01:00, Peter Ross :
> > squelch format type warning
> > ---
> > libavutil/tests/random_seed.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff
On Sat, Dec 15, 2018 at 02:44:43AM +0100, Michael Niedermayer wrote:
> Fixes: Timeout
> Fixes:
> 10313/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP7_fuzzer-5637719389110272
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-
On Sun, Dec 09, 2018 at 09:27:54AM +1100, Peter Ross wrote:
> the memalign and posix_memalign tests currently fail when using a custom
> allocator,
> because configure does not include the custom allocator library.
is any one using custom allocators? should i just apply these?
-- Pe
On Wed, Dec 19, 2018 at 09:32:03PM +0100, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol
> ---
> libavcodec/Makefile | 1 +
> libavcodec/allcodecs.c | 1 +
> libavcodec/avcodec.h| 1 +
> libavcodec/codec_desc.c | 7 +
> libavcodec/photocd.c| 445 +++
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index be49c19b88..7136f22395 100755
--- a/configure
+++ b/configure
@@ -473,7 +473,7 @@ Developer options (useful when working on FFmpeg itself):
--random-seed=VALUE seed value for --ena
---
(--host-libs is not defined in code, and does not work)
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 7136f22395..2f35741aca 100755
--- a/configure
+++ b/configure
@@ -380,7 +380,7 @@ Toolchain options:
--host-cppflags=HCPPFLAGS u
this option is described by --help, but the definition was missing in
CMDLINE_SET.
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 417fc470eb..6cbd642943 100755
--- a/configure
+++ b/configure
@@ -2437,6 +2437,7 @@ CMDLINE_SET="
tempprefix
---
the dst sample file is 40 kilobytes.
i don't have write access to fate-suite to upload it.
tests/fate/audio.mak | 3 +++
tests/ref/fate/dsf-dst | 16
2 files changed, 19 insertions(+)
create mode 100644 tests/ref/fate/dsf-dst
diff --git a/tests/fate/audio.mak b/tests/fa
this was a typo in my original patch. there is no requirement for 64-byte
alignment here, and it does not affect decoder performance.
---
libavcodec/dstdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dstdec.c b/libavcodec/dstdec.c
index 368cb64931..511861f4d2 1
On Sat, Dec 22, 2018 at 12:26:05AM +0100, Carl Eugen Hoyos wrote:
> 2018-12-21 3:32 GMT+01:00, Peter Ross :
> > ---
> > the dst sample file is 40 kilobytes.
>
> You could attach it...
here is the file. cheers,
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
squelch another warning
---
libavcodec/vp3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 9df2fda49d..a5d8c2ed0b 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -1961,6 +1961,7 @@ fail:
return ret;
}
+#if HAVE_THREADS
identical to the reference decoder.
I have tested it on x86 and arm, but not done fuzzing to find hangs.
Suggetions how to improve it are most welcome.
Peter Ross (4):
vp3: ref_frame/ref_frames are only required when HAVE_THREADS=1
vp3dsp: add 12 pixel loop filter functions
VP4 data tables
---
libavcodec/vp3dsp.c | 28
libavcodec/vp3dsp.h | 5 +
2 files changed, 25 insertions(+), 8 deletions(-)
diff --git a/libavcodec/vp3dsp.c b/libavcodec/vp3dsp.c
index cdf7d6490e..c21d1539ee 100644
--- a/libavcodec/vp3dsp.c
+++ b/libavcodec/vp3dsp.c
@@ -227,14 +2
/vp4data.h
@@ -0,0 +1,3784 @@
+/*
+ * Copyright (C) 2019 Peter Ross
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
rops = AV_CODEC_PROP_LOSSY,
},
{
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index a5d8c2ed0b..127189a22b 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2003-2004 The FFmpeg project
+ * Copyright (C) 2019 Peter Ross
*
* This file is part
for the '127-bit shift left' algorithm to work as intended, little-endian
reads and writes must be used.
libavcodec/dstdec.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/libavcodec/dstdec.c b/libavcodec/dstdec.c
index 511861f4d2..e9653edc9f 100644
--- a/libavcod
On Sun, Jan 06, 2019 at 10:11:14AM +0100, Paul B Mahol wrote:
> On 1/6/19, Peter Ross wrote:
> > ---
> > Changelog | 1 +
> > doc/general.texi| 2 +
> > libavcodec/codec_desc.c | 2 +-
> &g
On Sun, Jan 06, 2019 at 12:57:37PM +0100, Carl Eugen Hoyos wrote:
> 2019-01-06 12:12 GMT+01:00, Peter Ross :
> > for the '127-bit shift left' algorithm to work as intended, little-endian
> > reads and writes must be used.
> >
> Why not using AV_WL64() and and AV_R
On Sun, Jan 06, 2019 at 02:40:44PM -0300, James Almer wrote:
> On 1/6/2019 4:43 AM, Peter Ross wrote:
> > ---
> > libavcodec/vp4data.h | 3784 ++
> > 1 file changed, 3784 insertions(+)
> > create mode 100644 libavcodec/vp
macros for reading and writing 64-bit aligned little-endian values.
these macros are used by the DST decoder and give a performance boost
on big-endian platforms that where the compiler must normally guard
against unaligned memory access.
---
libavutil/intreadwrite.h | 15 +++
1 file
---
updated accordingly...
libavcodec/dstdec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/dstdec.c b/libavcodec/dstdec.c
index 511861f4d2..0614c99c4b 100644
--- a/libavcodec/dstdec.c
+++ b/libavcodec/dstdec.c
@@ -343,8 +343,8 @@ static int decode_frame(AVCo
---
this table is used at vp3_decode_init time, and is needlessly uint32_t.
will push in a day or so.
libavcodec/vp3data.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vp3data.h b/libavcodec/vp3data.h
index 3884bca878..c82b1b3a86 100644
--- a/libavcodec/vp3data.h
On Mon, Jan 07, 2019 at 12:42:24PM +0100, Carl Eugen Hoyos wrote:
> 2019-01-07 12:40 GMT+01:00, Peter Ross :
> > macros for reading and writing 64-bit aligned little-endian values.
> >
> > these macros are used by the DST decoder and give a performance boost
> > on big-
On Fri, Jan 11, 2019 at 03:23:49AM +0100, Carl Eugen Hoyos wrote:
> 2019-01-11 2:55 GMT+01:00, Carl Eugen Hoyos :
> > Hi!
> >
> > Attached patch fixes ticket #6797, please comment.
>
> New patch with 16bit support attached.
>
> Please comment, Carl Eugen
> From 5f879539ee7fecd57bd3de9f7c6363d9b7
On Sun, Jan 06, 2019 at 06:42:50PM +1100, Peter Ross wrote:
> squelch another warning
> ---
> libavcodec/vp3.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
If no one objects, I will apply this warnings-fix patch in a day or so.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 67
f. Can somebody else test them
and report back :)
Peter Ross (6):
avcodec/vp3dsp: add 12 pixel loop filter functions
avcodec/vp3dsp: add 10 coefficient version of the vp3 idct
avcodec/vp6: use rounded shift for chroma motion vector calculation
avcodec/vp6: use ff_vp4_[hv]_loop_filter_12_c
avcod
---
This is a reposting of my earlier 12-pixel loop filter for VP4.
libavcodec/vp3dsp.c | 28
libavcodec/vp3dsp.h | 5 +
2 files changed, 25 insertions(+), 8 deletions(-)
diff --git a/libavcodec/vp3dsp.c b/libavcodec/vp3dsp.c
index 4e08ee0b8f..f049953356 100644
---
libavcodec/vp3dsp.c | 152
libavcodec/vp3dsp.h | 3 +
2 files changed, 155 insertions(+)
diff --git a/libavcodec/vp3dsp.c b/libavcodec/vp3dsp.c
index f049953356..8204188aa8 100644
--- a/libavcodec/vp3dsp.c
+++ b/libavcodec/vp3dsp.c
@@ -195,6 +195
---
libavcodec/vp56.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c
index b69fe6c176..27b4b8b944 100644
--- a/libavcodec/vp56.c
+++ b/libavcodec/vp56.c
@@ -196,12 +196,8 @@ static void vp56_decode_4mv(VP56Context *s, int row, int
---
libavcodec/vp5.c | 1 +
libavcodec/vp56.c | 30 --
libavcodec/vp56.h | 2 ++
libavcodec/vp6.c | 14 ++
4 files changed, 41 insertions(+), 6 deletions(-)
diff --git a/libavcodec/vp5.c b/libavcodec/vp5.c
index cb08cec33f..49988b8b76 100644
--- a/libav
---
libavcodec/vp56.c| 10 ++
libavcodec/vp56.h| 1 +
libavcodec/vp56dsp.c | 19 ---
3 files changed, 11 insertions(+), 19 deletions(-)
diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c
index 27b4b8b944..c5c5a9fb65 100644
--- a/libavcodec/vp56.c
+++ b/libavcodec/
---
tests/ref/fate/vp60| 202 +--
tests/ref/fate/vp61| 238 +++
tests/ref/fate/vp6a| 172 -
tests/ref/fate/vp6a-skip_alpha | 172 -
tests/ref/fate/vp6f| 342 -
On Sun, Jan 13, 2019 at 09:39:57PM +0100, Carl Eugen Hoyos wrote:
> 2019-01-13 21:02 GMT+01:00, Peter Ross :
> > ---
> > libavcodec/vp56.c| 10 ++
> > libavcodec/vp56.h| 1 +
> > libavcodec/vp56dsp.c | 19 ---
> > 3 files change
On Sun, Jan 13, 2019 at 09:52:33PM +0100, Carl Eugen Hoyos wrote:
> 2019-01-13 21:03 GMT+01:00, Peter Ross :
> > ---
> > libavcodec/vp5.c | 1 +
> > libavcodec/vp56.c | 30 --
> > libavcodec/vp56.h | 2 ++
> > libavcodec/vp6.c
On Sun, Jan 13, 2019 at 09:42:10PM +0100, Carl Eugen Hoyos wrote:
> 2019-01-13 21:00 GMT+01:00, Peter Ross :
> > These patches make FFmpeg match the output of the VP6 reference
> > decoder. Collectively they fix <https://trac.ffmpeg.org/ticket/1282>
>
> But none of the
My last patch set omitted an essential vp3dsp modification.
Thanks Michael for spotting this.
I have incorporated Carl's other suggestions.
Peter Ross (6):
avcodec/vp3dsp: move vp3 init loop filter function to vp3dsp
avcodec/vp3dsp: add 12 pixel loop filter functions
avcodec/vp3dsp: a
This is also used by the VP6 decoder.
---
libavcodec/vp3.c| 22 +-
libavcodec/vp3dsp.c | 32
libavcodec/vp3dsp.h | 2 ++
3 files changed, 35 insertions(+), 21 deletions(-)
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index a5d8c2ed0b..
---
libavcodec/vp3dsp.c | 28
libavcodec/vp3dsp.h | 5 +
2 files changed, 25 insertions(+), 8 deletions(-)
diff --git a/libavcodec/vp3dsp.c b/libavcodec/vp3dsp.c
index 4e08ee0b8f..de0130a9cf 100644
--- a/libavcodec/vp3dsp.c
+++ b/libavcodec/vp3dsp.c
@@ -228,14 +2
This version of the IDCT is used by the VP6 decoder.
---
libavcodec/vp3dsp.c | 152
libavcodec/vp3dsp.h | 3 +
2 files changed, 155 insertions(+)
diff --git a/libavcodec/vp3dsp.c b/libavcodec/vp3dsp.c
index de0130a9cf..ac4c57441c 100644
--- a/libavco
Partially fixes: https://trac.ffmpeg.org/ticket/1282
---
libavcodec/vp56.c | 8 +-
tests/ref/fate/vp60 | 202 +-
tests/ref/fate/vp61 | 238 +++---
tests/ref/fate/vp6f | 342 ++--
4 files changed, 393 insert
Partially fixes: https://trac.ffmpeg.org/ticket/1282
---
libavcodec/vp56.c| 10 ++
libavcodec/vp56.h| 1 +
libavcodec/vp56dsp.c | 19 ---
tests/ref/fate/vp61 | 230 ++---
tests/ref/fate/vp6f | 340 +--
5 files changed, 2
The VP3/4/5/6 reference decoders all use three IDCT versions: one for the
DC-only case, another for blocks with more than 10 coefficients, and an
optimised one for blocks with up to 10 AC coefficents. VP6 relies on the
sparse 10 coefficient version, and without it, IDCT drift occurs.
Fixes: https:
On Tue, Jan 15, 2019 at 12:18:44AM +0100, Hendrik Leppkes wrote:
> On Mon, Jan 14, 2019 at 9:48 PM Peter Ross wrote:
> > diff --git a/libavcodec/vp3dsp.h b/libavcodec/vp3dsp.h
> > index f55a7f834f..30a76100d9 100644
> > --- a/libavcodec/vp3dsp.h
> > +++ b/libavcodec/v
On Tue, Jan 22, 2019 at 10:22:29AM -0300, James Almer wrote:
> On 1/22/2019 6:55 AM, Paul B Mahol wrote:
> > Thanks Kostya for great help in reversing binary.
:)
> > +static void fill_tile4(AVCodecContext *avctx, uint8_t *color, AVFrame
> > *frame)
> > +{
> > +ARBCContext *s = avctx->priv_da
On Tue, Jan 15, 2019 at 07:46:49AM +1100, Peter Ross wrote:
> My last patch set omitted an essential vp3dsp modification.
> Thanks Michael for spotting this.
> I have incorporated Carl's other suggestions.
>
> Peter Ross (6):
> avcodec/vp3dsp: move vp3 init loop fi
On Wed, Jan 23, 2019 at 04:01:19PM +0100, Carl Eugen Hoyos wrote:
> Did you see the other vp6-related ticket?
> https://trac.ffmpeg.org/ticket/5581
i will look at that next.
also, this email
https://ffmpeg.org/pipermail/ffmpeg-devel/2007-December/024133.html
includes a related nsv patch, but th
101 - 200 of 507 matches
Mail list logo