[libav-devel] [PATCH 2/6] movenc: write hvcC tag for HEVC.

2014-03-03 Thread Tim Walker
--- libavformat/Makefile |2 +- libavformat/hevc.c | 1076 ++ libavformat/hevc.h | 50 +++ libavformat/movenc.c | 13 + 4 files changed, 1140 insertions(+), 1 deletion(-) create mode 100644 libavformat/hevc.c create mode 100644

[libav-devel] [PATCH 3/6] movenc: enable Annex B to MP4 conversion for HEVC tracks.

2014-03-03 Thread Tim Walker
--- Note: this includes a facility for filtering parameter set NALUs from the bitstream and knowing whether any NALUs were extracted (so that we can e.g. decide whether to generate a new MP4 sample entry with a new hvcC). It's unused as I'm not sure how the MP4 side of things would work.

[libav-devel] [PATCH 1/6] movenc: use 'hev1' tag for HEVC in MODE_MOV.

2014-03-03 Thread Tim Walker
'hvc1' requires that parameter set NAL units be present only in the samples entry, but not in the samples themselves, requiring that additional parameter sets, if present, be filtered out of the samples and placed in new, additional sample entries if they override or otherwise conflict with the

[libav-devel] [PATCH 5/6] matroskaenc: write private data in hvcC format for HEVC.

2014-03-03 Thread Tim Walker
--- libavformat/Makefile | 2 +- libavformat/matroskaenc.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/Makefile b/libavformat/Makefile index a3cd504..5694314 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -168,7 +168,7 @@

[libav-devel] [PATCH 4/6] movenc: allow muxing HEVC in MODE_MP4.

2014-03-03 Thread Tim Walker
--- Uses 'hev1' for the same reasons as in MODE_MOV. libavformat/isom.c | 1 + libavformat/movenc.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index a6197ab..76c455b 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -33,6 +33,7 @@

[libav-devel] [PATCH 6/6] matroskaenc: enable Annex B to MP4 conversion for HEVC tracks.

2014-03-03 Thread Tim Walker
--- libavformat/matroskaenc.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 8fece1f..08f5552 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -1163,6 +1163,10 @@ static void

[libav-devel] [PATCH 1/2] matroskaenc: allow override of writing application tag

2014-03-03 Thread John Stebbins
--- libavformat/matroskaenc.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index cc645a5..3ab3139 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -805,7 +805,8 @@ static int

[libav-devel] [PATCH 2/2] movenc: allow override of writing application tag

2014-03-03 Thread John Stebbins
--- libavformat/movenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 762cfef..6344e38 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1858,7 +1858,8 @@ static int mov_write_ilst_tag(AVIOContext *pb,

Re: [libav-devel] [PATCH 1/2] matroskaenc: allow override of writing application tag

2014-03-03 Thread Luca Barbato
On 03/03/14 22:20, John Stebbins wrote: --- libavformat/matroskaenc.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) Probably ok. ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 2/2] movenc: allow override of writing application tag

2014-03-03 Thread Luca Barbato
On 03/03/14 22:20, John Stebbins wrote: --- libavformat/movenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH 1/4] timer: use mach_absolute_time as high resolution clock on darwin

2014-03-03 Thread Janne Grunau
From: Janne Grunau j...@jannau.net Not guaranteed to be in nanosecond resolution. On iOS 7 the duration of one tick is 125/3 ns which is still more than an order of magnitude better then microseconds. Replace decicycles with the neutral UNITS. Decicycles is strange but tenths of a nanosecond and

[libav-devel] [PATCH 4/4] aarch64: float_dsp NEON assembler

2014-03-03 Thread Janne Grunau
Ported from arm NEON and added vector_dmul_scalar. Functions between 1.5 and 5 times faster than the C implementations using Apple's clang-503.0.19 on A7. --- libavutil/aarch64/Makefile | 5 +- libavutil/aarch64/float_dsp_init_aarch64.c | 69 ++

[libav-devel] [PATCH 2/4] float_dsp: fix errors in documentation

2014-03-03 Thread Janne Grunau
--- libavutil/float_dsp.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavutil/float_dsp.h b/libavutil/float_dsp.h index b215dad..0eb02f8 100644 --- a/libavutil/float_dsp.h +++ b/libavutil/float_dsp.h @@ -113,7 +113,7 @@ typedef struct AVFloatDSPContext { *

[libav-devel] [PATCH 3/4] float_dsp: add test program for float dsp

2014-03-03 Thread Janne Grunau
Not hooked up to FATE due to fear of random failures due to float instability. float_dsp-test: use 16 * 3 * 5 as length --- libavutil/Makefile| 1 + libavutil/float_dsp.c | 274 ++ 2 files changed, 275 insertions(+) diff --git

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

2014-03-03 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 | 44 +-- 2 files changed, 69 insertions(+), 30 deletions(-) diff --git

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

2014-03-03 Thread James Almer
Here are some extra implementations that extend Christophe's work. The first one (SSE) is only for x86_32 targets as x86_64 guarantees SSE2 is available. Second patch is an AVX implementation using ymm registers. In my tests it was about 30 cycles faster than SSE2 on a Sandy Bridge CPU. I

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

2014-03-03 Thread James Almer
Sandy Bridge Win64: 180 cycles in ff_synth_filter_inner_sse2 150 cycles in ff_synth_filter_inner_avx Also switch to a three operand format for some instructions to avoid assembly errors with Yasm 1.1.0 or older. Signed-off-by: James Almer jamr...@gmail.com --- libavcodec/x86/dcadsp.asm| 76

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

2014-03-03 Thread James Almer
Signed-off-by: James Almer jamr...@gmail.com --- libavcodec/x86/dcadsp.asm| 28 +++- libavcodec/x86/dcadsp_init.c | 4 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/libavcodec/x86/dcadsp.asm b/libavcodec/x86/dcadsp.asm index 0d7c86e..e1842ef

[libav-devel] [PATCH 1/2] af_channelmap: fix ONE_STR mapping mode

2014-03-03 Thread Anton Khirnov
get_channel() returns 0 on success CC:libav-sta...@libav.org --- libavfilter/af_channelmap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_channelmap.c b/libavfilter/af_channelmap.c index 71d51e7..6bc8c3a 100644 --- a/libavfilter/af_channelmap.c +++

[libav-devel] [PATCH 2/2] FATE: add a test for the ONE_STR mapping mode of the channelmap filter

2014-03-03 Thread Anton Khirnov
--- tests/fate/filter-audio.mak| 30 +++- .../{channelmap = channelmap_one_int} |0 tests/filtergraphs/channelmap_one_str |1 + 3 files changed, 24 insertions(+), 7 deletions(-) rename tests/filtergraphs/{channelmap =