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

2014-03-20 Thread Kostya Shishkov
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

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

2014-03-20 Thread Martin Storsjö
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 +++

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

2014-03-20 Thread Martin Storsjö
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

[libav-devel] [PATCH 2/3] vdpau: switch ff_vdpau_get_surface_id from Picture to AVFrame

2014-03-20 Thread wm4
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 ++--

[libav-devel] [PATCH 1/3] vdpau: don't assume Picture and H264Picture are the same

2014-03-20 Thread wm4
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 +++-

[libav-devel] [PATCH 3/3] vaapi: switch ff_vaapi_get_surface_id from Picture to AVFrame

2014-03-20 Thread wm4
--- 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

[libav-devel] [PATCH 3/4] avformat/mov: fill in subtitle dimensions after parsing tkhd

2014-03-20 Thread wm4
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

[libav-devel] [PATCH 1/4] avformat/isom: Simplify mov_rewrite_dvd_sub_extradata()

2014-03-20 Thread wm4
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. ---

[libav-devel] [PATCH 2/4] avformat/isom: only write the size if its non zero in mov_rewrite_dvd_sub_extradata()

2014-03-20 Thread wm4
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

[libav-devel] [PATCH 4/4] avformat/mov: call mov_rewrite_dvd_sub_extradata() after parsing dimensions from tkhd

2014-03-20 Thread wm4
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. ---

[libav-devel] [PATCH] Fixed miscellaneous coding standard violation.

2014-03-20 Thread Tanja Batchelor
--- 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

Re: [libav-devel] [PATCH 1/4] avformat/isom: Simplify mov_rewrite_dvd_sub_extradata()

2014-03-20 Thread Luca Barbato
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

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

2014-03-20 Thread Janne Grunau
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 @@ +/* +

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

2014-03-20 Thread Diego Biurrun
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

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

2014-03-20 Thread Diego Biurrun
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)

Re: [libav-devel] [PATCH 3/4] avformat/mov: fill in subtitle dimensions after parsing tkhd

2014-03-20 Thread Diego Biurrun
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

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

2014-03-20 Thread Kostya Shishkov
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) +=

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

2014-03-20 Thread Vittorio Giovara
--- 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

Re: [libav-devel] [PATCH] Alias PIX image encoder and decoder

2014-03-20 Thread Kostya Shishkov
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

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

2014-03-20 Thread Martin Storsjö
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 +++

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

2014-03-20 Thread Tim Walker
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

[libav-devel] [PATCH] float_dsp: Replace arch optimization ifdefs by if cascade

2014-03-20 Thread Diego Biurrun
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 +++

Re: [libav-devel] [PATCH] float_dsp: Replace arch optimization ifdefs by if cascade

2014-03-20 Thread Luca Barbato
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

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

2014-03-20 Thread Luca Barbato
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 --

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

2014-03-20 Thread Luca Barbato
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(-)

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

2014-03-20 Thread Luca Barbato
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

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

2014-03-20 Thread Luca Barbato
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

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

2014-03-20 Thread Luca Barbato
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

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

2014-03-20 Thread Luca Barbato
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

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

2014-03-20 Thread Diego Biurrun
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

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

2014-03-20 Thread Vittorio Giovara
--- Changelog| 1 + doc/general.texi | 2 + libavcodec/Makefile | 2 + libavcodec/aliaspixdec.c | 115 + libavcodec/aliaspixenc.c | 131 +++ libavcodec/allcodecs.c | 1 +

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

2014-03-20 Thread Vittorio Giovara
--- Some more tweaks Justin asked me. Vittorio Changelog| 1 + doc/general.texi | 2 + libavcodec/Makefile | 2 + libavcodec/aliaspixdec.c | 114 libavcodec/aliaspixenc.c | 132

Re: [libav-devel] [PATCH 3/3] vaapi: switch ff_vaapi_get_surface_id from Picture to AVFrame

2014-03-20 Thread Anton Khirnov
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

[libav-devel] [PATCH] vdpau: add av_vdpau_get_level()

2014-03-20 Thread Rémi Denis-Courmont
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

Re: [libav-devel] [PATCH] vdpau: add av_vdpau_get_level()

2014-03-20 Thread Rémi Denis-Courmont
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/ ___

Re: [libav-devel] [PATCH] vdpau: add av_vdpau_get_level()

2014-03-20 Thread wm4
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.)

Re: [libav-devel] [PATCH] vdpau: add av_vdpau_get_level()

2014-03-20 Thread Rémi Denis-Courmont
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

Re: [libav-devel] [PATCH] Alias PIX image encoder and decoder

2014-03-20 Thread Justin Ruggles
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

[libav-devel] [PATCH 3/3 v2] x86/synth_filter: add synth_filter_fma3

2014-03-20 Thread James Almer
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 ---

[libav-devel] [PATCH 2/3 v2] x86/synth_filter: add synth_filter_avx

2014-03-20 Thread James Almer
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

[libav-devel] [PATCH 1/3 v2] x86/synth_filter: add synth_filter_sse

2014-03-20 Thread James Almer
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

[libav-devel] [PATCH 0/3 v2] synth filter float ASM

2014-03-20 Thread James Almer
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

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

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

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

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

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

2014-03-20 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 5/6] truehd: break out part of output_data into platform-specific callback.

2014-03-20 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 6/6] truehd: add hand-scheduled ARM asm version of ff_mlp_pack_output.

2014-03-20 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-20 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-20 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-20 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)

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

2014-03-20 Thread Ben Avison
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; +

Re: [libav-devel] [PATCH 3/9] Add replaygain side data type and code for parsing replaygain tags.

2014-03-20 Thread Anton Khirnov
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 =

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

2014-03-20 Thread Martin Storsjö
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

[libav-devel] [PATCH] OpenEXR decoder

2014-03-20 Thread Vittorio Giovara
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

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

2014-03-20 Thread Vittorio Giovara
--- 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

[libav-devel] [PATCH] changelog: move libx265 to version next

2014-03-20 Thread Vittorio Giovara
--- 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

[libav-devel] [PATCH 4/4] lavu: add deprecation guards to full scale formats

2014-03-20 Thread Vittorio Giovara
--- 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

[libav-devel] [PATCH 3/4] WIP: add .pix_fmts_full for the list of full range colors

2014-03-20 Thread Vittorio Giovara
--- 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

[libav-devel] [PATCH 0/4] [RFC] [libav12] pixel format overhaul

2014-03-20 Thread Vittorio Giovara
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

[libav-devel] [PATCH 1/4] lavu: Move all color-related enums to AVPixFmtModel

2014-03-20 Thread Vittorio Giovara
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

[libav-devel] [PATCH 2/4] avframe: add COLOR side data

2014-03-20 Thread Vittorio Giovara
--- 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

Re: [libav-devel] [PATCH] changelog: move libx265 to version next

2014-03-20 Thread Luca Barbato
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

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

2014-03-20 Thread Vittorio Giovara
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

Re: [libav-devel] [PATCH] OpenEXR decoder

2014-03-20 Thread Justin Ruggles
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

Re: [libav-devel] [PATCH] Alias PIX image encoder and decoder

2014-03-20 Thread Justin Ruggles
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 +

Re: [libav-devel] [PATCH] OpenEXR decoder

2014-03-20 Thread Vittorio Giovara
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) +

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

2014-03-20 Thread Vittorio Giovara
--- Changelog| 1 + doc/general.texi | 2 + libavcodec/Makefile | 2 + libavcodec/aliaspixdec.c | 114 libavcodec/aliaspixenc.c | 132 +++ libavcodec/allcodecs.c | 1 +

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

2014-03-20 Thread Vittorio Giovara
--- Now with a working gray encoder. Vittorio Changelog| 1 + doc/general.texi | 2 + libavcodec/Makefile | 2 + libavcodec/aliaspixdec.c | 114 libavcodec/aliaspixenc.c | 134

[libav-devel] [PATCH] fate: add Alias PIX tests

2014-03-20 Thread Vittorio Giovara
--- 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