[libav-devel] [PATCH] avconv: More descriptive message about framedrop

2014-03-19 Thread Luca Barbato
--- avconv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/avconv.c b/avconv.c index 13e6778..7ac175b 100644 --- a/avconv.c +++ b/avconv.c @@ -512,7 +512,9 @@ static void do_video_out(AVFormatContext *s, in_picture-pts != AV_NOPTS_VALUE in_picture-pts

Re: [libav-devel] [PATCH] avconv: More descriptive message about framedrop

2014-03-19 Thread Anton Khirnov
On Wed, 19 Mar 2014 09:57:47 +0100, Luca Barbato lu_z...@gentoo.org wrote: --- avconv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/avconv.c b/avconv.c index 13e6778..7ac175b 100644 --- a/avconv.c +++ b/avconv.c @@ -512,7 +512,9 @@ static void

[libav-devel] [PATCH] mxf: Override faulty PreviousPartition entries

2014-03-19 Thread Luca Barbato
Some files set the PreviousPartition field to point to its own offset. If we are parsing forward the Previous partition is immediately known and its value could be used, otherwise we can safely point to the header. Reported-By: Jean Baptiste Kempf j...@videolan.org --- libavformat/mxfdec.c | 20

[libav-devel] [PATCH] float_dsp: Use LOCAL_ALIGNED for instead of DECLARE_ALIGNED within functions

2014-03-19 Thread Martin Storsjö
This fixes fate-float_dsp-test on RVCT 4.0. --- libavutil/float_dsp.c | 48 +--- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/libavutil/float_dsp.c b/libavutil/float_dsp.c index 23468ad..03c8c11 100644 --- a/libavutil/float_dsp.c +++

Re: [libav-devel] [PATCH] float_dsp: Use LOCAL_ALIGNED for instead of DECLARE_ALIGNED within functions

2014-03-19 Thread Janne Grunau
On 2014-03-19 14:51:27 +0200, Martin Storsjö wrote: This fixes fate-float_dsp-test on RVCT 4.0. --- libavutil/float_dsp.c | 48 +--- 1 file changed, 25 insertions(+), 23 deletions(-) ok Janne ___

[libav-devel] [PATCH 1/1] aarch64: do not add the optional ', lsl #0' for byte vectors

2014-03-19 Thread Janne Grunau
Although it is allowed it does not make much sense since the immediate is already 8bits. --- gas-preprocessor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index 914c41c..692e788 100755 --- a/gas-preprocessor.pl +++

Re: [libav-devel] [PATCH 1/1] aarch64: do not add the optional ', lsl #0' for byte vectors

2014-03-19 Thread Luca Barbato
On 19/03/14 15:08, Janne Grunau wrote: Although it is allowed it does not make much sense since the immediate is already 8bits. --- gas-preprocessor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index 914c41c..692e788

Re: [libav-devel] [PATCH 1/1] aarch64: do not add the optional ', lsl #0' for byte vectors

2014-03-19 Thread Martin Storsjö
On Wed, 19 Mar 2014, Janne Grunau wrote: Although it is allowed it does not make much sense since the immediate is already 8bits. --- gas-preprocessor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index 914c41c..692e788 100755

Re: [libav-devel] [PATCH 064/132] dsputil: Use correct type in me_cmp_func function pointer

2014-03-19 Thread Diego Biurrun
On Sat, Mar 15, 2014 at 11:56:24AM +0100, Anton Khirnov wrote: On Fri, 14 Mar 2014 05:42:19 -0700, Diego Biurrun di...@biurrun.de wrote: --- libavcodec/arm/dsputil_init_armv6.c | 11 +++--- libavcodec/bfin/dsputil_init.c | 23 +++-- libavcodec/dsputil.c| 67

[libav-devel] Discussion for Project mentioned in Outreach Program for Women

2014-03-19 Thread preeti soni
Hey, I want to discuss Project Adobe DNG Decoder(Basic Support) with mentor Justin Ruggles. But don't know How to? Also, I am beginner in IRC. I don't know how to contact to mentor. Can Somebody help me?. With Regards, Preeti Soni -- *sayonara :)* *Have a nice day *

[libav-devel] [PATCH 5/6] truehd: break out part of output_data into platform-specific callback.

2014-03-19 Thread Ben Avison
Verified with profiling that this doesn't have a measurable effect upon overall performance. --- libavcodec/mlpdec.c | 40 +++- libavcodec/mlpdsp.c | 36 libavcodec/mlpdsp.h | 22 ++ 3 files

[libav-devel] [PATCH 0/6] truehd: ARM optimisations

2014-03-19 Thread Ben Avison
I present here a patch series aimed at improving the performance of Dolby TrueHD audio decoding on ARM CPUs, with a particular focus on the ARM1176JZF-S as featured in the Raspberry Pi. To date, only one function had been optimised, and that was only for x86. For each optimisation, I am including

[libav-devel] [PATCH 4/6] truehd: tune VLC decoding for ARM.

2014-03-19 Thread Ben Avison
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

[libav-devel] [PATCH 6/6] truehd: add hand-scheduled ARM asm version of ff_mlp_pack_output.

2014-03-19 Thread Ben Avison
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

[libav-devel] [PATCH 3/6] truehd: add hand-scheduled ARM asm version of ff_mlp_rematrix_channel.

2014-03-19 Thread Ben Avison
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

[libav-devel] [PATCH 1/6] truehd: add hand-scheduled ARM asm version of mlp_filter_channel.

2014-03-19 Thread Ben Avison
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)

[libav-devel] [PATCH 2/6] truehd: break out part of rematrix_channels into platform-specific callback.

2014-03-19 Thread Ben Avison
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

[libav-devel] [PATCH] nuv: Reuse the DSPContext from RTJpegContext

2014-03-19 Thread Diego Biurrun
There is no point in populating NuvContext with another DSPContext. Also split static and dynamic initialization bits to avoid running the static initialization parts over and over. --- I tried separating the init function split into a separate commit, but it was just too annoying, so it remains

[libav-devel] [PATCH] dsputil: Refactor duplicated CALL_2X_PIXELS / PIXELS16 macros

2014-03-19 Thread Diego Biurrun
--- Amended to not break some long lines for enhanced readability. libavcodec/arm/hpeldsp_init_arm.c | 2 +- libavcodec/dsputil.h | 2 -- libavcodec/dsputil_template.c | 2 ++ libavcodec/hpel_template.c | 2 ++ libavcodec/hpeldsp_template.c | 2 ++

Re: [libav-devel] Discussion for Project mentioned in Outreach Program for Women

2014-03-19 Thread Luca Barbato
On 19/03/14 16:38, preeti soni wrote: Hey, Hi, please do not cross post. I want to discuss Project Adobe DNG Decoder(Basic Support) with mentor Justin Ruggles. But don't know How to? IRC is an option, email is another. Also, I am beginner in IRC. I don't know how to contact to mentor. Can

Re: [libav-devel] [PATCH 6/6] truehd: add hand-scheduled ARM asm version of ff_mlp_pack_output.

2014-03-19 Thread Diego Biurrun
On Wed, Mar 19, 2014 at 05:24:27PM +, Ben Avison wrote: --- a/libavcodec/arm/mlpdsp_init_arm.c +++ b/libavcodec/arm/mlpdsp_init_arm.c @@ -41,8 +41,72 @@ void ff_mlp_rematrix_channel_arm(int32_t *samples, + +switch (max_matrix_channel) { +case 1: ch_index = 0; break; +case 5:

Re: [libav-devel] [PATCH 2/6] truehd: break out part of rematrix_channels into platform-specific callback.

2014-03-19 Thread Luca Barbato
On 19/03/14 18:24, Ben Avison wrote: 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

Re: [libav-devel] [PATCH 5/6] truehd: break out part of output_data into platform-specific callback.

2014-03-19 Thread Diego Biurrun
On Wed, Mar 19, 2014 at 05:24:26PM +, 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 ff_mlp_pack_output(int32_t lossless_check_data, This function is not used outside of the file, so it

Re: [libav-devel] [PATCH 1/6] truehd: add hand-scheduled ARM asm version of mlp_filter_channel.

2014-03-19 Thread Diego Biurrun
On Wed, Mar 19, 2014 at 05:24:22PM +, Ben Avison wrote: --- a/libavcodec/arm/Makefile +++ b/libavcodec/arm/Makefile @@ -21,9 +21,13 @@ OBJS-$(CONFIG_H264PRED)+= arm/h264pred_init_arm.o OBJS-$(CONFIG_H264QPEL)+= arm/h264qpel_init_arm.o

Re: [libav-devel] [PATCH 2/6] truehd: break out part of rematrix_channels into platform-specific callback.

2014-03-19 Thread Martin Storsjö
On Wed, 19 Mar 2014, Luca Barbato wrote: On 19/03/14 18:24, Ben Avison wrote: Verified with profiling that this doesn't have a measurable effect upon overall performance. --- libavcodec/mlpdec.c | 37 - libavcodec/mlpdsp.c | 33

Re: [libav-devel] [PATCH] dsputil: Refactor duplicated CALL_2X_PIXELS / PIXELS16 macros

2014-03-19 Thread Diego Biurrun
On Wed, Mar 19, 2014 at 06:54:44PM +0100, Luca Barbato wrote: On 19/03/14 18:34, Diego Biurrun wrote: --- Amended to not break some long lines for enhanced readability. Readability remains impaired. +#define HPELDSP_AVG_PIXELS16(CPUEXT) \ +

Re: [libav-devel] [PATCH 2/6] truehd: break out part of rematrix_channels into platform-specific callback.

2014-03-19 Thread Diego Biurrun
On Wed, Mar 19, 2014 at 05:24:23PM +, Ben Avison wrote: --- a/libavcodec/mlpdec.c +++ b/libavcodec/mlpdec.c --- a/libavcodec/mlpdsp.c +++ b/libavcodec/mlpdsp.c @@ -57,9 +57,42 @@ static void mlp_filter_channel(int32_t *state, const int32_t *coeff, +void

[libav-devel] [PATCH 072/132] x86: dsputil: Move hpeldsp-related declarations to a separate header

2014-03-19 Thread Diego Biurrun
--- libavcodec/x86/dsputil_x86.h| 14 -- libavcodec/x86/{hpeldsp_mmx.c = hpeldsp.h} | 43 ++--- libavcodec/x86/hpeldsp_init.c | 2 +- libavcodec/x86/hpeldsp_mmx.c| 2 +- libavcodec/x86/rnd_mmx.c|

[libav-devel] [PATCH 070/132] x86: dsputil: Move fpel declarations to a separate header

2014-03-19 Thread Diego Biurrun
--- libavcodec/x86/cavsdsp.c | 1 + libavcodec/x86/dsputil_init.c | 1 + libavcodec/x86/dsputil_x86.h | 17 - libavcodec/x86/fpel.h | 43 +++ libavcodec/x86/fpel_mmx.c | 2 +- libavcodec/x86/h264_qpel.c| 2 +-

[libav-devel] [PATCH 075/132] dsputil_template: Move bits that are used templatized into separate file

2014-03-19 Thread Diego Biurrun
This allows detemplatizing the bits that are not instantiated twice. --- libavcodec/dsputil.c | 3 ++- libavcodec/dsputil_template.c| 27 - libavcodec/dsputilenc_template.c | 51 3 files changed, 53 insertions(+), 28

[libav-devel] [PATCH 076/132] Add missing headers to make template files compile (more) standalone

2014-03-19 Thread Diego Biurrun
--- libavcodec/ac3enc_template.c | 4 libavcodec/h264_mb_template.c | 2 ++ libavcodec/h264_mc_template.c | 2 ++ libavcodec/h264idct_template.c | 1 + libavcodec/hpel_template.c | 4 libavcodec/motion_est_template.c | 2 ++

[libav-devel] [PATCH 081/132] hpeldsp_template: Drop av_unused attribute from *_no_rnd_pixels16_8_c functions

2014-03-19 Thread Diego Biurrun
--- libavcodec/hpeldsp_template.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/hpeldsp_template.c b/libavcodec/hpeldsp_template.c index 6869fe2..246421e 100644 --- a/libavcodec/hpeldsp_template.c +++ b/libavcodec/hpeldsp_template.c @@ -309,9 +309,9 @@

[libav-devel] [PATCH 082/132] hpeldsp_template: Move content to hpeldsp

2014-03-19 Thread Diego Biurrun
There is no point in having this separate; it is not used as a template. --- libavcodec/hpeldsp.c | 301 +- libavcodec/hpeldsp_template.c | 331 -- 2 files changed, 300 insertions(+), 332 deletions(-) delete

[libav-devel] [PATCH 083/132] x86: hpeldsp: Keep all rnd_template instantiations in hpeldsp_init

2014-03-19 Thread Diego Biurrun
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 - 3 files changed, 10

Re: [libav-devel] [PATCH 5/6] truehd: break out part of output_data into platform-specific callback.

2014-03-19 Thread James Almer
On 19/03/14 2:24 PM, Ben Avison wrote: diff --git a/libavcodec/mlpdsp.h b/libavcodec/mlpdsp.h index bd864d9..7b7640e 100644 --- a/libavcodec/mlpdsp.h +++ b/libavcodec/mlpdsp.h @@ -23,6 +23,7 @@ #define AVCODEC_MLPDSP_H #include stdint.h +#include mlp.h void

[libav-devel] [PATCH 071/132] ppc: dsputil: Move hpeldsp-related declarations to a separate header

2014-03-19 Thread Diego Biurrun
--- libavcodec/ppc/dsputil_altivec.h | 5 - libavcodec/ppc/h264qpel.c | 2 +- libavcodec/ppc/hpeldsp_altivec.c | 2 +- .../ppc/{dsputil_altivec.h = hpeldsp_altivec.h} | 19 ---

[libav-devel] THE GRAND DSPUTIL REFACTORING (act VII)

2014-03-19 Thread Diego Biurrun
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. [PATCH 070/132] x86: dsputil: Move fpel declarations to a separate [PATCH

[libav-devel] [PATCH 073/132] dsputil: Move thirdpel-related bits into their own context

2014-03-19 Thread Diego Biurrun
--- configure | 3 +- doc/optimization.txt | 3 - libavcodec/Makefile| 1 + libavcodec/dsputil.c | 299 +--- libavcodec/dsputil.h | 16 -- libavcodec/h264qpel_template.c | 1 +

[libav-devel] [PATCH 074/132] dsputil: Move hpel_template #include out of dsputil_template

2014-03-19 Thread Diego Biurrun
Multiple inclusion makes no sense as it is only used in the 8-bit case. --- libavcodec/dsputil.c | 1 + libavcodec/dsputil_template.c | 4 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index b81ba47..e41ea86 100644 ---

[libav-devel] [PATCH 078/132] hpeldsp_template: Detemplatize the code

2014-03-19 Thread Diego Biurrun
The indirection makes no sense without multiple instantiation. --- libavcodec/hpeldsp.c | 2 + libavcodec/hpeldsp_template.c | 214 -- 2 files changed, 104 insertions(+), 112 deletions(-) diff --git a/libavcodec/hpeldsp.c b/libavcodec/hpeldsp.c

[libav-devel] [PATCH 080/132] dsputil: Move draw_edges and clear_block* out of dsputil_template

2014-03-19 Thread Diego Biurrun
The functions are not used templatized. --- libavcodec/dsputil.c | 38 ++ libavcodec/dsputil_template.c | 40 2 files changed, 38 insertions(+), 40 deletions(-) diff --git a/libavcodec/dsputil.c

[libav-devel] [PATCH 079/132] dsputil: Move RV40-specific bits into rv40dsp

2014-03-19 Thread Diego Biurrun
--- libavcodec/dsputil.c | 22 --- libavcodec/dsputil.h | 6 --- libavcodec/dsputil_template.c | 52 - libavcodec/rv40dsp.c | 90 --- 4 files changed, 85 insertions(+), 85 deletions(-) diff --git

[libav-devel] [PATCH 077/132] dsputil_template: Detemplatize the code

2014-03-19 Thread Diego Biurrun
The indirection makes no sense without multiple instantiation. --- libavcodec/dsputil.c | 18 +--- libavcodec/dsputil_template.c | 223 +- 2 files changed, 114 insertions(+), 127 deletions(-) diff --git a/libavcodec/dsputil.c

Re: [libav-devel] [PATCH 1/1] aarch64: do not add the optional ', lsl #0' for byte vectors

2014-03-19 Thread Janne Grunau
On 2014-03-19 16:25:10 +0200, Martin Storsjö wrote: On Wed, 19 Mar 2014, Janne Grunau wrote: Although it is allowed it does not make much sense since the immediate is already 8bits. --- gas-preprocessor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [libav-devel] [PATCH] dsputil: Refactor duplicated CALL_2X_PIXELS / PIXELS16 macros

2014-03-19 Thread Luca Barbato
On 19/03/14 19:02, Diego Biurrun wrote: I don't get your point. This patch is about unifying two duplicated macros: CALL_2X_PIXELS and PIXELS16. The former name is more descriptive, so I settled for it. The end result is not improving readability at all. Do as you prefer. lu

Re: [libav-devel] [PATCH 070/132] x86: dsputil: Move fpel declarations to a separate header

2014-03-19 Thread Luca Barbato
On 19/03/14 19:13, Diego Biurrun wrote: --- libavcodec/x86/cavsdsp.c | 1 + libavcodec/x86/dsputil_init.c | 1 + libavcodec/x86/dsputil_x86.h | 17 - libavcodec/x86/fpel.h | 43 +++ libavcodec/x86/fpel_mmx.c | 2

Re: [libav-devel] [PATCH 076/132] Add missing headers to make template files compile (more) standalone

2014-03-19 Thread Luca Barbato
On 19/03/14 19:13, Diego Biurrun wrote: --- libavcodec/ac3enc_template.c | 4 libavcodec/h264_mb_template.c | 2 ++ libavcodec/h264_mc_template.c | 2 ++ libavcodec/h264idct_template.c | 1 + libavcodec/hpel_template.c | 4

Re: [libav-devel] [PATCH 071/132] ppc: dsputil: Move hpeldsp-related declarations to a separate header

2014-03-19 Thread Luca Barbato
On 19/03/14 19:13, Diego Biurrun wrote: --- libavcodec/ppc/dsputil_altivec.h | 5 - libavcodec/ppc/h264qpel.c | 2 +- libavcodec/ppc/hpeldsp_altivec.c | 2 +- .../ppc/{dsputil_altivec.h = hpeldsp_altivec.h} |

Re: [libav-devel] [PATCH 0/6] truehd: ARM optimisations

2014-03-19 Thread Martin Storsjö
On Wed, 19 Mar 2014, Ben Avison wrote: Ben Avison (6): truehd: add hand-scheduled ARM asm version of mlp_filter_channel. truehd: break out part of rematrix_channels into platform-specific callback. truehd: add hand-scheduled ARM asm version of ff_mlp_rematrix_channel. truehd: tune VLC

Re: [libav-devel] [PATCH 2/6] truehd: break out part of rematrix_channels into platform-specific callback.

2014-03-19 Thread Luca Barbato
On 19/03/14 18:56, Martin Storsjö wrote: On Wed, 19 Mar 2014, Luca Barbato wrote: On 19/03/14 18:24, Ben Avison wrote: Verified with profiling that this doesn't have a measurable effect upon overall performance. --- libavcodec/mlpdec.c | 37 -

Re: [libav-devel] [PATCH 2/6] truehd: break out part of rematrix_channels into platform-specific callback.

2014-03-19 Thread Ben Avison
[Belatedly changing out of digest mode - hope this doesn't screw up people's threading too much...] --- a/libavcodec/mlpdec.c +++ b/libavcodec/mlpdec.c --- a/libavcodec/mlpdsp.c +++ b/libavcodec/mlpdsp.c @@ -57,9 +57,42 @@ static void mlp_filter_channel(int32_t *state, const int32_t *coeff,

Re: [libav-devel] [PATCH 5/6] truehd: break out part of output_data into platform-specific callback.

2014-03-19 Thread Ben Avison
--- a/libavcodec/mlpdsp.c +++ b/libavcodec/mlpdsp.c @@ -89,10 +89,46 @@ void ff_mlp_rematrix_channel(int32_t *samples, + +int32_t ff_mlp_pack_output(int32_t lossless_check_data, This function is not used outside of the file, so it can be made static and the ff_ prefix can be removed. It's used

Re: [libav-devel] [PATCH] dsputil: Refactor duplicated CALL_2X_PIXELS / PIXELS16 macros

2014-03-19 Thread Luca Barbato
On 19/03/14 18:34, Diego Biurrun wrote: --- Amended to not break some long lines for enhanced readability. Readability remains impaired. +#define HPELDSP_AVG_PIXELS16(CPUEXT) \ +CALL_2X_PIXELS(put_no_rnd_pixels16_x2 ## CPUEXT, ff_put_no_rnd_pixels8_x2 ## CPUEXT,

[libav-devel] [PATCH] fixed miscellaneous coding standard violation

2014-03-19 Thread Tanja Batchelor
--- libavformat/mpeg.c | 6 +++--- libavformat/srtp.c | 10 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 7430bb0..7996d84 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -336,7 +336,7 @@ static int

Re: [libav-devel] [PATCH] fixed miscellaneous coding standard violation

2014-03-19 Thread Luca Barbato
On 19/03/14 22:23, Tanja Batchelor wrote: --- libavformat/mpeg.c | 6 +++--- libavformat/srtp.c | 10 +- 2 files changed, 8 insertions(+), 8 deletions(-) I already gave you a review on irc. diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 7430bb0..7996d84 100644 ---

Re: [libav-devel] [PATCH] fixed miscellaneous coding standard violation

2014-03-19 Thread Timothy Gu
On Wednesday, March 19, 2014, Luca Barbato lu_z...@gentoo.org wrote: On 19/03/14 22:23, Tanja Batchelor wrote: --- libavformat/mpeg.c | 6 +++--- libavformat/srtp.c | 10 +- 2 files changed, 8 insertions(+), 8 deletions(-) I already gave you a review on irc. diff --git

[libav-devel] [PATCH 1/6] truehd: add hand-scheduled ARM asm version of mlp_filter_channel.

2014-03-19 Thread Ben Avison
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)

[libav-devel] [PATCH 6/6] truehd: add hand-scheduled ARM asm version of ff_mlp_pack_output.

2014-03-19 Thread Ben Avison
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

[libav-devel] [PATCH 2/6] truehd: break out part of rematrix_channels into platform-specific callback.

2014-03-19 Thread Ben Avison
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

[libav-devel] [PATCH 3/6] truehd: add hand-scheduled ARM asm version of ff_mlp_rematrix_channel.

2014-03-19 Thread Ben Avison
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

[libav-devel] [PATCH 5/6] truehd: break out part of output_data into platform-specific callback.

2014-03-19 Thread Ben Avison
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

[libav-devel] [PATCH 0/6] truehd: ARM optimisations

2014-03-19 Thread Ben Avison
An updated series taking into account comments to date. Ben Avison (6): truehd: add hand-scheduled ARM asm version of mlp_filter_channel. truehd: break out part of rematrix_channels into platform-specific callback. truehd: add hand-scheduled ARM asm version of

[libav-devel] [PATCH 4/6] truehd: tune VLC decoding for ARM.

2014-03-19 Thread Ben Avison
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

[libav-devel] [PATCH 1/2] Alias PIX image encoder and decoder

2014-03-19 Thread Vittorio Giovara
--- 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 the ones produced/read from this decoder/encoder. Cheers, Vittorio

[libav-devel] [PATCH 2/2] fate: add Alias PIX test

2014-03-19 Thread Vittorio Giovara
--- tests/fate/image.mak| 3 +++ tests/ref/fate/aliaspix | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 tests/ref/fate/aliaspix diff --git a/tests/fate/image.mak b/tests/fate/image.mak index 1357cbd..361b66d 100644 --- a/tests/fate/image.mak +++ b/tests/fate/image.mak @@ -1,3

Re: [libav-devel] [PATCH 072/132] x86: dsputil: Move hpeldsp-related declarations to a separate header

2014-03-19 Thread Vittorio Giovara
On Wed, Mar 19, 2014 at 7:13 PM, Diego Biurrun di...@biurrun.de wrote: --- libavcodec/x86/dsputil_x86.h| 14 -- libavcodec/x86/{hpeldsp_mmx.c = hpeldsp.h} | 43 ++--- libavcodec/x86/hpeldsp_init.c | 2 +-

Re: [libav-devel] [PATCH 081/132] hpeldsp_template: Drop av_unused attribute from *_no_rnd_pixels16_8_c functions

2014-03-19 Thread Vittorio Giovara
On Wed, Mar 19, 2014 at 7:13 PM, Diego Biurrun di...@biurrun.de wrote: --- libavcodec/hpeldsp_template.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) OK Vittorio ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 074/132] dsputil: Move hpel_template #include out of dsputil_template

2014-03-19 Thread Vittorio Giovara
On Wed, Mar 19, 2014 at 7:13 PM, Diego Biurrun di...@biurrun.de wrote: Multiple inclusion makes no sense as it is only used in the 8-bit case. --- libavcodec/dsputil.c | 1 + libavcodec/dsputil_template.c | 4 2 files changed, 1 insertion(+), 4 deletions(-) Ok Vittorio