[FFmpeg-cvslog] lavf/avio: add avio_vprintf()

2022-06-13 Thread Stefano Sabatini
ffmpeg | branch: master | Stefano Sabatini  | Sun Jun 12 
13:15:26 2022 +0200| [7cae3d8b7685dda77b14aeab3a0fee22547e8f1d] | committer: 
Marton Balint

lavf/avio: add avio_vprintf()

This new function makes it possible to use avio_printf() functionality from
a function taking a variable list of arguments.

Signed-off-by: Marton Balint 

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

 doc/APIchanges|  4 
 libavformat/avio.h|  6 ++
 libavformat/aviobuf.c | 17 +
 libavformat/version.h |  2 +-
 4 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index 337f1466d8..4f7a19d176 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -14,6 +14,10 @@ libavutil: 2021-04-27
 
 API changes, most recent first:
 
+2022-06-12 - xx - lavf 59.25.100 - avio.h
+  Add avio_vprintf(), similar to avio_printf() but allow to use it
+  from within a function taking a variable argument list as input.
+
 2022-05-23 - x - lavu 57.25.100 - avutil.h
   Deprecate av_fopen_utf8() without replacement.
 
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 3ed9175a9b..36c3d7b430 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -519,6 +519,12 @@ int64_t avio_size(AVIOContext *s);
  */
 int avio_feof(AVIOContext *s);
 
+/**
+ * Writes a formatted string to the context taking a va_list.
+ * @return number of bytes written, < 0 on error.
+ */
+int avio_vprintf(AVIOContext *s, const char *fmt, va_list ap);
+
 /**
  * Writes a formatted string to the context.
  * @return number of bytes written, < 0 on error.
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 33bc3c2e20..b20b1a611a 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -1292,15 +1292,12 @@ int avio_closep(AVIOContext **s)
 return ret;
 }
 
-int avio_printf(AVIOContext *s, const char *fmt, ...)
+int avio_vprintf(AVIOContext *s, const char *fmt, va_list ap)
 {
-va_list ap;
 AVBPrint bp;
 
 av_bprint_init(&bp, 0, INT_MAX);
-va_start(ap, fmt);
 av_vbprintf(&bp, fmt, ap);
-va_end(ap);
 if (!av_bprint_is_complete(&bp)) {
 av_bprint_finalize(&bp, NULL);
 s->error = AVERROR(ENOMEM);
@@ -1311,6 +1308,18 @@ int avio_printf(AVIOContext *s, const char *fmt, ...)
 return bp.len;
 }
 
+int avio_printf(AVIOContext *s, const char *fmt, ...)
+{
+va_list ap;
+int ret;
+
+va_start(ap, fmt);
+ret = avio_vprintf(s, fmt, ap);
+va_end(ap);
+
+return ret;
+}
+
 void avio_print_string_array(AVIOContext *s, const char *strings[])
 {
 for(; *strings; strings++)
diff --git a/libavformat/version.h b/libavformat/version.h
index 6c2776460b..966ebb7ed3 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -31,7 +31,7 @@
 
 #include "version_major.h"
 
-#define LIBAVFORMAT_VERSION_MINOR  24
+#define LIBAVFORMAT_VERSION_MINOR  25
 #define LIBAVFORMAT_VERSION_MICRO 100
 
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \

___
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] ffprobe: add -o option

2022-06-13 Thread Stefano Sabatini
ffmpeg | branch: master | Stefano Sabatini  | Sun Apr 18 
23:11:01 2021 +0200| [ff07492cd800d2904816f6cf0c0cca21d3ccef1e] | committer: 
Marton Balint

ffprobe: add -o option

This enables printing to a resource specified with -o OUTPUT.

In case the output is not specified, prints to stdout as usual.

Address issue: http://trac.ffmpeg.org/ticket/8024

Signed-off-by: Marton Balint 

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

 Changelog |   1 +
 doc/ffprobe.texi  |   7 ++
 fftools/ffprobe.c | 209 ++
 3 files changed, 156 insertions(+), 61 deletions(-)

diff --git a/Changelog b/Changelog
index d4ca674b1b..64a0c4f358 100644
--- a/Changelog
+++ b/Changelog
@@ -19,6 +19,7 @@ version 5.1:
 - blurdetect filter
 - tiltshelf audio filter
 - QOI image format support
+- ffprobe -o option
 
 
 version 5.0:
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi
index c61b8979b1..4dc9f577bb 100644
--- a/doc/ffprobe.texi
+++ b/doc/ffprobe.texi
@@ -28,6 +28,9 @@ If a url is specified in input, ffprobe will try to open and
 probe the url content. If the url cannot be opened or recognized as
 a multimedia file, a positive exit code is returned.
 
+If no output is specified as output with @option{o} ffprobe will write
+to stdout.
+
 ffprobe may be employed both as a standalone application or in
 combination with a textual filter, which may perform more
 sophisticated processing, e.g. statistical processing or plotting.
@@ -348,6 +351,10 @@ on the specific build.
 @item -i @var{input_url}
 Read @var{input_url}.
 
+@item -o @var{output_url}
+Write output to @var{output_url}. If not specified, the output is sent
+to stdout.
+
 @end table
 @c man end
 
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index c44297c1fa..4e2fdbaec8 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -281,6 +281,7 @@ static const OptionDef *options;
 static const char *input_filename;
 static const char *print_input_filename;
 static const AVInputFormat *iformat = NULL;
+static const char *output_filename = NULL;
 
 static struct AVHashContext *hash;
 
@@ -476,6 +477,12 @@ typedef struct Writer {
 struct WriterContext {
 const AVClass *class;   ///< class of the writer
 const Writer *writer;   ///< the Writer of which this is an 
instance
+AVIOContext *avio;  ///< the I/O context used to write
+
+void (* writer_w8)(WriterContext *wctx, int b);
+void (* writer_put_str)(WriterContext *wctx, const char *str);
+void (* writer_printf)(WriterContext *wctx, const char *fmt, ...);
+
 char *name; ///< name of this writer instance
 void *priv; ///< private data for use by the filter
 
@@ -553,6 +560,10 @@ static void writer_close(WriterContext **wctx)
 av_opt_free((*wctx)->priv);
 av_freep(&((*wctx)->priv));
 av_opt_free(*wctx);
+if ((*wctx)->avio) {
+avio_flush((*wctx)->avio);
+avio_close((*wctx)->avio);
+}
 av_freep(wctx);
 }
 
@@ -564,9 +575,46 @@ static void bprint_bytes(AVBPrint *bp, const uint8_t 
*ubuf, size_t ubuf_size)
 av_bprintf(bp, "%02X", ubuf[i]);
 }
 
+static inline void writer_w8_avio(WriterContext *wctx, int b)
+{
+avio_w8(wctx->avio, b);
+}
+
+static inline void writer_put_str_avio(WriterContext *wctx, const char *str)
+{
+avio_write(wctx->avio, str, strlen(str));
+}
+
+static inline void writer_printf_avio(WriterContext *wctx, const char *fmt, 
...)
+{
+va_list ap;
+
+va_start(ap, fmt);
+avio_vprintf(wctx->avio, fmt, ap);
+va_end(ap);
+}
+
+static inline void writer_w8_printf(WriterContext *wctx, int b)
+{
+printf("%c", b);
+}
+
+static inline void writer_put_str_printf(WriterContext *wctx, const char *str)
+{
+printf("%s", str);
+}
+
+static inline void writer_printf_printf(WriterContext *wctx, const char *fmt, 
...)
+{
+va_list ap;
+
+va_start(ap, fmt);
+vprintf(fmt, ap);
+va_end(ap);
+}
 
 static int writer_open(WriterContext **wctx, const Writer *writer, const char 
*args,
-   const struct section *sections, int nb_sections)
+   const struct section *sections, int nb_sections, const 
char *output)
 {
 int i, ret = 0;
 
@@ -637,6 +685,21 @@ static int writer_open(WriterContext **wctx, const Writer 
*writer, const char *a
 }
 }
 
+if (!output_filename) {
+(*wctx)->writer_w8 = writer_w8_printf;
+(*wctx)->writer_put_str = writer_put_str_printf;
+(*wctx)->writer_printf = writer_printf_printf;
+} else {
+if ((ret = avio_open(&(*wctx)->avio, output, AVIO_FLAG_WRITE)) < 0) {
+av_log(*wctx, AV_LOG_ERROR,
+   "Failed to open output '%s' with error: %s\n", output, 
av_err2str(ret));
+goto fail;
+}
+(*wctx)->writer_w8 = writer_w8_avio;
+(*wctx)->writer_put_str = writer_put_

[FFmpeg-cvslog] swresample/x86/rematrix: Remove obsolete MMX functions

2022-06-13 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt  | 
Sat Jun 11 00:26:18 2022 +0200| [4e51e48ebdd2c2357f5595a3f403427a51b189f8] | 
committer: Andreas Rheinhardt

swresample/x86/rematrix: Remove obsolete MMX functions

x64 always has MMX, MMXEXT, SSE and SSE2 and this means
that some functions for MMX, MMXEXT and 3dnow are always
overridden by other functions (unless one e.g. explicitly
disables SSE2) for x64. So given that the only systems that
benefit from these functions are truely ancient 32bit x86s
they are removed.

Signed-off-by: Andreas Rheinhardt 

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

 libswresample/x86/rematrix.asm| 6 --
 libswresample/x86/rematrix_init.c | 5 -
 2 files changed, 11 deletions(-)

diff --git a/libswresample/x86/rematrix.asm b/libswresample/x86/rematrix.asm
index 7984b9a729..968010701e 100644
--- a/libswresample/x86/rematrix.asm
+++ b/libswresample/x86/rematrix.asm
@@ -223,12 +223,6 @@ mix_2_1_int16_u_int %+ SUFFIX:
 %endmacro
 
 
-INIT_MMX mmx
-MIX1_INT16 u
-MIX1_INT16 a
-MIX2_INT16 u
-MIX2_INT16 a
-
 INIT_XMM sse
 MIX2_FLT u
 MIX2_FLT a
diff --git a/libswresample/x86/rematrix_init.c 
b/libswresample/x86/rematrix_init.c
index 0608c74e7f..b6ed38bf67 100644
--- a/libswresample/x86/rematrix_init.c
+++ b/libswresample/x86/rematrix_init.c
@@ -28,7 +28,6 @@ mix_2_1_func_type ff_mix_2_1_a_## type ## _ ## simd;
 
 D(float, sse)
 D(float, avx)
-D(int16, mmx)
 D(int16, sse2)
 
 av_cold int swri_rematrix_init_x86(struct SwrContext *s){
@@ -43,10 +42,6 @@ av_cold int swri_rematrix_init_x86(struct SwrContext *s){
 s->mix_2_1_simd = NULL;
 
 if (s->midbuf.fmt == AV_SAMPLE_FMT_S16P){
-if(EXTERNAL_MMX(mm_flags)) {
-s->mix_1_1_simd = ff_mix_1_1_a_int16_mmx;
-s->mix_2_1_simd = ff_mix_2_1_a_int16_mmx;
-}
 if(EXTERNAL_SSE2(mm_flags)) {
 s->mix_1_1_simd = ff_mix_1_1_a_int16_sse2;
 s->mix_2_1_simd = ff_mix_2_1_a_int16_sse2;

___
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] swresample/resample: Properly empty MMX state

2022-06-13 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt  | 
Sat Jun 11 23:25:14 2022 +0200| [55fc2c5a892c50feb1b9a8f55b74ec6594755ddb] | 
committer: Andreas Rheinhardt

swresample/resample: Properly empty MMX state

There is a x86-32 MMXEXT implementation for resampling
planar 16bit data. multiple_resample() therefore calls
emms_c() if it thinks that this needed. And this is bad:

1. It is a maintenance nightmare because changes to the
x86 resample DSP code would necessitate changes to the check
whether to call emms_c().
2. The return value of av_get_cpu_flags() does not tell
whether the MMX DSP functions are in use, as they could
have been overridden by av_force_cpu_flags().
3. The MMX DSP functions will never be overridden in case of
an x86-32 build with --disable-sse2. In this scenario lots of
resampling tests (like swr-resample_exact_lin_async-s16p-8000-48000)
fail because the cpuflags indicate that SSE2 is available
(presuming that the test is run on a CPU with SSE2).
4. The check includes a call to av_get_cpu_flags(). This is not
optimized away for arches other than x86-32.
5. The check takes about as much time as emms_c() itself,
making it pointless.

This commit therefore removes the check and calls emms_c()
unconditionally (it is a no-op for non-x86).

Signed-off-by: Andreas Rheinhardt 

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

 libswresample/resample.c | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/libswresample/resample.c b/libswresample/resample.c
index f1ec77f54b..9c5b7fee72 100644
--- a/libswresample/resample.c
+++ b/libswresample/resample.c
@@ -452,9 +452,6 @@ static int set_compensation(ResampleContext *c, int 
sample_delta, int compensati
 
 static int multiple_resample(ResampleContext *c, AudioData *dst, int dst_size, 
AudioData *src, int src_size, int *consumed){
 int i;
-int av_unused mm_flags = av_get_cpu_flags();
-int need_emms = c->format == AV_SAMPLE_FMT_S16P && ARCH_X86_32 &&
-(mm_flags & (AV_CPU_FLAG_MMX2 | AV_CPU_FLAG_SSE2)) == 
AV_CPU_FLAG_MMX2;
 int64_t max_src_size = (INT64_MAX/2 / c->phase_count) / c->src_incr;
 
 if (c->compensation_distance)
@@ -500,8 +497,7 @@ static int multiple_resample(ResampleContext *c, AudioData 
*dst, int dst_size, A
 }
 }
 
-if(need_emms)
-emms_c();
+emms_c();
 
 if (c->compensation_distance) {
 c->compensation_distance -= dst_size;

___
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] swresample/x86/resample: Remove obsolete MMXEXT functions

2022-06-13 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt  | 
Sun Jun 12 00:11:35 2022 +0200| [dd61d6489bf27942f8d24b7e31b3b140f1d2f0c6] | 
committer: Andreas Rheinhardt

swresample/x86/resample: Remove obsolete MMXEXT functions

x64 always has MMX, MMXEXT, SSE and SSE2 and this means
that some functions for MMX, MMXEXT, SSE and 3dnow are always
overridden by other functions (unless one e.g. explicitly
disables SSE2). So given that the only systems which benefit
from the MMXEXT resamplers (which are overridden by SSE2)
are truely ancient 32bit x86s they are removed.

Signed-off-by: Andreas Rheinhardt 

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

 libswresample/x86/resample.asm| 5 -
 libswresample/x86/resample_init.c | 5 -
 2 files changed, 10 deletions(-)

diff --git a/libswresample/x86/resample.asm b/libswresample/x86/resample.asm
index 7107cf9d42..6c3dc28703 100644
--- a/libswresample/x86/resample.asm
+++ b/libswresample/x86/resample.asm
@@ -594,11 +594,6 @@ INIT_XMM fma4
 RESAMPLE_FNS float, 4, 2, s, pf_1
 %endif
 
-%if ARCH_X86_32
-INIT_MMX mmxext
-RESAMPLE_FNS int16, 2, 1
-%endif
-
 INIT_XMM sse2
 RESAMPLE_FNS int16, 2, 1
 %if HAVE_XOP_EXTERNAL
diff --git a/libswresample/x86/resample_init.c 
b/libswresample/x86/resample_init.c
index 32c080ea4c..d13ccd4833 100644
--- a/libswresample/x86/resample_init.c
+++ b/libswresample/x86/resample_init.c
@@ -35,7 +35,6 @@ int ff_resample_common_##type##_##opt(ResampleContext *c, 
void *dst, \
 int ff_resample_linear_##type##_##opt(ResampleContext *c, void *dst, \
   const void *src, int sz, int upd)
 
-RESAMPLE_FUNCS(int16,  mmxext);
 RESAMPLE_FUNCS(int16,  sse2);
 RESAMPLE_FUNCS(int16,  xop);
 RESAMPLE_FUNCS(float,  sse);
@@ -52,10 +51,6 @@ av_cold void swri_resample_dsp_x86_init(ResampleContext *c)
 
 switch(c->format){
 case AV_SAMPLE_FMT_S16P:
-if (ARCH_X86_32 && EXTERNAL_MMXEXT(mm_flags)) {
-c->dsp.resample_linear = ff_resample_linear_int16_mmxext;
-c->dsp.resample_common = ff_resample_common_int16_mmxext;
-}
 if (EXTERNAL_SSE2(mm_flags)) {
 c->dsp.resample_linear = ff_resample_linear_int16_sse2;
 c->dsp.resample_common = ff_resample_common_int16_sse2;

___
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] swresample/x86/audio_convert: Remove obsolete MMX functions

2022-06-13 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt  | 
Sat Jun 11 00:21:15 2022 +0200| [2b94f23b06d9bbab4cd5b5fec9f4e53ff365e5ab] | 
committer: Andreas Rheinhardt

swresample/x86/audio_convert: Remove obsolete MMX functions

x64 always has MMX, MMXEXT, SSE and SSE2 and this means
that some functions for MMX, MMXEXT and 3dnow are always
overridden by other functions (unless one e.g. explicitly
disables SSE2) for x64. So given that the only systems that
benefit from these functions are truely ancient 32bit x86s
they are removed.

Signed-off-by: Andreas Rheinhardt 

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

 libswresample/x86/audio_convert.asm| 9 -
 libswresample/x86/audio_convert_init.c | 9 +
 2 files changed, 1 insertion(+), 17 deletions(-)

diff --git a/libswresample/x86/audio_convert.asm 
b/libswresample/x86/audio_convert.asm
index d441636d3c..d6d6a81495 100644
--- a/libswresample/x86/audio_convert.asm
+++ b/libswresample/x86/audio_convert.asm
@@ -608,15 +608,6 @@ pack_8ch_%2_to_%1_u_int %+ SUFFIX:
 %macro NOP_N 0-6
 %endmacro
 
-INIT_MMX mmx
-CONV int32, int16, u, 2, 1, INT16_TO_INT32_N, NOP_N
-CONV int32, int16, a, 2, 1, INT16_TO_INT32_N, NOP_N
-CONV int16, int32, u, 1, 2, INT32_TO_INT16_N, NOP_N
-CONV int16, int32, a, 1, 2, INT32_TO_INT16_N, NOP_N
-
-PACK_6CH float, float, u, 2, 2, 0, NOP_N, NOP_N
-PACK_6CH float, float, a, 2, 2, 0, NOP_N, NOP_N
-
 INIT_XMM sse
 PACK_6CH float, float, u, 2, 2, 7, NOP_N, NOP_N
 PACK_6CH float, float, a, 2, 2, 7, NOP_N, NOP_N
diff --git a/libswresample/x86/audio_convert_init.c 
b/libswresample/x86/audio_convert_init.c
index a7d5ab89f8..f6d36f9ca6 100644
--- a/libswresample/x86/audio_convert_init.c
+++ b/libswresample/x86/audio_convert_init.c
@@ -26,7 +26,7 @@
 #define PROTO(pre, in, out, cap) void ff ## pre ## in## _to_ ##out## _a_ 
##cap(uint8_t **dst, const uint8_t **src, int len);
 #define PROTO2(pre, out, cap) PROTO(pre, int16, out, cap) PROTO(pre, int32, 
out, cap) PROTO(pre, float, out, cap)
 #define PROTO3(pre, cap) PROTO2(pre, int16, cap) PROTO2(pre, int32, cap) 
PROTO2(pre, float, cap)
-#define PROTO4(pre) PROTO3(pre, mmx) PROTO3(pre, sse) PROTO3(pre, sse2) 
PROTO3(pre, ssse3) PROTO3(pre, sse4) PROTO3(pre, avx) PROTO3(pre, avx2)
+#define PROTO4(pre) PROTO3(pre, sse) PROTO3(pre, sse2) PROTO3(pre, ssse3) 
PROTO3(pre, sse4) PROTO3(pre, avx) PROTO3(pre, avx2)
 PROTO4(_)
 PROTO4(_pack_2ch_)
 PROTO4(_pack_6ch_)
@@ -52,15 +52,8 @@ av_cold void swri_audio_convert_init_x86(struct AudioConvert 
*ac,
 ac->simd_f =  ff_int32_to_int16_a_ ## cap;\
 }
 
-MULTI_CAPS_FUNC(MMX, mmx)
 MULTI_CAPS_FUNC(SSE2, sse2)
 
-if(EXTERNAL_MMX(mm_flags)) {
-if(channels == 6) {
-if(   out_fmt == AV_SAMPLE_FMT_FLT  && in_fmt == 
AV_SAMPLE_FMT_FLTP || out_fmt == AV_SAMPLE_FMT_S32 && in_fmt == 
AV_SAMPLE_FMT_S32P)
-ac->simd_f =  ff_pack_6ch_float_to_float_a_mmx;
-}
-}
 if(EXTERNAL_SSE(mm_flags)) {
 if(channels == 6) {
 if(   out_fmt == AV_SAMPLE_FMT_FLT  && in_fmt == 
AV_SAMPLE_FMT_FLTP || out_fmt == AV_SAMPLE_FMT_S32 && in_fmt == 
AV_SAMPLE_FMT_S32P)

___
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] swresample/resample: Remove unnecessary emms_c

2022-06-13 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt  | 
Sun Jun 12 00:14:26 2022 +0200| [0e8a5ded7e95f67a0681553cb879d97bd6d24c06] | 
committer: Andreas Rheinhardt

swresample/resample: Remove unnecessary emms_c

The last MMX code in swresample has just been removed.

Signed-off-by: Andreas Rheinhardt 

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

 libswresample/resample.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libswresample/resample.c b/libswresample/resample.c
index 9c5b7fee72..8f9efc3f21 100644
--- a/libswresample/resample.c
+++ b/libswresample/resample.c
@@ -497,8 +497,6 @@ static int multiple_resample(ResampleContext *c, AudioData 
*dst, int dst_size, A
 }
 }
 
-emms_c();
-
 if (c->compensation_distance) {
 c->compensation_distance -= dst_size;
 if (!c->compensation_distance) {

___
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] doc/APIchanges: add missing uuid and csp entries

2022-06-13 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen  | Tue Jun 14 
10:03:34 2022 +1000| [9874baf2cd31c83cc32e213e5f1b6ad7bf5b4086] | committer: 
James Almer

doc/APIchanges: add missing uuid and csp entries

Signed-off-by: Zane van Iperen 
Signed-off-by: James Almer 

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

 doc/APIchanges | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/doc/APIchanges b/doc/APIchanges
index 4f7a19d176..5857e67ae6 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -18,6 +18,16 @@ API changes, most recent first:
   Add avio_vprintf(), similar to avio_printf() but allow to use it
   from within a function taking a variable argument list as input.
 
+2022-06-12 - x - lavu 57.27.100 - uuid.h
+  Add UUID handling functions.
+  Add av_uuid_parse(), av_uuid_urn_parse(), av_uuid_parse_range(),
+  av_uuid_parse_range(), av_uuid_equal(), av_uuid_copy(), and av_uuid_nil().
+
+2022-06-01 - x - lavu 57.26.100 - csp.h
+  Add public API for colorspace structs.
+  Add av_csp_luma_coeffs_from_avcsp(), av_csp_primaries_desc_from_id(),
+  and av_csp_primaries_id_from_desc().
+
 2022-05-23 - x - lavu 57.25.100 - avutil.h
   Deprecate av_fopen_utf8() without replacement.
 

___
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] avutil: bump version after UUID changes

2022-06-13 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen  | Tue Jun 14 
10:03:33 2022 +1000| [ff59ecc4de0d5c3b0d72c2608a4ef3439308a575] | committer: 
James Almer

avutil: bump version after UUID changes

Forgot to bump after 76e95daa08f4c8874dbb570b6293716e2175213a.

Signed-off-by: Zane van Iperen 
Signed-off-by: James Almer 

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

 libavutil/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/version.h b/libavutil/version.h
index 2c7f4f6b37..2e9e02dda8 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -79,7 +79,7 @@
  */
 
 #define LIBAVUTIL_VERSION_MAJOR  57
-#define LIBAVUTIL_VERSION_MINOR  26
+#define LIBAVUTIL_VERSION_MINOR  27
 #define LIBAVUTIL_VERSION_MICRO 100
 
 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \

___
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".