[FFmpeg-cvslog] doc: add adpcm_ima_{ssi,apm}

2020-02-24 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen  | Sun Feb 23 
04:28:00 2020 +| [c6cc9d9cd744c0294e46c861781675ffeb0826e6] | committer: 
Paul B Mahol

doc: add adpcm_ima_{ssi,apm}

Signed-off-by: Zane van Iperen 

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c6cc9d9cd744c0294e46c861781675ffeb0826e6
---

 doc/general.texi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/general.texi b/doc/general.texi
index 01d2748f28..dbdc348598 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -1101,6 +1101,8 @@ following image formats are supported:
 @item ADPCM IMA Electronic Arts SEAD  @tab @tab  X
 @item ADPCM IMA Funcom   @tab @tab  X
 @item ADPCM IMA QuickTime@tab  X  @tab  X
+@item ADPCM IMA Simon & Schuster Interactive   @tab  @tab  X
+@item ADPCM IMA Ubisoft APM  @tab @tab X
 @item ADPCM IMA Loki SDL MJPEG  @tab @tab  X
 @item ADPCM IMA WAV  @tab  X  @tab  X
 @item ADPCM IMA Westwood @tab @tab  X

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-cvslog] changelog: add adpcm_ima_ssi decoder and kvag demuxer

2020-02-24 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen  | Sun Feb 23 
04:27:55 2020 +| [8c4443cbcfe7e681567ee203da4cb4aecdd25a12] | committer: 
Paul B Mahol

changelog: add adpcm_ima_ssi decoder and kvag demuxer

Signed-off-by: Zane van Iperen 

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c4443cbcfe7e681567ee203da4cb4aecdd25a12
---

 Changelog | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Changelog b/Changelog
index ac873fd39e..e8ba02cb02 100644
--- a/Changelog
+++ b/Changelog
@@ -36,6 +36,8 @@ version :
 - xfade_opencl filter
 - afirsrc audio filter source
 - pad_opencl filter
+- Simon & Schuster Interactive ADPCM decoder
+- Real War KVAG demuxer
 - CDToons video decoder
 - siren audio decoder
 - Rayman 2 ADPCM decoder

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-cvslog] avfilter: add Contrast Adaptive Sharpen video filter

2020-02-24 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol  | Mon Feb 10 18:10:55 
2020 +0100| [72b6c8c99f4b3bcdeb4f3fb594c0802ac3bf10f8] | committer: Paul B Mahol

avfilter: add Contrast Adaptive Sharpen video filter

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=72b6c8c99f4b3bcdeb4f3fb594c0802ac3bf10f8
---

 Changelog|   1 +
 doc/filters.texi |  15 +++
 libavfilter/Makefile |   1 +
 libavfilter/allfilters.c |   1 +
 libavfilter/version.h|   2 +-
 libavfilter/vf_cas.c | 299 +++
 6 files changed, 318 insertions(+), 1 deletion(-)

diff --git a/Changelog b/Changelog
index e8ba02cb02..cb310a3abc 100644
--- a/Changelog
+++ b/Changelog
@@ -42,6 +42,7 @@ version :
 - siren audio decoder
 - Rayman 2 ADPCM decoder
 - Rayman 2 APM demuxer
+- cas video filter
 
 
 version 4.2:
diff --git a/doc/filters.texi b/doc/filters.texi
index 70fd7a4cc7..8300aac4a3 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -6996,6 +6996,21 @@ Only deinterlace frames marked as interlaced.
 The default value is @code{all}.
 @end table
 
+@section cas
+
+Apply Contrast Adaptive Sharpen filter to video stream.
+
+The filter accepts the following options:
+
+@table @option
+@item strength
+Set the sharpening strength. Default value is 0.
+
+@item planes
+Set planes to filter. Default value is to filter all
+planes except alpha plane.
+@end table
+
 @section chromahold
 Remove all color information for all colors except for certain one.
 
diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index 089880a39d..e6cfcd9487 100644
--- a/libavfilter/Makefile
+++ b/libavfilter/Makefile
@@ -177,6 +177,7 @@ OBJS-$(CONFIG_BOXBLUR_FILTER)+= 
vf_boxblur.o boxblur.o
 OBJS-$(CONFIG_BOXBLUR_OPENCL_FILTER) += vf_avgblur_opencl.o opencl.o \
 opencl/avgblur.o boxblur.o
 OBJS-$(CONFIG_BWDIF_FILTER)  += vf_bwdif.o yadif_common.o
+OBJS-$(CONFIG_CAS_FILTER)+= vf_cas.o
 OBJS-$(CONFIG_CHROMABER_VULKAN_FILTER)   += vf_chromaber_vulkan.o vulkan.o
 OBJS-$(CONFIG_CHROMAHOLD_FILTER) += vf_chromakey.o
 OBJS-$(CONFIG_CHROMAKEY_FILTER)  += vf_chromakey.o
diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c
index 88ebd121ad..501e5d041b 100644
--- a/libavfilter/allfilters.c
+++ b/libavfilter/allfilters.c
@@ -168,6 +168,7 @@ extern AVFilter ff_vf_bm3d;
 extern AVFilter ff_vf_boxblur;
 extern AVFilter ff_vf_boxblur_opencl;
 extern AVFilter ff_vf_bwdif;
+extern AVFilter ff_vf_cas;
 extern AVFilter ff_vf_chromahold;
 extern AVFilter ff_vf_chromakey;
 extern AVFilter ff_vf_chromashift;
diff --git a/libavfilter/version.h b/libavfilter/version.h
index 8916fb34f0..7b41018be7 100644
--- a/libavfilter/version.h
+++ b/libavfilter/version.h
@@ -30,7 +30,7 @@
 #include "libavutil/version.h"
 
 #define LIBAVFILTER_VERSION_MAJOR   7
-#define LIBAVFILTER_VERSION_MINOR  76
+#define LIBAVFILTER_VERSION_MINOR  77
 #define LIBAVFILTER_VERSION_MICRO 100
 
 
diff --git a/libavfilter/vf_cas.c b/libavfilter/vf_cas.c
new file mode 100644
index 00..a07d51a84e
--- /dev/null
+++ b/libavfilter/vf_cas.c
@@ -0,0 +1,299 @@
+/*
+ * 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
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "libavutil/opt.h"
+#include "libavutil/imgutils.h"
+#include "avfilter.h"
+#include "formats.h"
+#include "internal.h"
+#include "video.h"
+
+typedef struct CASContext {
+const AVClass *class;
+
+float strength;
+int planes;
+int nb_planes;
+
+int depth;
+int planeheight[4];
+int planewidth[4];
+
+AVFrame *in;
+
+int (*do_slice)(AVFilterContext *s, void *arg,
+int jobnr, int nb_jobs);
+} CASContext;
+
+static inline float lerpf(float v0, float v1, float f)
+{
+return v0 + (v1 - v0) * f;
+}
+
+static int cas_slice8(AVFilterContext *avctx, void *arg, int jobnr, int 
nb_jobs)
+{
+CASContext *s = avctx->priv;
+const float strength = -lerpf(16.f, 4.01f, s->strength);
+AVFrame *out = arg;
+AVFrame *in = s->in;
+
+for (int p = 0; p < s->nb_planes; p++) {
+const int slice_start = (s->planeheight[p] * jobnr) / nb_jobs;
+const int slice_end = (s->planeheight[p] * (jobnr+1)) / nb_jobs;
+  

[FFmpeg-cvslog] avcodec/Makefile: remove bogus/duplicate PNG parser entry

2020-02-24 Thread Anamitra Ghorui
ffmpeg | branch: master | Anamitra Ghorui  | Mon Feb 24 
20:50:52 2020 +0530| [177c68e3496e0d807641110f2a76d25ad71e45bb] | committer: 
Paul B Mahol

avcodec/Makefile: remove bogus/duplicate PNG parser entry

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=177c68e3496e0d807641110f2a76d25ad71e45bb
---

 libavcodec/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 0de585279c..f1c032b456 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -1059,7 +1059,6 @@ OBJS-$(CONFIG_MLP_PARSER)  += mlp_parse.o 
mlp_parser.o mlp.o
 OBJS-$(CONFIG_MPEG4VIDEO_PARSER)   += mpeg4video_parser.o h263.o \
   mpeg4videodec.o mpeg4video.o \
   ituh263dec.o h263dec.o h263data.o
-OBJS-$(CONFIG_PNG_PARSER)  += png_parser.o
 OBJS-$(CONFIG_MPEGAUDIO_PARSER)+= mpegaudio_parser.o
 OBJS-$(CONFIG_MPEGVIDEO_PARSER)+= mpegvideo_parser.o\
   mpeg12.o mpeg12data.o

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".