On Thu, Mar 20, 2014 at 03:14:55AM +0100, Vittorio Giovara wrote:
---
My first encoder/decoder \o/
A sum up of the format is available here
http://www.mediatel.lu/workshop/graphic/2D_fileformat/h_aliaspix.html
GIMP is able to read and write PIX images, it's completely compatibile with
On Wed, 19 Mar 2014, Tanja Batchelor wrote:
---
libavformat/mpeg.c | 6 +++---
libavformat/srtp.c | 10 +-
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/libavformat/srtp.c b/libavformat/srtp.c
index 6659bfc..7ccba47 100644
--- a/libavformat/srtp.c
+++
On Thu, 20 Mar 2014, Ben Avison wrote:
Profiling results for overall audio decode and the mlp_filter_channel(_arm)
function in particular are as follows:
Before After
Mean StdDev Mean StdDev Confidence Change
6:2 total 380.4 22.0 370.8 17.0
This gets rid of aliasing completely unrelated structs to Picture.
Fixes the remaining compilation warnings in the vdpau code.
---
libavcodec/vdpau.c | 2 +-
libavcodec/vdpau_h264.c | 6 +++---
libavcodec/vdpau_internal.h | 6 +++---
libavcodec/vdpau_mpeg12.c | 4 ++--
The code passed H264Picture* and Picture*, and assumed the
hwaccel_picture_private field was in the same place in both
structs. Somehow this happened to work in Libav, but broke in
FFmpeg (and probably subtly breaks in Libav too).
---
libavcodec/vdpau.c | 8 +++-
---
libavcodec/vaapi.c | 2 +-
libavcodec/vaapi_h264.c | 6 +++---
libavcodec/vaapi_internal.h | 6 +++---
libavcodec/vaapi_mpeg2.c| 4 ++--
libavcodec/vaapi_mpeg4.c| 4 ++--
libavcodec/vaapi_vc1.c | 4 ++--
6 files changed, 13 insertions(+), 13 deletions(-)
diff --git
From: Michael Niedermayer michae...@gmx.at
Sample: NeroRecodeSample.mp4
Signed-off-by: Michael Niedermayer michae...@gmx.at
Conflicts:
libavformat/mov.c
---
libavformat/mov.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/libavformat/mov.c
From: Michael Niedermayer michae...@gmx.at
This avoids the 2nd buffer and fixes the palette truncated check
Signed-off-by: Michael Niedermayer michae...@gmx.at
---
I guess the length check is off by 1, so this defensive measure was
ineffective, even if it wasn't a real bug.
---
From: Michael Niedermayer michae...@gmx.at
Fixes regression with NeroRecodeSample.mp4
Signed-off-by: Michael Niedermayer michae...@gmx.at
---
libavformat/isom.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavformat/isom.c b/libavformat/isom.c
index
From: Michael Niedermayer michae...@gmx.at
This also moves mov_rewrite_dvd_sub_extradata() to mov.c
Fixes: NeroRecodeSample.mp4
Signed-off-by: Michael Niedermayer michae...@gmx.at
---
This is a real problem. I wasn't sure whether this can happen, but
apparently it can and does happen.
---
---
libavformat/mpeg.c | 82 +++---
1 file changed, 41 insertions(+), 41 deletions(-)
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 7430bb0..99112ac 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -38,15 +38,15 @@ static
On 20/03/14 09:05, wm4 wrote:
From: Michael Niedermayer michae...@gmx.at
This avoids the 2nd buffer and fixes the palette truncated check
Signed-off-by: Michael Niedermayer michae...@gmx.at
I let others discuss the patch, just two items:
The tag: field will be parsed by plaid soon and
On 2014-03-20 09:33:10 +0200, Martin Storsjö wrote:
On Thu, 20 Mar 2014, Ben Avison wrote:
diff --git a/libavcodec/arm/mlpdsp_arm.S b/libavcodec/arm/mlpdsp_arm.S
new file mode 100644
index 000..9e0bf57
--- /dev/null
+++ b/libavcodec/arm/mlpdsp_arm.S
@@ -0,0 +1,435 @@
+/*
+
On Wed, Mar 19, 2014 at 07:43:49PM -, Ben Avison wrote:
--- a/libavcodec/mlpdsp.c
+++ b/libavcodec/mlpdsp.c
@@ -89,10 +89,46 @@ void ff_mlp_rematrix_channel(int32_t *samples,
+int32_t *data_32 = (int32_t *)data;
+int16_t *data_16 = (int16_t *)data;
pointless void* casts
Fair
On Thu, Mar 20, 2014 at 03:14:55AM +0100, Vittorio Giovara wrote:
---
My first encoder/decoder \o/
\o/
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -88,6 +88,8 @@ OBJS-$(CONFIG_AC3_FIXED_ENCODER) += ac3enc_fixed.o
ac3enc.o ac3tab.o ac3.o
OBJS-$(CONFIG_AIC_DECODER)
On Thu, Mar 20, 2014 at 09:05:36AM +0100, wm4 wrote:
From: Michael Niedermayer michae...@gmx.at
Sample: NeroRecodeSample.mp4
Signed-off-by: Michael Niedermayer michae...@gmx.at
Conflicts:
libavformat/mov.c
Please drop such conflict markers in the future.
For now, it can be removed
On Thu, Mar 20, 2014 at 12:45:36PM +0100, Diego Biurrun wrote:
On Thu, Mar 20, 2014 at 03:14:55AM +0100, Vittorio Giovara wrote:
---
My first encoder/decoder \o/
\o/
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -88,6 +88,8 @@ OBJS-$(CONFIG_AC3_FIXED_ENCODER) +=
---
Amended as requested.
Thanks for the reviews.
Vittorio
Changelog| 1 +
doc/general.texi | 2 +
libavcodec/Makefile | 2 +
libavcodec/aliaspixdec.c | 115 +
libavcodec/aliaspixenc.c | 130
On Thu, Mar 20, 2014 at 01:10:06PM +0100, Vittorio Giovara wrote:
---
Amended as requested.
Thanks for the reviews.
Vittorio
Changelog| 1 +
doc/general.texi | 2 +
libavcodec/Makefile | 2 +
libavcodec/aliaspixdec.c | 115
On Thu, 20 Mar 2014, Janne Grunau wrote:
On 2014-03-20 09:33:10 +0200, Martin Storsjö wrote:
On Thu, 20 Mar 2014, Ben Avison wrote:
diff --git a/libavcodec/arm/mlpdsp_arm.S b/libavcodec/arm/mlpdsp_arm.S
new file mode 100644
index 000..9e0bf57
--- /dev/null
+++
On 20 Mar 2014, at 08:03, Martin Storsjö mar...@martin.st wrote:
On Wed, 19 Mar 2014, Tanja Batchelor wrote:
---
libavformat/mpeg.c | 6 +++---
libavformat/srtp.c | 10 +-
2 files changed, 8 insertions(+), 8 deletions(-)
This is part of the srtp test program and intentionally
Arch-specific optimizations are handled this way everywhere else.
---
libavutil/float_dsp.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/libavutil/float_dsp.c b/libavutil/float_dsp.c
index 6ff7e2f..aabc800 100644
--- a/libavutil/float_dsp.c
+++
On 20/03/14 14:16, Diego Biurrun wrote:
Arch-specific optimizations are handled this way everywhere else.
---
libavutil/float_dsp.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/libavutil/float_dsp.c b/libavutil/float_dsp.c
index 6ff7e2f..aabc800
On 19/03/14 19:13, Diego Biurrun wrote:
---
configure | 3 +-
doc/optimization.txt | 3 -
libavcodec/Makefile| 1 +
libavcodec/dsputil.c | 299 +---
libavcodec/dsputil.h | 16 --
On 19/03/14 19:13, Diego Biurrun wrote:
The functions are not used templatized.
---
libavcodec/dsputil.c | 38 ++
libavcodec/dsputil_template.c | 40
2 files changed, 38 insertions(+), 40 deletions(-)
On 19/03/14 19:13, Diego Biurrun wrote:
This allows detemplatizing the bits that are not instantiated twice.
---
libavcodec/dsputil.c | 3 ++-
libavcodec/dsputil_template.c| 27 -
libavcodec/dsputilenc_template.c | 51
On 19/03/14 19:13, Diego Biurrun wrote:
---
libavcodec/dsputil.c | 22 ---
libavcodec/dsputil.h | 6 ---
libavcodec/dsputil_template.c | 52 -
libavcodec/rv40dsp.c | 90
---
4 files
On 19/03/14 19:13, Diego Biurrun wrote:
There is no point in having a separate file just for the instantiation
that provides the public functions.
---
libavcodec/x86/Makefile | 4 +---
libavcodec/x86/hpeldsp_init.c | 9 +
libavcodec/x86/rnd_mmx.c | 37
On 19/03/14 19:12, Diego Biurrun wrote:
Finally, I start to put dsputil on a diet, like the doctor ordered.
There are still preparatory patches that pave the way for later changes,
but some big chunks are broken out of dsputil and off into separate
structures.
We aren't using any high bit
On Thu, Mar 20, 2014 at 02:33:52PM +0100, Luca Barbato wrote:
On 19/03/14 19:12, Diego Biurrun wrote:
Finally, I start to put dsputil on a diet, like the doctor ordered.
There are still preparatory patches that pave the way for later changes,
but some big chunks are broken out of dsputil
---
Changelog| 1 +
doc/general.texi | 2 +
libavcodec/Makefile | 2 +
libavcodec/aliaspixdec.c | 115 +
libavcodec/aliaspixenc.c | 131 +++
libavcodec/allcodecs.c | 1 +
---
Some more tweaks Justin asked me.
Vittorio
Changelog| 1 +
doc/general.texi | 2 +
libavcodec/Makefile | 2 +
libavcodec/aliaspixdec.c | 114
libavcodec/aliaspixenc.c | 132
The set looks fine to me, and appears to work pushing.
Thanks
--
Anton Khirnov
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel
This was the last bit of codec-specific handling in VLC.
---
doc/APIchanges | 3 +++
libavcodec/vdpau.c | 28
libavcodec/vdpau.h | 14 ++
libavcodec/version.h | 4 ++--
4 files changed, 47 insertions(+), 2 deletions(-)
diff --git
Le jeudi 20 mars 2014, 19:03:29 Rémi Denis-Courmont a écrit :
This was the last bit of codec-specific handling in VLC.
Well, almost last. (Still special H.264 case for reference frames count.)
--
Rémi Denis-Courmont
http://www.remlab.net/
___
On Thu, 20 Mar 2014 19:10:23 +0200
Rémi Denis-Courmont r...@remlab.net wrote:
Le jeudi 20 mars 2014, 19:03:29 Rémi Denis-Courmont a écrit :
This was the last bit of codec-specific handling in VLC.
Well, almost last. (Still special H.264 case for reference frames count.)
Le jeudi 20 mars 2014, 18:31:19 wm4 a écrit :
On Thu, 20 Mar 2014 19:10:23 +0200
Rémi Denis-Courmont r...@remlab.net wrote:
Le jeudi 20 mars 2014, 19:03:29 Rémi Denis-Courmont a écrit :
This was the last bit of codec-specific handling in VLC.
Well, almost last. (Still special H.264
On 03/20/2014 11:57 AM, Vittorio Giovara wrote:
---
Some more tweaks Justin asked me.
Vittorio
Changelog| 1 +
doc/general.texi | 2 +
libavcodec/Makefile | 2 +
libavcodec/aliaspixdec.c | 114
Signed-off-by: James Almer jamr...@gmail.com
---
libavcodec/x86/dcadsp.asm| 22 ++
libavcodec/x86/dcadsp_init.c | 6 ++
2 files changed, 28 insertions(+)
diff --git a/libavcodec/x86/dcadsp.asm b/libavcodec/x86/dcadsp.asm
index 662cb96..59d96bf 100644
---
Sandy Bridge Win64:
180 cycles in ff_synth_filter_inner_sse2
150 cycles in ff_synth_filter_inner_avx
Also switch some instructions to a three operand format to avoid
assembly errors with Yasm 1.1.0 or older.
Signed-off-by: James Almer jamr...@gmail.com
---
libavcodec/x86/dcadsp.asm| 85
Build only on x86_32 targets.
Signed-off-by: James Almer jamr...@gmail.com
---
libavcodec/x86/dcadsp.asm| 55 +---
libavcodec/x86/dcadsp_init.c | 45 ++--
2 files changed, 70 insertions(+), 30 deletions(-)
diff --git
Here are some extra implementations that extend Christophe's work.
Differences with v1:
* AVX/FMA3: Removed the main loop and related bookkeepeing for x64 since said
loop
would be run only once anyway.
* FMA3: Replaced mulps+subps with FMA3 instructions, meaning two less
instructions
run per
On Thu, 20 Mar 2014 07:33:10 -, Martin Storsjö mar...@martin.st wrote:
Just to be clear, the tricks that don't work in thumb mode are non-
constant shifts, and jump tables with ldr pc, [pc, ...], right?
Yes, it looks like it. I admit, Thumb was something of an afterthought;
shortly before
An updated patch series. The main difference here is that for Thumb targets,
it's assumed that interworking is not supported, so individual functions are
either assembled as Thumb, or omitted if they cannot be supported without a
major refactoring.
Ben Avison (6):
truehd: add hand-scheduled ARM
Profiling on a Raspberry Pi revealed the best performance to correspond
with VLC_BITS = 5. Results for overall audio decode and the get_vlc2 function
in particular are as follows:
Before After
Mean StdDev Mean StdDev Confidence Change
6:2 total
Verified with profiling that this doesn't have a measurable effect upon
overall performance.
---
libavcodec/mlpdec.c | 40 +++-
libavcodec/mlpdsp.c | 38 ++
libavcodec/mlpdsp.h | 22 ++
3 files
Profiling results for overall decode and the output_data function in
particular are as follows:
Before After
Mean StdDev Mean StdDev Confidence Change
6:2 total 339.6 15.1 329.3 16.095.8% +3.1% (insignificant)
6:2 function 24.6
Verified with profiling that this doesn't have a measurable effect upon
overall performance.
---
libavcodec/mlpdec.c | 37 -
libavcodec/mlpdsp.c | 33 +
libavcodec/mlpdsp.h | 23 +++
3 files changed, 68
Profiling results for overall audio decode and the rematrix_channels function
in particular are as follows:
Before After
Mean StdDev Mean StdDev Confidence Change
6:2 total 370.8 17.0 348.8 20.199.9% +6.3%
6:2 function 46.4 8.4
Profiling results for overall audio decode and the mlp_filter_channel(_arm)
function in particular are as follows:
Before After
Mean StdDev Mean StdDev Confidence Change
6:2 total 380.4 22.0 370.8 17.087.4% +2.6% (insignificant)
On Thu, 20 Mar 2014 11:38:28 -, Diego Biurrun di...@biurrun.de wrote:
On Wed, Mar 19, 2014 at 07:43:49PM -, Ben Avison wrote:
--- a/libavcodec/mlpdsp.c
+++ b/libavcodec/mlpdsp.c
@@ -89,10 +89,46 @@ void ff_mlp_rematrix_channel(int32_t *samples,
+int32_t *data_32 = (int32_t *)data;
+
On Tue, 18 Mar 2014 19:19:16 +0100, Alessandro Ghedini alessan...@ghedini.me
wrote:
On mar, mar 18, 2014 at 06:26:42 +0100, Anton Khirnov wrote:
+int ff_replaygain_export(AVStream *st, AVDictionary *metadata)
+{
+const AVDictionaryEntry *tg, *tp, *ag, *ap;
+
+tg =
On Thu, 20 Mar 2014, Ben Avison wrote:
On Thu, 20 Mar 2014 07:33:10 -, Martin Storsjö mar...@martin.st wrote:
Just to be clear, the tricks that don't work in thumb mode are non-
constant shifts, and jump tables with ldr pc, [pc, ...], right?
Yes, it looks like it. I admit, Thumb was
From: Jimmy Christensen ji...@ghost.dk
Additional fixes and enhancements by Vittorio Giovara, Gonzalo Garramuno,
Nicolas George, Paul B Mahol and Michael Niedermayer.
Signed-off-by: Vittorio Giovara vittorio.giov...@gmail.com
---
I ported the header parsing to some sane bytestream2 and moved it
---
Amended as asked by Justin. I only kept the avctx-pix_fmt checks because they
look
more readable to me.
Cheers,
Vittorio
Changelog| 1 +
doc/general.texi | 2 +
libavcodec/Makefile | 2 +
libavcodec/aliaspixdec.c | 114
---
It was agreed to remove libx265 from release/10, so update the Changelog
accordingly.
Vittorio
Changelog | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Changelog b/Changelog
index 279c0d8..d0939a2 100644
--- a/Changelog
+++ b/Changelog
@@ -2,6 +2,7 @@ Entries are sorted
---
libavcodec/dirac.c | 10 ++
libavcodec/fraps.c | 4
libavcodec/h264.c | 12
libavcodec/hevc_ps.c| 2 ++
libavcodec/imgconvert.c | 8 +++-
libavcodec/libx264.c| 8
libavcodec/ljpegenc.c | 12
---
libavcodec/avcodec.h | 1 +
libavcodec/ljpegenc.c | 4
libavcodec/mjpegenc.c | 3 +++
libavcodec/svq3.c | 3 +++
libavcodec/version.h | 4 ++--
5 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index eee975e..9358882 100644
This is a second or alternative way that would allow us to deprecate J formats
without breaking AVCodec API. Instead of creating a monster struct with any
possible
color combination, I propose to supply a list of formats which have to be
interpreted
as full range, by adding a .pix_fmts_full to
This struct unambiguously describes how the bits of a pixel should be
interpreted and elaborated.
---
doc/APIchanges | 4 ++
libavcodec/avcodec.h | 68 +--
libavutil/Makefile | 1 +
libavutil/pixdesc.h | 1 +
libavutil/pixmodel.h | 129
---
doc/APIchanges | 4
libavutil/Makefile | 1 +
libavutil/frame.h| 5 +
libavutil/pixmodel.c | 38 ++
libavutil/pixmodel.h | 17 +
libavutil/version.h | 2 +-
6 files changed, 66 insertions(+), 1 deletion(-)
create
On 21/03/14 02:15, Vittorio Giovara wrote:
---
It was agreed to remove libx265 from release/10, so update the Changelog
accordingly.
Vittorio
Ok.
___
libav-devel mailing list
libav-devel@libav.org
On Thu, Mar 20, 2014 at 3:03 PM, Diego Biurrun di...@biurrun.de wrote:
On Thu, Mar 20, 2014 at 02:33:52PM +0100, Luca Barbato wrote:
On 19/03/14 19:12, Diego Biurrun wrote:
Finally, I start to put dsputil on a diet, like the doctor ordered.
There are still preparatory patches that pave the
On 03/20/2014 09:01 PM, Vittorio Giovara wrote:
+// Process unknown variables
+for (i = 0; i 2; i++) // value_name and value_type
+while (bytestream2_get_bytes_left(s-gb) 0)
+if (bytestream2_get_byte(s-gb) == 0)
+break;
If
On 03/20/2014 09:13 PM, Vittorio Giovara wrote:
---
Amended as asked by Justin. I only kept the avctx-pix_fmt checks because
they look
more readable to me.
Cheers,
Vittorio
Changelog| 1 +
doc/general.texi | 2 +
libavcodec/Makefile | 2 +
On Fri, Mar 21, 2014 at 2:59 AM, Justin Ruggles
justin.rugg...@gmail.com wrote:
On 03/20/2014 09:01 PM, Vittorio Giovara wrote:
+// Process unknown variables
+for (i = 0; i 2; i++) // value_name and value_type
+while (bytestream2_get_bytes_left(s-gb) 0)
+
---
Changelog| 1 +
doc/general.texi | 2 +
libavcodec/Makefile | 2 +
libavcodec/aliaspixdec.c | 114
libavcodec/aliaspixenc.c | 132 +++
libavcodec/allcodecs.c | 1 +
---
Now with a working gray encoder.
Vittorio
Changelog| 1 +
doc/general.texi | 2 +
libavcodec/Makefile | 2 +
libavcodec/aliaspixdec.c | 114
libavcodec/aliaspixenc.c | 134
---
Test OCDing.
Vittorio
tests/fate/image.mak | 6 ++
tests/ref/fate/aliaspix-bgr | 2 ++
tests/ref/fate/aliaspix-gray | 2 ++
3 files changed, 10 insertions(+)
create mode 100644 tests/ref/fate/aliaspix-bgr
create mode 100644 tests/ref/fate/aliaspix-gray
diff --git
69 matches
Mail list logo