[FFmpeg-devel] [PATCH 4/4] lavf/brstm: add FATE tests for BFSTM and BCSTM files

2015-06-23 Thread Rodger Combs
--- tests/fate/demux.mak | 4 tests/ref/fate/bcstm | 1 + tests/ref/fate/bfstm | 1 + 3 files changed, 6 insertions(+) create mode 100644 tests/ref/fate/bcstm create mode 100644 tests/ref/fate/bfstm diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak index 0eccc9b..05ce4bf 100644 ---

[FFmpeg-devel] [PATCH 2/4] lavc+doc: adjust names to reflect ADPCM THP not being GameCube-only

2015-06-23 Thread Rodger Combs
--- doc/general.texi| 2 +- libavcodec/adpcm.c | 4 ++-- libavcodec/codec_desc.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index 471a11b..dc4d06e 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -878,7 +878,7 @@

[FFmpeg-devel] [PATCH] lavf/matroskaenc: fix crash on empty H.264 packets

2015-06-24 Thread Rodger Combs
Fixes: ffmpeg -i https://dl.dropboxusercontent.com/u/105828/sample%20crash%20file.mkv \ -bsf:v h264_mp4toannexb -c copy -y -f matroska /dev/null Not 100% sure if this is the best place to do this. --- libavformat/matroskaenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/

[FFmpeg-devel] [PATCH] lavc/adpcm: THP: set approx_nb_samples correctly

2015-06-24 Thread Rodger Combs
--- libavcodec/adpcm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index bad0be4..2dac23b 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -654,11 +654,9 @@ static int get_nb_samples(AVCodecContext *avctx, GetByteCon

[FFmpeg-devel] [PATCH] WIP: lavc/h264_mp4toannexb_bsf: Support HEVC

2015-06-25 Thread Rodger Combs
This is the result of me screwing around to see how complex of a task this would be; the answer is evidently "not particularly complex". I seem to have at least a few issues to work out, since the .ts files I'm generating don't always seek correctly, but it's a start. Would appreciate it if anyone

[FFmpeg-devel] [PATCH] ffmpeg_opt: allow the user to ignore unused stream maps

2015-06-30 Thread Rodger Combs
--- ffmpeg_opt.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index a746405..11511d3 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -114,6 +114,7 @@ static int override_ffserver = 0; static int input_stream_potentially_available =

[FFmpeg-devel] [PATCH] ffmpeg_opt: allow the user to ignore unused stream maps

2015-07-01 Thread Rodger Combs
--- ffmpeg_opt.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 5c2bd48..d374d89 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -231,6 +231,7 @@ static int opt_map(void *optctx, const char *opt, const char *arg) int sync_f

[FFmpeg-devel] [PATCH] lavu: Makefile: skip atomic.c if native atomics are available

2015-07-01 Thread Rodger Combs
This prevents a linker warning and skips a useless compilation --- libavutil/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavutil/Makefile b/libavutil/Makefile index abfd10f..6fa810e 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -78,7 +78,6 @@ BUIL

[FFmpeg-devel] [PATCH] lavc/srtdec: handle leading whitespace before tag names

2015-07-14 Thread Rodger Combs
This fixes cases like ``. I'm not particularly happy with this solution, but anything better would need to be part of a larger cleanup. --- libavcodec/srtdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/srtdec.c b/libavcodec/srtdec.c index ed3af95..0d1b80e 1

[FFmpeg-devel] [PATCH] lavc/srtdec: handle leading whitespace before tag names

2015-07-15 Thread Rodger Combs
This fixes cases like ``. --- libavcodec/srtdec.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavcodec/srtdec.c b/libavcodec/srtdec.c index ed3af95..c26eb74 100644 --- a/libavcodec/srtdec.c +++ b/libavcodec/srtdec.c @@ -59,6 +59,7 @@ static void srt_to_a

[FFmpeg-devel] [PATCH 1/5] lavu/bprint: add XML escaping

2015-07-16 Thread Rodger Combs
--- libavutil/avstring.h | 7 +++ libavutil/bprint.c | 30 ++ 2 files changed, 37 insertions(+) diff --git a/libavutil/avstring.h b/libavutil/avstring.h index 466edaf..4d809d9 100644 --- a/libavutil/avstring.h +++ b/libavutil/avstring.h @@ -290,6 +290,7 @@ enum

[FFmpeg-devel] [PATCH 2/5] lavu/bprint: add XML escape convenience function

2015-07-16 Thread Rodger Combs
--- libavutil/bprint.c | 7 +++ libavutil/bprint.h | 9 + 2 files changed, 16 insertions(+) diff --git a/libavutil/bprint.c b/libavutil/bprint.c index 64d2ab1..746868b 100644 --- a/libavutil/bprint.c +++ b/libavutil/bprint.c @@ -334,6 +334,13 @@ void av_bprint_escape(AVBPrint *dstbuf,

[FFmpeg-devel] [PATCH 4/5] ffprobe: switch from static function to av_xml_escape_str

2015-07-16 Thread Rodger Combs
--- ffprobe.c | 25 +++-- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/ffprobe.c b/ffprobe.c index 3e5324e..cc7c9b9 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -1543,24 +1543,6 @@ static av_cold int xml_init(WriterContext *wctx) return 0; } -static const

[FFmpeg-devel] [PATCH 3/5] lavu: bump version for XML escaping

2015-07-16 Thread Rodger Combs
--- libavutil/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/version.h b/libavutil/version.h index e7155c2..4799250 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -56,7 +56,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 54 -#define LIBAVUTIL_V

[FFmpeg-devel] [PATCH 5/5] lavc/webvttenc: XML-escape text output

2015-07-16 Thread Rodger Combs
--- libavcodec/webvttenc.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavcodec/webvttenc.c b/libavcodec/webvttenc.c index 9f67a2e..555e7c7 100644 --- a/libavcodec/webvttenc.c +++ b/libavcodec/webvttenc.c @@ -112,7 +112,12 @@ static void webvtt_style_apply(WebVTTCon

[FFmpeg-devel] [PATCH] lavf/mov: add support for sidx fragment indexes

2015-07-20 Thread Rodger Combs
The logic in mov_seek_fragment for matching track_ids to AVStream ids is almost certainly wrong, and should be corrected (by someone who knows more about the relevant structures) before this is merged. Fixes trac #3842 --- libavformat/isom.h | 1 + libavformat/mov.c | 181 +

[FFmpeg-devel] [PATCH] lavf/mov: add support for sidx fragment indexes

2015-10-06 Thread Rodger Combs
Fixes trac #3842 --- libavformat/isom.h | 2 + libavformat/mov.c | 245 - 2 files changed, 208 insertions(+), 39 deletions(-) diff --git a/libavformat/isom.h b/libavformat/isom.h index aee9d6e..6e921c0 100644 --- a/libavformat/isom.h +++ b/li

[FFmpeg-devel] [PATCH] RFC: Automatic bitstream filtering

2015-10-06 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by whi

[FFmpeg-devel] [PATCH 1/6] lavc: move bitstream filter args to the bsf ctx

2015-10-07 Thread Rodger Combs
--- libavcodec/avcodec.h | 1 + libavcodec/bitstream_filter.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ff70d25..ce42e57 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5026,6 +5026,7 @@ typ

[FFmpeg-devel] [PATCH 3/6] ffmpeg: use lavf API for applying bitstream filters

2015-10-07 Thread Rodger Combs
--- ffmpeg.c | 46 -- ffmpeg.h | 1 - ffmpeg_opt.c | 6 +- 3 files changed, 9 insertions(+), 44 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index e31a2c6..b9cde79 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -682,47 +682,10 @@ static void wri

[FFmpeg-devel] [PATCH 5/6] lavf: add API to append a bsf to a stream's list

2015-10-07 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 19 +++ 2 files changed, 27 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index f3c8260..20759e3 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2758,6 +2758,14 @@

[FFmpeg-devel] [PATCH 2/6] lavf: add API to apply a list of bsfs to a packet

2015-10-07 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 48 2 files changed, 56 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index e2a27d4..5226b0a 100644 --- a/libavformat/avformat.h +++ b/libavformat/avfor

[FFmpeg-devel] [PATCH 6/6] lavf/matroska: add automatic bitstream filtering

2015-10-07 Thread Rodger Combs
--- libavformat/matroskaenc.c | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 1fb39fe..81e859f 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -845

[FFmpeg-devel] [PATCH 4/6] lavf: add automatic bitstream filtering

2015-10-07 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by whi

[FFmpeg-devel] [PATCH 1/7] lavc: move bitstream filter args to the bsf ctx

2015-10-08 Thread Rodger Combs
--- libavcodec/avcodec.h | 1 + libavcodec/bitstream_filter.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ff70d25..ce42e57 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5026,6 +5026,7 @@ typ

[FFmpeg-devel] [PATCH 2/7] lavf: add API to apply a list of bsfs to a packet

2015-10-08 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 48 2 files changed, 56 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index e2a27d4..5226b0a 100644 --- a/libavformat/avformat.h +++ b/libavformat/avfor

[FFmpeg-devel] [PATCH 3/7] ffmpeg: use lavf API for applying bitstream filters

2015-10-08 Thread Rodger Combs
--- ffmpeg.c | 46 -- ffmpeg.h | 1 - ffmpeg_opt.c | 6 +- 3 files changed, 9 insertions(+), 44 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index e31a2c6..443e1b1 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -682,47 +682,10 @@ static void wri

[FFmpeg-devel] [PATCH 4/7] lavf/tee: use lavf API for applying bitstream filters

2015-10-08 Thread Rodger Combs
--- libavformat/tee.c | 43 ++- 1 file changed, 2 insertions(+), 41 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index c619eae..5080c8d 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -384,45 +384,6 @@ fail: return ret; }

[FFmpeg-devel] [PATCH 5/7] lavf: add automatic bitstream filtering

2015-10-08 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by whi

[FFmpeg-devel] [PATCH 6/7] lavf: add API to append a bsf to a stream's list

2015-10-08 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 19 +++ 2 files changed, 27 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index f3c8260..20759e3 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2758,6 +2758,14 @@

[FFmpeg-devel] [PATCH 7/7] lavf/matroska: add automatic bitstream filtering

2015-10-08 Thread Rodger Combs
--- libavformat/matroskaenc.c | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 1fb39fe..81e859f 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -845

[FFmpeg-devel] [PATCH] lavf/matroskadec: drop indexes that appear broken

2015-10-08 Thread Rodger Combs
--- libavformat/matroskadec.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 9db2b59..02cc6a5 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1521,10 +1521,11 @@ static void matros

[FFmpeg-devel] [PATCH 1/2] lavc/samidec: support multiple paragraphs in a packet

2015-10-10 Thread Rodger Combs
--- libavcodec/samidec.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/libavcodec/samidec.c b/libavcodec/samidec.c index 95f35ab..8dd2749 100644 --- a/libavcodec/samidec.c +++ b/libavcodec/samidec.c @@ -46,6 +46,7 @@ static int sami_paragraph_to_ass(AVCo

[FFmpeg-devel] [PATCH 2/2] lavc/samidec: support Hulu subtitle encryption

2015-10-10 Thread Rodger Combs
hex_to_data should probably move to lavu before this is merged. This is probably a good case for sub_charenc to run _after_ the decoder. I could see an argument that this should go in the demuxer instead. Thoughts? --- libavcodec/samidec.c | 78 +++

[FFmpeg-devel] [PATCH 2/7] lavu/aes: move AVAES to separate internal header

2015-10-11 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015

[FFmpeg-devel] [PATCH 1/7] Add AESNI CPU flag

2015-10-11 Thread Rodger Combs
--- configure | 4 libavutil/cpu.c | 3 +++ libavutil/cpu.h | 1 + libavutil/x86/cpu.c | 2 ++ libavutil/x86/cpu.h | 3 +++ libavutil/x86/x86inc.asm | 1 + tests/checkasm/checkasm.c | 1 + 7 files changed, 15 insertions(+) diff --git a/configu

[FFmpeg-devel] [PATCH 3/7] lavu/aes: add runtime dispatch for crypt function

2015-10-11 Thread Rodger Combs
--- libavutil/aes.c | 47 +++ libavutil/aes_internal.h | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 280e5fa..06b1872 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -126,3

[FFmpeg-devel] [PATCH 4/7] lavu/aes: align AVAES struct

2015-10-11 Thread Rodger Combs
--- libavutil/aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 06b1872..ab2d602 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -274,7 +274,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) int mai

[FFmpeg-devel] [PATCH 5/7] lavu/aes: test CBC functionality

2015-10-11 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index ab2d602..c917706 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 7/7] checkasm: add tests for AES

2015-10-11 Thread Rodger Combs
@@ -0,0 +1,85 @@ +/* + * Copyright (c) 2015 Rodger Combs + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the

[FFmpeg-devel] [PATCH 6/7] lavu/aes: add x86 AESNI optimizations

2015-10-11 Thread Rodger Combs
,85 @@ +;* +;* Copyright (c) 2015 Rodger Combs +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the GNU Lesser General Public +;* License

[FFmpeg-devel] [PATCH 1/7] lavu: add AESNI CPU flag

2015-10-11 Thread Rodger Combs
--- configure | 6 +- doc/APIchanges| 3 +++ libavutil/cpu.c | 6 +- libavutil/cpu.h | 1 + libavutil/version.h | 2 +- libavutil/x86/cpu.c | 2 ++ libavutil/x86/cpu.h | 3 +++ libavutil/x86/x86inc.asm | 41 +

[FFmpeg-devel] [PATCH 2/7] lavu/aes: move AVAES to separate internal header

2015-10-11 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015

[FFmpeg-devel] [PATCH 3/7] lavu/aes: add runtime dispatch for crypt function

2015-10-11 Thread Rodger Combs
--- libavutil/aes.c | 47 +++ libavutil/aes_internal.h | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 280e5fa..c1d860f 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -126,3

[FFmpeg-devel] [PATCH 4/7] lavu/aes: align AVAES struct members

2015-10-11 Thread Rodger Combs
--- libavutil/aes_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h index e5bf4bd..4944258 100644 --- a/libavutil/aes_internal.h +++ b/libavutil/aes_internal.h @@ -21,6 +21,7 @@ #ifndef AVUTIL_AES_INTERNAL_H #d

[FFmpeg-devel] [PATCH 6/7] lavu/aes: add x86 AESNI optimizations

2015-10-11 Thread Rodger Combs
0,0 +1,93 @@ +;* +;* Copyright (c) 2015 Rodger Combs +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the GNU Lesser General Pub

[FFmpeg-devel] [PATCH 5/7] lavu/aes: test CBC functionality

2015-10-11 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index c1d860f..1fac4e8 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 7/7] checkasm: add tests for AES

2015-10-11 Thread Rodger Combs
@@ -0,0 +1,86 @@ +/* + * Copyright (c) 2015 Rodger Combs + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the

[FFmpeg-devel] [PATCH] lavu: add AESNI CPU flag

2015-10-11 Thread Rodger Combs
--- configure | 4 doc/APIchanges| 3 +++ libavutil/cpu.c | 4 libavutil/cpu.h | 1 + libavutil/version.h | 2 +- libavutil/x86/cpu.c | 2 ++ libavutil/x86/cpu.h | 3 +++ libavutil/x86/x86inc.asm | 13 +++--

[FFmpeg-devel] [PATCH] lavu/aes: add x86 AESNI optimizations

2015-10-11 Thread Rodger Combs
0,0 +1,92 @@ +;* +;* Copyright (c) 2015 Rodger Combs +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the GNU Lesser General Pub

[FFmpeg-devel] [PATCH 1/2] lavu/aes: add x86 AESNI optimizations

2015-10-12 Thread Rodger Combs
0,0 +1,98 @@ +;* +;* Copyright (c) 2015 Rodger Combs +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the GNU Lesser General Public +;* Lice

[FFmpeg-devel] [PATCH 2/2] checkasm: add tests for AES

2015-10-12 Thread Rodger Combs
@@ -0,0 +1,57 @@ +/* + * Copyright (c) 2015 Rodger Combs + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the

[FFmpeg-devel] [PATCH 03/10] lavu/aes: add runtime dispatch for crypt function

2015-10-12 Thread Rodger Combs
--- libavutil/aes.c | 47 +++ libavutil/aes_internal.h | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 280e5fa..c1d860f 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -126,3

[FFmpeg-devel] [PATCH 02/10] lavu/aes: move AVAES to separate internal header

2015-10-12 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015

[FFmpeg-devel] [PATCH 01/10] lavu: add AESNI CPU flag

2015-10-12 Thread Rodger Combs
--- configure | 4 doc/APIchanges| 3 +++ libavutil/cpu.c | 4 libavutil/cpu.h | 1 + libavutil/version.h | 2 +- libavutil/x86/cpu.c | 2 ++ libavutil/x86/cpu.h | 3 +++ libavutil/x86/x86inc.asm | 13 +++--

[FFmpeg-devel] [PATCH 06/10] lavu/aes: add x86 AESNI optimizations

2015-10-12 Thread Rodger Combs
/x86/aes.asm @@ -0,0 +1,98 @@ +;* +;* Copyright (c) 2015 Rodger Combs +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the GNU Lesser Ge

[FFmpeg-devel] [PATCH 05/10] lavu/aes: test CBC functionality

2015-10-12 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index c1d860f..1fac4e8 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 04/10] lavu/aes: align AVAES struct members

2015-10-12 Thread Rodger Combs
--- libavutil/aes_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h index e5bf4bd..4944258 100644 --- a/libavutil/aes_internal.h +++ b/libavutil/aes_internal.h @@ -21,6 +21,7 @@ #ifndef AVUTIL_AES_INTERNAL_H #d

[FFmpeg-devel] [PATCH 07/10] checkasm: add tests for AES

2015-10-12 Thread Rodger Combs
@@ -0,0 +1,57 @@ +/* + * Copyright (c) 2015 Rodger Combs + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the

[FFmpeg-devel] [PATCH 08/10] tools/crypto_bench: add AES-192 and AES-256

2015-10-12 Thread Rodger Combs
--- tools/crypto_bench.c | 82 1 file changed, 82 insertions(+) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index b3b24a6..ad20f95 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -118,6 +118,24 @@ static void run_la

[FFmpeg-devel] [PATCH 09/10] tools/crypto_bench: add AES-CBC modes

2015-10-12 Thread Rodger Combs
--- tools/crypto_bench.c | 138 +-- 1 file changed, 135 insertions(+), 3 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index ad20f95..0b1bfc8 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -52,6 +52,7 @@ stat

[FFmpeg-devel] [PATCH 10/10] tools/crypto_bench: add support for multiple lavu versions by cpuflag

2015-10-12 Thread Rodger Combs
--- tools/crypto_bench.c | 51 +++ 1 file changed, 43 insertions(+), 8 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 0b1bfc8..f84e2a7 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -32,6 +32,7 @@ #incl

[FFmpeg-devel] [PATCH] lavf/http: fix incorrect warning in range requests

2015-10-18 Thread Rodger Combs
--- libavformat/http.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavformat/http.c b/libavformat/http.c index 075dda7..9b5346c 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1155,15 +1155,16 @@ static int http_buf_read(URLContext *h, uint8_t *buf, i

Re: [FFmpeg-devel] [PATCH 10/10] tools/crypto_bench: add support for multiple lavu versions by cpuflag

2015-10-19 Thread Rodger Combs
> On Oct 14, 2015, at 09:15, Nicolas George wrote: > > Le primidi 21 vendémiaire, an CCXXIV, Rodger Combs a écrit : >> --- >> tools/crypto_bench.c | 51 +++ >> 1 file changed, 43 insertions(+), 8 deletions(-

[FFmpeg-devel] [PATCH 02/11] lavu/aes: move AVAES to separate internal header

2015-10-19 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015

[FFmpeg-devel] [PATCH 03/11] lavu/aes: add runtime dispatch for crypt function

2015-10-19 Thread Rodger Combs
--- libavutil/aes.c | 47 +++ libavutil/aes_internal.h | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 61e9dd1..4fa01ea 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -126,3

[FFmpeg-devel] [PATCH 04/11] lavu/aes: align AVAES struct members

2015-10-19 Thread Rodger Combs
--- libavutil/aes_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h index e5bf4bd..4944258 100644 --- a/libavutil/aes_internal.h +++ b/libavutil/aes_internal.h @@ -21,6 +21,7 @@ #ifndef AVUTIL_AES_INTERNAL_H #d

[FFmpeg-devel] [PATCH 06/11] lavu/aes: add x86 AESNI optimizations

2015-10-19 Thread Rodger Combs
pixelutils.o \ diff --git a/libavutil/x86/aes.asm b/libavutil/x86/aes.asm new file mode 100644 index 000..39112e8 --- /dev/null +++ b/libavutil/x86/aes.asm @@ -0,0 +1,91 @@ +;* +;* Copyright (c) 2015

[FFmpeg-devel] [PATCH 05/11] lavu/aes: test CBC functionality

2015-10-19 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 4fa01ea..4b871a0 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 08/11] tools/crypto_bench: add AES-192 and AES-256

2015-10-19 Thread Rodger Combs
--- tools/crypto_bench.c | 82 1 file changed, 82 insertions(+) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index b3b24a6..ad20f95 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -118,6 +118,24 @@ static void run_la

[FFmpeg-devel] [PATCH 10/11] tools/crypto_bench: switch to OpenSSL's new AES API

2015-10-19 Thread Rodger Combs
--- tools/crypto_bench.c | 85 +--- 1 file changed, 47 insertions(+), 38 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 15bb5f1..8a468ba 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -244,6 +244,7 @@ st

[FFmpeg-devel] [PATCH 07/11] checkasm: add tests for AES

2015-10-19 Thread Rodger Combs
@@ -0,0 +1,57 @@ +/* + * Copyright (c) 2015 Rodger Combs + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the

[FFmpeg-devel] [PATCH 09/11] tools/crypto_bench: add AES-CBC modes

2015-10-19 Thread Rodger Combs
--- tools/crypto_bench.c | 140 +-- 1 file changed, 137 insertions(+), 3 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index ad20f95..15bb5f1 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -52,6 +52,7 @@ stat

[FFmpeg-devel] [PATCH 01/11] lavu: add AESNI CPU flag

2015-10-19 Thread Rodger Combs
--- configure | 4 doc/APIchanges| 3 +++ libavutil/cpu.c | 4 libavutil/cpu.h | 1 + libavutil/x86/cpu.c | 2 ++ libavutil/x86/cpu.h | 3 +++ libavutil/x86/x86inc.asm | 13 +++-- tests/checkasm/checkasm.c | 1 +

[FFmpeg-devel] [PATCH 11/11] tools/crypto_bench: add support for multiple lavu versions by cpuflag

2015-10-19 Thread Rodger Combs
--- tools/crypto_bench.c | 50 ++ 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 8a468ba..b513c55 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -32,6 +32,7 @@ #inclu

[FFmpeg-devel] [PATCH] WIP: lavf/segment: provide a virtual AVIOContext representing all the segments

2015-10-22 Thread Rodger Combs
This allows the use of muxers like matroska, which attempt to seek even when an AVIOContext doesn't set `seekable`, without concern for a rouge seek leading the muxer to overwrite the wrong data in a later segment. --- doc/muxers.texi | 17 libavformat/segment.c | 262 +

[FFmpeg-devel] [PATCH] WIP: lavf/segment: provide a virtual AVIOContext representing all the segments

2015-10-22 Thread Rodger Combs
This allows the use of muxers like matroska, which attempt to seek even when an AVIOContext doesn't set `seekable`, without concern for a rouge seek leading the muxer to overwrite the wrong data in a later segment. --- doc/muxers.texi | 17 libavformat/segment.c | 263 +

[FFmpeg-devel] [PATCH] lavu/stereo3d: add serialization and deserialization functions

2015-10-26 Thread Rodger Combs
--- doc/APIchanges | 3 ++ libavutil/Makefile | 1 + libavutil/stereo3d.c | 137 +++ libavutil/stereo3d.h | 47 libavutil/version.h | 2 +- tests/fate/libavutil.mak | 4 ++ 6 files changed, 193 inser

[FFmpeg-devel] [PATCH 01/12] lavu: add AESNI CPU flag

2015-10-26 Thread Rodger Combs
--- configure | 4 doc/APIchanges| 3 +++ libavutil/cpu.c | 4 libavutil/cpu.h | 1 + libavutil/version.h | 2 +- libavutil/x86/cpu.c | 2 ++ libavutil/x86/cpu.h | 3 +++ libavutil/x86/x86inc.asm | 13 +++--

[FFmpeg-devel] [PATCH 04/12] lavu/aes: align AVAES struct members

2015-10-26 Thread Rodger Combs
--- libavutil/aes_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h index e5bf4bd..4944258 100644 --- a/libavutil/aes_internal.h +++ b/libavutil/aes_internal.h @@ -21,6 +21,7 @@ #ifndef AVUTIL_AES_INTERNAL_H #d

[FFmpeg-devel] [PATCH 02/12] lavu/aes: move AVAES to separate internal header

2015-10-26 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015

[FFmpeg-devel] [PATCH 03/12] lavu/aes: add runtime dispatch for crypt function

2015-10-26 Thread Rodger Combs
--- libavutil/aes.c | 47 +++ libavutil/aes_internal.h | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 61e9dd1..4fa01ea 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -126,3

[FFmpeg-devel] [PATCH 05/12] lavu/aes: test CBC functionality

2015-10-26 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 4fa01ea..4b871a0 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 06/12] lavu/aes: add x86 AESNI optimizations

2015-10-26 Thread Rodger Combs
pixelutils.o \ diff --git a/libavutil/x86/aes.asm b/libavutil/x86/aes.asm new file mode 100644 index 000..57d87f9 --- /dev/null +++ b/libavutil/x86/aes.asm @@ -0,0 +1,92 @@ +;* +;* Copyright (c) 2015

[FFmpeg-devel] [PATCH 08/12] tools/crypto_bench: add AES-192 and AES-256

2015-10-26 Thread Rodger Combs
--- tools/crypto_bench.c | 82 1 file changed, 82 insertions(+) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index b3b24a6..ad20f95 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -118,6 +118,24 @@ static void run_la

[FFmpeg-devel] [PATCH 07/12] checkasm: add tests for AES

2015-10-26 Thread Rodger Combs
@@ -0,0 +1,61 @@ +/* + * Copyright (c) 2015 Rodger Combs + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the

[FFmpeg-devel] [PATCH 09/12] tools/crypto_bench: add AES-CBC modes

2015-10-26 Thread Rodger Combs
--- tools/crypto_bench.c | 140 +-- 1 file changed, 137 insertions(+), 3 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index ad20f95..15bb5f1 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -52,6 +52,7 @@ stat

[FFmpeg-devel] [PATCH 10/12] tools/crypto_bench: switch to OpenSSL's faster AES API

2015-10-26 Thread Rodger Combs
--- tools/crypto_bench.c | 85 +--- 1 file changed, 47 insertions(+), 38 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 15bb5f1..8a468ba 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -244,6 +244,7 @@ st

[FFmpeg-devel] [PATCH 11/12] tools/crypto_bench: add support for multiple lavu versions by cpuflag

2015-10-26 Thread Rodger Combs
--- tools/crypto_bench.c | 50 ++ 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 8a468ba..b513c55 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -32,6 +32,7 @@ #inclu

[FFmpeg-devel] [PATCH 12/12] FATE: add crypto protocol test

2015-10-26 Thread Rodger Combs
--- tests/fate/avformat.mak| 1 + tests/lavf-regression.sh | 8 tests/ref/lavf-fate/crypto | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 tests/ref/lavf-fate/crypto diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak index 1d13434..21b8f8a 100644 --- a/te

[FFmpeg-devel] [PATCH] FATE: add crypto protocol test

2015-10-26 Thread Rodger Combs
--- tests/fate/avformat.mak| 1 + tests/lavf-regression.sh | 9 + tests/ref/lavf-fate/crypto | 3 +++ 3 files changed, 13 insertions(+) create mode 100644 tests/ref/lavf-fate/crypto diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak index 1d13434..21b8f8a 100644 --- a/t

[FFmpeg-devel] [PATCH] lavu/stereo3d: add serialization and deserialization functions

2015-10-26 Thread Rodger Combs
--- doc/APIchanges | 3 ++ libavutil/Makefile | 1 + libavutil/stereo3d.c | 137 +++ libavutil/stereo3d.h | 47 libavutil/version.h | 2 +- tests/fate/libavutil.mak | 4 ++ tests/ref/fate/stereo3d |

[FFmpeg-devel] [PATCH] FATE: add crypto protocol test

2015-10-26 Thread Rodger Combs
--- tests/Makefile | 5 + tests/fate/avformat.mak | 1 + tests/lavf-regression.sh | 9 + tests/ref/lavf/crypto| 3 +++ 4 files changed, 18 insertions(+) create mode 100644 tests/ref/lavf/crypto diff --git a/tests/Makefile b/tests/Makefile index 7ee4a46..c501813 100644

Re: [FFmpeg-devel] [PATCH] lavu/stereo3d: add serialization and deserialization functions

2015-10-27 Thread Rodger Combs
> On Oct 26, 2015, at 15:01, James Almer wrote: > > On 10/26/2015 4:45 PM, Rodger Combs wrote: >> diff --git a/libavutil/stereo3d.h b/libavutil/stereo3d.h >> index 1135dc9..8b8aced 100644 >> --- a/libavutil/stereo3d.h >> +++ b/libavutil/stereo3d.h &

[FFmpeg-devel] [PATCH 1/2] lavu/stereo3d: add serialization and deserialization functions

2015-10-27 Thread Rodger Combs
--- doc/APIchanges | 3 + libavutil/Makefile | 1 + libavutil/stereo3d.c | 144 +++ libavutil/stereo3d.h | 70 +++ libavutil/version.h | 2 +- tests/fate/libavutil.mak | 4 ++ tests/ref/fate/stere

[FFmpeg-devel] [PATCH 2/2] lavf/dump + lavfi/vf_showinfo: use av_stereo3d formatting functions

2015-10-27 Thread Rodger Combs
--- libavfilter/vf_showinfo.c | 18 ++ libavformat/dump.c| 34 ++ 2 files changed, 4 insertions(+), 48 deletions(-) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 5125944..9a3708c 100644 --- a/libavfilter/vf_showinf

[FFmpeg-devel] [PATCH 1/8] lavu/aes: test CBC functionality

2015-10-28 Thread Rodger Combs
--- libavutil/aes.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index dde15be..9096f03 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88,

[FFmpeg-devel] [PATCH 2/8] lavu/aes: add x86 AESNI optimizations

2015-10-28 Thread Rodger Combs
s.o \ diff --git a/libavutil/x86/aes.asm b/libavutil/x86/aes.asm new file mode 100644 index 000..2147f6b --- /dev/null +++ b/libavutil/x86/aes.asm @@ -0,0 +1,95 @@ +;* +;* Copyright (c) 2015 Rodger Combs +;* +;* This f

[FFmpeg-devel] [PATCH 3/8] checkasm: add tests for AES

2015-10-28 Thread Rodger Combs
@@ -0,0 +1,64 @@ +/* + * Copyright (c) 2015 Rodger Combs + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the

[FFmpeg-devel] [PATCH 4/8] tools/crypto_bench: add AES-192 and AES-256

2015-10-28 Thread Rodger Combs
--- tools/crypto_bench.c | 82 1 file changed, 82 insertions(+) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index b3b24a6..ad20f95 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -118,6 +118,24 @@ static void run_la

<    1   2   3   4   5   6   7   8   >