]> git.sesse.net Git - ffmpeg/log
ffmpeg
9 years agortpdec: experimental VP9 depacketizer (draft 0)
Thomas Volkert [Sun, 15 Feb 2015 13:46:42 +0000 (14:46 +0100)]
rtpdec: experimental VP9 depacketizer (draft 0)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffmpeg_opt: Creating new data stream for output format context
Anshul Maheshwari [Sun, 15 Feb 2015 09:54:01 +0000 (15:24 +0530)]
ffmpeg_opt: Creating new data stream for output format context

Signed-off-by: Anshul Maheshwari <er.anshul.maheshwari@gmail.com>
if input codec Id match with expected data stream of output format context
then only new stream with same codec id is created.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/dcadec: Move remaining tables to dcadata.h
Michael Niedermayer [Sun, 15 Feb 2015 10:35:40 +0000 (11:35 +0100)]
avcodec/dcadec: Move remaining tables to dcadata.h

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vsrc_mandelbrot: fix indention of mis-indented block
Michael Niedermayer [Sun, 15 Feb 2015 00:53:21 +0000 (01:53 +0100)]
avfilter/vsrc_mandelbrot: fix indention of mis-indented block

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/h264: use avpriv_find_start_code() in h264_split()
Zhaoxiu Zeng [Fri, 13 Feb 2015 05:51:30 +0000 (13:51 +0800)]
avcodec/h264: use avpriv_find_start_code() in h264_split()

This also allows replacing several literal numbers by named constants
And it should be faster, the function is not speed relevant though as it is
generally only called a few times at the streams start.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/matroskaenc: add allow_raw_vfw and disable it by default
Michael Niedermayer [Sat, 14 Feb 2015 15:20:58 +0000 (16:20 +0100)]
avformat/matroskaenc: add allow_raw_vfw and disable it by default

Based on complaint by wm4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavutil/fixed_dsp: Use av_clip_int16() instead of the non optimized av_clip_int16_c()
Michael Niedermayer [Sat, 14 Feb 2015 23:22:46 +0000 (00:22 +0100)]
avutil/fixed_dsp: Use av_clip_int16() instead of the non optimized av_clip_int16_c()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'ecbcebde344c9eaeb8877ba2c5d32eb3af621e7f'
Michael Niedermayer [Sat, 14 Feb 2015 21:51:27 +0000 (22:51 +0100)]
Merge commit 'ecbcebde344c9eaeb8877ba2c5d32eb3af621e7f'

* commit 'ecbcebde344c9eaeb8877ba2c5d32eb3af621e7f':
  vdpau: Adjust necessary #includes for vdpau_internal.h

Conflicts:
libavcodec/vdpau_internal.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '36cf8eb4489f8709b5fb1cdb87e125ef53301c2f'
Michael Niedermayer [Sat, 14 Feb 2015 21:46:31 +0000 (22:46 +0100)]
Merge commit '36cf8eb4489f8709b5fb1cdb87e125ef53301c2f'

* commit '36cf8eb4489f8709b5fb1cdb87e125ef53301c2f':
  mov: Fix compilation with DEBUG enabled

See: 349a32c436d9511fe786c761cc2728f5b5efea0e
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '2a9c6fae927964b5dd0b5d3d9292f5621bd21664'
Michael Niedermayer [Sat, 14 Feb 2015 21:40:35 +0000 (22:40 +0100)]
Merge commit '2a9c6fae927964b5dd0b5d3d9292f5621bd21664'

* commit '2a9c6fae927964b5dd0b5d3d9292f5621bd21664':
  dca: Move all tables into dcadata.h

Conflicts:
libavcodec/dcadec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '8a213179aff0174d81b3e889134a3b4f7d21f5c3'
Michael Niedermayer [Sat, 14 Feb 2015 21:31:53 +0000 (22:31 +0100)]
Merge commit '8a213179aff0174d81b3e889134a3b4f7d21f5c3'

* commit '8a213179aff0174d81b3e889134a3b4f7d21f5c3':
  dca: Remove trace debugging code

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'a96f51f29ac4cd95650a8bcda6c3d5d87c6357fa'
Michael Niedermayer [Sat, 14 Feb 2015 21:25:48 +0000 (22:25 +0100)]
Merge commit 'a96f51f29ac4cd95650a8bcda6c3d5d87c6357fa'

* commit 'a96f51f29ac4cd95650a8bcda6c3d5d87c6357fa':
  dca: Return more informative error codes

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/dcaenc: rename DCA_SUBBANDS
Michael Niedermayer [Sat, 14 Feb 2015 21:12:56 +0000 (22:12 +0100)]
avcodec/dcaenc: rename DCA_SUBBANDS

Fixes "warning: DCA_SUBBANDS redefined"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'b339019de4e5f4d3c661bbdba98ae248ab77e2f0'
Michael Niedermayer [Sat, 14 Feb 2015 20:48:32 +0000 (21:48 +0100)]
Merge commit 'b339019de4e5f4d3c661bbdba98ae248ab77e2f0'

* commit 'b339019de4e5f4d3c661bbdba98ae248ab77e2f0':
  dca: Split code for handling the EXSS extension off into a separate file

Conflicts:
libavcodec/Makefile
libavcodec/dcadec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'bf704132a51f5d838365158331d4e535e1df4c8e'
Michael Niedermayer [Sat, 14 Feb 2015 20:27:26 +0000 (21:27 +0100)]
Merge commit 'bf704132a51f5d838365158331d4e535e1df4c8e'

* commit 'bf704132a51f5d838365158331d4e535e1df4c8e':
  Don't anonymously typedef structs

Conflicts:
avprobe.c
libavutil/parseutils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0'
Michael Niedermayer [Sat, 14 Feb 2015 20:18:17 +0000 (21:18 +0100)]
Merge commit '7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0'

* commit '7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0':
  avcodec: Don't anonymously typedef structs

Conflicts:
libavcodec/alac.c
libavcodec/cinepak.c
libavcodec/cscd.c
libavcodec/dcadec.c
libavcodec/g723_1.c
libavcodec/gif.c
libavcodec/iff.c
libavcodec/kgv1dec.c
libavcodec/libopenjpegenc.c
libavcodec/libspeexenc.c
libavcodec/ra288.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'daf8cf358a098a903d59adb6c0d0cc3262a8c93e'
Michael Niedermayer [Sat, 14 Feb 2015 20:07:40 +0000 (21:07 +0100)]
Merge commit 'daf8cf358a098a903d59adb6c0d0cc3262a8c93e'

* commit 'daf8cf358a098a903d59adb6c0d0cc3262a8c93e':
  avformat: Don't anonymously typedef structs

Conflicts:
libavformat/adtsenc.c
libavformat/aiffenc.c
libavformat/avidec.c
libavformat/gif.c
libavformat/iff.c
libavformat/img2dec.c
libavformat/jvdec.c
libavformat/matroskadec.c
libavformat/udp.c
libavformat/wtvdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter: bump minor and Changelog document the new filters
Clément Bœsch [Sun, 25 Jan 2015 18:18:59 +0000 (19:18 +0100)]
avfilter: bump minor and Changelog document the new filters

9 years agoavfilter: add paletteuse filter
Clément Bœsch [Sat, 24 Jan 2015 20:38:15 +0000 (21:38 +0100)]
avfilter: add paletteuse filter

9 years agoavfilter: add palettegen filter
Clément Bœsch [Sat, 24 Jan 2015 20:37:59 +0000 (21:37 +0100)]
avfilter: add palettegen filter

9 years agoavcodec/gif: support crop and transparency with PAL8
Clément Bœsch [Sat, 24 Jan 2015 20:36:47 +0000 (21:36 +0100)]
avcodec/gif: support crop and transparency with PAL8

9 years agoavformat/gif: use first packet palette as global for PAL8
Clément Bœsch [Fri, 23 Jan 2015 15:34:14 +0000 (16:34 +0100)]
avformat/gif: use first packet palette as global for PAL8

This will allow the payload in PAL8 packets to not contain 768B of local
palette (which is not LZW compressed).

9 years agoavformat/gif: simplify gif_image_write_header() prototype
Clément Bœsch [Sat, 24 Jan 2015 15:01:39 +0000 (16:01 +0100)]
avformat/gif: simplify gif_image_write_header() prototype

9 years agoavcodec/dxtory: use init_get_bits8()
Paul B Mahol [Sat, 14 Feb 2015 14:21:30 +0000 (14:21 +0000)]
avcodec/dxtory: use init_get_bits8()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoMerge commit '7769be590c7aeb2aad26ca723d105cf5203e33d2'
Michael Niedermayer [Sat, 14 Feb 2015 19:29:34 +0000 (20:29 +0100)]
Merge commit '7769be590c7aeb2aad26ca723d105cf5203e33d2'

* commit '7769be590c7aeb2aad26ca723d105cf5203e33d2':
  vp56: Return meaningful error codes

Conflicts:
libavcodec/vp56.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtpdec_ac3: add AC3 RTP depacketization (RFC 4184)
Gilles Chanteperdrix [Fri, 13 Feb 2015 21:51:34 +0000 (22:51 +0100)]
avformat/rtpdec_ac3: add AC3 RTP depacketization (RFC 4184)

Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Reviewed-by: Thomas Volkert <silvo@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovdpau: Adjust necessary #includes for vdpau_internal.h
Diego Biurrun [Thu, 5 Feb 2015 16:39:44 +0000 (17:39 +0100)]
vdpau: Adjust necessary #includes for vdpau_internal.h

9 years agomov: Fix compilation with DEBUG enabled
Diego Biurrun [Fri, 6 Feb 2015 11:03:46 +0000 (12:03 +0100)]
mov: Fix compilation with DEBUG enabled

9 years agoavformat/rtpdec_mpeg12: add robust MPEG audio depacketization (RFC 5219)
Gilles Chanteperdrix [Fri, 13 Feb 2015 21:51:33 +0000 (22:51 +0100)]
avformat/rtpdec_mpeg12: add robust MPEG audio depacketization (RFC 5219)

Reviewed-by: Thomas Volkert <silvo@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcocdec/mpegaudio_parser: add MP3 ADU headers parser
Gilles Chanteperdrix [Fri, 13 Feb 2015 21:51:33 +0000 (22:51 +0100)]
avcocdec/mpegaudio_parser: add MP3 ADU headers parser

Reviewed-by: Thomas Volkert <silvo@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodca: Move all tables into dcadata.h
Diego Biurrun [Mon, 22 Sep 2014 16:05:40 +0000 (18:05 +0200)]
dca: Move all tables into dcadata.h

9 years agodca: Remove trace debugging code
Diego Biurrun [Mon, 22 Sep 2014 09:37:34 +0000 (11:37 +0200)]
dca: Remove trace debugging code

9 years agodca: Return more informative error codes
Diego Biurrun [Mon, 22 Sep 2014 09:24:07 +0000 (11:24 +0200)]
dca: Return more informative error codes

9 years agodca: Split code for handling the EXSS extension off into a separate file
Diego Biurrun [Mon, 22 Sep 2014 05:36:08 +0000 (07:36 +0200)]
dca: Split code for handling the EXSS extension off into a separate file

9 years agoDon't anonymously typedef structs
Diego Biurrun [Mon, 22 Sep 2014 09:02:13 +0000 (11:02 +0200)]
Don't anonymously typedef structs

9 years agoavcodec: Don't anonymously typedef structs
Diego Biurrun [Mon, 22 Sep 2014 09:01:31 +0000 (11:01 +0200)]
avcodec: Don't anonymously typedef structs

9 years agoavformat: Don't anonymously typedef structs
Diego Biurrun [Mon, 22 Sep 2014 07:19:33 +0000 (09:19 +0200)]
avformat: Don't anonymously typedef structs

9 years agovp56: Return meaningful error codes
Himangi Saraogi [Fri, 13 Feb 2015 18:40:49 +0000 (00:10 +0530)]
vp56: Return meaningful error codes

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agox86: hevc: remove a parameter to WP internals
Christophe Gisquet [Thu, 5 Feb 2015 11:37:52 +0000 (12:37 +0100)]
x86: hevc: remove a parameter to WP internals

The second stride is always the internal buffer one, MAX_PB_SIZE (times 2 to
get the value in bytes).

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/vc1_pred: few branchless optimizations
zhaoxiu.zeng [Sat, 14 Feb 2015 15:03:13 +0000 (23:03 +0800)]
avcodec/vc1_pred: few branchless optimizations

This is also simpler

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/parser: optimize ff_mpeg4video_split()
Zhaoxiu Zeng [Fri, 13 Feb 2015 05:50:23 +0000 (13:50 +0800)]
avcodec/parser: optimize ff_mpeg4video_split()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavc: deprecate VIMA decoder
Paul B Mahol [Tue, 10 Feb 2015 12:13:53 +0000 (12:13 +0000)]
lavc: deprecate VIMA decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavformat/matroskaenc: Do not use native mode for raw RGB
Michael Niedermayer [Sat, 14 Feb 2015 11:47:35 +0000 (12:47 +0100)]
avformat/matroskaenc: Do not use native mode for raw RGB

This fixes generating totally unplayable files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/matroskaenc: fix handling of VFW style raw rgb
Michael Niedermayer [Sat, 14 Feb 2015 11:43:33 +0000 (12:43 +0100)]
avformat/matroskaenc: fix handling of VFW style raw rgb

raw rgb uses 0 as codec tag in "VFW", the code assumed 0 means error

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/mov: print a warning if parsing udta failed
Michael Niedermayer [Sat, 14 Feb 2015 10:58:01 +0000 (11:58 +0100)]
avformat/mov: print a warning if parsing udta failed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/apedec: simplify sign conversion
zhaoxiu.zeng [Fri, 13 Feb 2015 16:56:28 +0000 (00:56 +0800)]
avcodec/apedec: simplify sign conversion

Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/golomb: simplify sign conversion
zhaoxiu.zeng [Fri, 13 Feb 2015 16:58:58 +0000 (00:58 +0800)]
avcodec/golomb: simplify sign conversion

Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/apedec: move 'coeffs[256] and delay[256]' into, long_filter_high_3800
zhaoxiu.zeng [Fri, 13 Feb 2015 16:55:34 +0000 (00:55 +0800)]
avcodec/apedec: move 'coeffs[256] and delay[256]' into, long_filter_high_3800

Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/wmalosslessdec: simplify
zhaoxiu.zeng [Fri, 13 Feb 2015 16:53:12 +0000 (00:53 +0800)]
avcodec/wmalosslessdec: simplify

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/wmalosslessdec: optimize sign operation
zhaoxiu.zeng [Fri, 13 Feb 2015 16:51:27 +0000 (00:51 +0800)]
avcodec/wmalosslessdec: optimize sign operation

Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/wmalosslessdec: change type of acfilter_coeffs from int64_t to int16_t
zhaoxiu.zeng [Fri, 13 Feb 2015 16:49:49 +0000 (00:49 +0800)]
avcodec/wmalosslessdec: change type of acfilter_coeffs from int64_t to int16_t

Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/wmv2: simplify cbp_table_index calculation
zhaoxiu.zeng [Thu, 12 Feb 2015 16:05:36 +0000 (00:05 +0800)]
avcodec/wmv2: simplify cbp_table_index calculation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/vc1: simplify vc1_split()
zhaoxiu.zeng [Thu, 12 Feb 2015 16:03:21 +0000 (00:03 +0800)]
avcodec/vc1: simplify vc1_split()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/vc1: simplify find_next_marker()
zhaoxiu.zeng [Thu, 12 Feb 2015 16:02:04 +0000 (00:02 +0800)]
avcodec/vc1: simplify find_next_marker()

Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'eea769df322fac2601a96db195fa7dc8d12a8fbc'
Michael Niedermayer [Fri, 13 Feb 2015 11:32:30 +0000 (12:32 +0100)]
Merge commit 'eea769df322fac2601a96db195fa7dc8d12a8fbc'

* commit 'eea769df322fac2601a96db195fa7dc8d12a8fbc':
  hevc: Use generic av_clip function, not C implementation

Conflicts:
libavcodec/hevc.c
libavcodec/hevc_filter.c
libavcodec/hevc_mvs.c

See: 83976e40e89655162e5394cf8915d9b6d89702d9
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'faa8ffda2c513573733624784f0a7d0a4959d33e'
Michael Niedermayer [Fri, 13 Feb 2015 10:51:25 +0000 (11:51 +0100)]
Merge commit 'faa8ffda2c513573733624784f0a7d0a4959d33e'

* commit 'faa8ffda2c513573733624784f0a7d0a4959d33e':
  doc/APIchanges: fill in missing dates and hashes

Conflicts:
doc/APIchanges

See: c651a1aaecb5cb7bb40cf40df27f5273e8bcd245
See: 8c8ee17e8d2800144116ec52f26a435a06b49420 and others
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agofate: add wavpack encoder
Paul B Mahol [Thu, 12 Feb 2015 18:17:17 +0000 (18:17 +0000)]
fate: add wavpack encoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agohevc: Use generic av_clip function, not C implementation
Peter Meerwald [Mon, 9 Feb 2015 09:44:24 +0000 (10:44 +0100)]
hevc: Use generic av_clip function, not C implementation

hevc seems to be the only place where the C implementation
of the av_clip function is explicitly selected, precluding
platform-specific optimizations

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agodoc/APIchanges: fill in missing dates and hashes
Anton Khirnov [Thu, 12 Feb 2015 20:20:46 +0000 (21:20 +0100)]
doc/APIchanges: fill in missing dates and hashes

Also, move a misplaced block to the right position.

9 years agoavformat/mov: Heuristically detect raw udta
Michael Niedermayer [Fri, 13 Feb 2015 03:20:55 +0000 (04:20 +0100)]
avformat/mov: Heuristically detect raw udta

Fixes tkhd+moov fragment provided by koda

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtsp: parse lang attribute in SDP
Gilles Chanteperdrix [Sun, 8 Feb 2015 21:22:45 +0000 (22:22 +0100)]
avformat/rtsp: parse lang attribute in SDP

Reviewed-by: Thomas Volkert <silvo@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtpdec: add T.140 RTP depacketization (RFC 4103)
Gilles Chanteperdrix [Sun, 8 Feb 2015 21:22:41 +0000 (22:22 +0100)]
avformat/rtpdec: add T.140 RTP depacketization (RFC 4103)

Reviewed-by: Thomas Volkert <silvo@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtsp: allow receiving subtitles via RTP
Gilles Chanteperdrix [Sun, 8 Feb 2015 21:22:40 +0000 (22:22 +0100)]
avformat/rtsp: allow receiving subtitles via RTP

Reviewed-by: Thomas Volkert <silvo@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/mpegtsenc: Do not create invalid files from annex b streams without SPS/PPS
Michael Niedermayer [Thu, 12 Feb 2015 21:31:47 +0000 (22:31 +0100)]
avformat/mpegtsenc: Do not create invalid files from annex b streams without SPS/PPS

use global headers to create SPS/PPS when they are available

Fixes Ticket4248

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agortpdec_hevc: correct parsing of aggregated packets
Thomas Volkert [Thu, 12 Feb 2015 19:41:39 +0000 (20:41 +0100)]
rtpdec_hevc: correct parsing of aggregated packets

reported by tim dot yao at amlogic dot com

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agox86/hevc_mc: optimize AVX2 mc functions
James Almer [Thu, 12 Feb 2015 06:11:37 +0000 (03:11 -0300)]
x86/hevc_mc: optimize AVX2 mc functions

Before
40766 decicycles in ff_hevc_put_hevc_qpel_h64_8_avx2, 8192 runs, 0 skips

After
37975 decicycles in ff_hevc_put_hevc_qpel_h64_8_avx2, 8192 runs, 0 skips

Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agox86/hevc_sao: make sao_edge_filter_{10,12} work on x86_32
James Almer [Tue, 10 Feb 2015 02:18:32 +0000 (23:18 -0300)]
x86/hevc_sao: make sao_edge_filter_{10,12} work on x86_32

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoavformat/matroskadec: fix IGNIDX handling
wm4 [Mon, 9 Feb 2015 19:39:01 +0000 (20:39 +0100)]
avformat/matroskadec: fix IGNIDX handling

Just because the user requested the seek index to be ignored, we can't
just skip essential headers. At least tags are often located at the end
of the file, and the old code simply ignored the seekhead for all
elements, not just the cue index. Also, it looks like it used the index
even if IGNIDX was set if the cue index was located in the beginning of
the file.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/arm/videodsp_armv5te: Fix linking failure with "g++ -shared -D__STDC_CONSTANT...
Michael Niedermayer [Thu, 12 Feb 2015 15:35:29 +0000 (16:35 +0100)]
avcodec/arm/videodsp_armv5te: Fix linking failure with "g++ -shared -D__STDC_CONSTANT_MACROS -o test.so ... libavcodec.a"

Tested-by: Andreas Haupt
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agomatroska: redo seekhead handling
wm4 [Mon, 9 Feb 2015 19:39:00 +0000 (20:39 +0100)]
matroska: redo seekhead handling

In particular, this reads chained seekheads. This makes seeking faster
in files which have the index indirectly linked through 2 seekheads.

As a side-effect, this warns when reading level-1 (toplevel) elements
multiple times (other than seekheads, clusters, and void/crc). Such
elements are not valid and likely break everything.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoREADME: add ffserver
Clément Bœsch [Thu, 12 Feb 2015 10:59:22 +0000 (11:59 +0100)]
README: add ffserver

9 years agoREADME: fix analisys/analysis typo
Clément Bœsch [Thu, 12 Feb 2015 10:57:34 +0000 (11:57 +0100)]
README: fix analisys/analysis typo

9 years agoLICENSE.md: Formatting updates
Robert Xiao [Thu, 12 Feb 2015 00:38:55 +0000 (19:38 -0500)]
LICENSE.md: Formatting updates

Put filenames and configuration options in code for clarity, and fix some list formatting.

Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpegvideo_enc: correctly initialize chroma_intra_matrix for MPEG1/2
Michael Niedermayer [Wed, 11 Feb 2015 23:18:59 +0000 (00:18 +0100)]
avcodec/mpegvideo_enc: correctly initialize chroma_intra_matrix for MPEG1/2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpegvideo_enc: Consider chroma_intra_matrix in dct_quantize_trellis_c()
Michael Niedermayer [Wed, 11 Feb 2015 22:55:30 +0000 (23:55 +0100)]
avcodec/mpegvideo_enc: Consider chroma_intra_matrix in dct_quantize_trellis_c()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agofate: mjpeg trellis test
Michael Niedermayer [Wed, 11 Feb 2015 00:28:12 +0000 (01:28 +0100)]
fate: mjpeg trellis test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mjpegenc: support trellis quantization
Michael Niedermayer [Tue, 10 Feb 2015 23:47:15 +0000 (00:47 +0100)]
avcodec/mjpegenc: support trellis quantization

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpegvideo_enc: Add intra_chroma_ac_vlc_length, it will be needed for mjpeg
Michael Niedermayer [Tue, 10 Feb 2015 23:34:02 +0000 (00:34 +0100)]
avcodec/mpegvideo_enc: Add intra_chroma_ac_vlc_length, it will be needed for mjpeg

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agocmdutils: fix success path
Jean Delvare [Wed, 11 Feb 2015 13:18:27 +0000 (14:18 +0100)]
cmdutils: fix success path

Since commit 934f2d2f5c16df8aad9f401a9fd842b5d9a78b11,
cmdutils_read_file() prints a confusing message on success:

IO error: Success

This is because the error message is printed on the success path as
well. Add the missing condition so that it is only printed on error.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter: add dcshift filter
Paul B Mahol [Wed, 28 Jan 2015 15:46:58 +0000 (15:46 +0000)]
avfilter: add dcshift filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavfilter/unsharp: OpenCL unsharpen filter optimization: substitute N^2 filter computa...
Alexey Titov [Tue, 10 Feb 2015 20:21:05 +0000 (12:21 -0800)]
avfilter/unsharp: OpenCL unsharpen filter optimization: substitute N^2 filter computation with 2N+C

i7-4770K luma 21% faster, chroma 18% faster A10-7850K luma 42% faster, chroma 37% faster on 1920x1080 res

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/isom: add X-Com Radvision fourcc
Paul B Mahol [Wed, 11 Feb 2015 09:46:20 +0000 (09:46 +0000)]
avformat/isom: add X-Com Radvision fourcc

Fixes bug #4303.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoChangelog: mention more ported filters
Paul B Mahol [Wed, 11 Feb 2015 09:35:23 +0000 (09:35 +0000)]
Changelog: mention more ported filters

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoffmpeg: Print negative times like "-00:05:01.22" instead of "00:-5:-1.-22"
Michael Niedermayer [Tue, 10 Feb 2015 21:09:29 +0000 (22:09 +0100)]
ffmpeg: Print negative times like "-00:05:01.22" instead of "00:-5:-1.-22"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mjpegdec: Skip blocks which are outside the visible area
Michael Niedermayer [Wed, 11 Feb 2015 02:33:53 +0000 (03:33 +0100)]
avcodec/mjpegdec: Skip blocks which are outside the visible area

Fixes out of array accesses
Fixes: ffmpeg_mjpeg_crash.avi
Found-by: Thomas Lindroth <thomas.lindroth@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '9deaec782810d098bca11c9332fab2d2f4c5fb78'
Michael Niedermayer [Wed, 11 Feb 2015 01:13:46 +0000 (02:13 +0100)]
Merge commit '9deaec782810d098bca11c9332fab2d2f4c5fb78'

* commit '9deaec782810d098bca11c9332fab2d2f4c5fb78':
  lavf: move internal fields from public to internal context

Conflicts:
libavformat/avformat.h
libavformat/internal.h
libavformat/mux.c
libavformat/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '1509c018bd5b054a2354e20021ccbac9c934d213'
Michael Niedermayer [Wed, 11 Feb 2015 00:59:14 +0000 (01:59 +0100)]
Merge commit '1509c018bd5b054a2354e20021ccbac9c934d213'

* commit '1509c018bd5b054a2354e20021ccbac9c934d213':
  mpegts: relax restrictions on matching the packet start in read_header

Conflicts:
libavformat/mpegts.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '6a5b8ca4329039fad44ad50b6496948f4bfacb4c'
Michael Niedermayer [Wed, 11 Feb 2015 00:43:00 +0000 (01:43 +0100)]
Merge commit '6a5b8ca4329039fad44ad50b6496948f4bfacb4c'

* commit '6a5b8ca4329039fad44ad50b6496948f4bfacb4c':
  lavf: remove unused code

Conflicts:
libavformat/seek.c
libavformat/seek.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '0232ba62a28527579e34d44700b48017cc727e5f'
Michael Niedermayer [Wed, 11 Feb 2015 00:31:52 +0000 (01:31 +0100)]
Merge commit '0232ba62a28527579e34d44700b48017cc727e5f'

* commit '0232ba62a28527579e34d44700b48017cc727e5f':
  frame: clarify buf documentation

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodoc/ffmpeg: Document frame_drop_threshold
Michael Niedermayer [Tue, 10 Feb 2015 13:10:23 +0000 (14:10 +0100)]
doc/ffmpeg: Document frame_drop_threshold

9 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Tue, 10 Feb 2015 22:45:54 +0000 (23:45 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: factorize thread starting and stopping code into decoder
  ffplay: make eof part of videostate and signal it when opening a stream
  ffplay: update frame timer based on last updated clock time when toggling pause

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavutil/error: list most common error code in error_entries when strerror_r() is unava...
Michael Niedermayer [Tue, 10 Feb 2015 21:51:17 +0000 (22:51 +0100)]
avutil/error: list most common error code in error_entries when strerror_r() is unavailable

Fixes Ticket4267

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agotests: drop bc dependency
Clément Bœsch [Mon, 19 Jan 2015 21:56:59 +0000 (22:56 +0100)]
tests: drop bc dependency

We already have a dependency on awk and bc is sometimes not found in the
base system.

9 years agolavf: move internal fields from public to internal context
wm4 [Fri, 6 Feb 2015 13:53:40 +0000 (14:53 +0100)]
lavf: move internal fields from public to internal context

This is not an API change; the fields were explicitly declared private
before.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agompegts: relax restrictions on matching the packet start in read_header
Anton Khirnov [Wed, 4 Feb 2015 11:37:01 +0000 (12:37 +0100)]
mpegts: relax restrictions on matching the packet start in read_header

analyze() is currently called both when probing and from read_header().
It determines the packet start by looking for the sync byte, followed by
unset Transport Error Indicator and valid adaptation_field_control.

This makes sense to do when probing, but once we already know the format
is MPEG-TS, it is counterproductive to be so strict -- e.g. in some
files the TEI might be set and analyze() might get called with a smaller
buffer than the one used for probing, resulting in a failure.

9 years agoffplay: factorize thread starting and stopping code into decoder
Marton Balint [Sun, 26 Oct 2014 18:19:31 +0000 (19:19 +0100)]
ffplay: factorize thread starting and stopping code into decoder

Signed-off-by: Marton Balint <cus@passwd.hu>
9 years agoffplay: make eof part of videostate and signal it when opening a stream
Marton Balint [Tue, 6 Jan 2015 00:17:56 +0000 (01:17 +0100)]
ffplay: make eof part of videostate and signal it when opening a stream

Otherwise we may not flush a decoder when a new stream is opened during an
already eof condition.

Signed-off-by: Marton Balint <cus@passwd.hu>
9 years agoffplay: update frame timer based on last updated clock time when toggling pause
Marton Balint [Sun, 1 Feb 2015 22:57:49 +0000 (23:57 +0100)]
ffplay: update frame timer based on last updated clock time when toggling pause

It is better than using simply video clock, because video clock may be NAN.

Signed-off-by: Marton Balint <cus@passwd.hu>
9 years agoavfilter: Add repeatfields filter (Port of mp=softpulldown)
Paul B Mahol [Wed, 28 Jan 2015 15:13:27 +0000 (15:13 +0000)]
avfilter: Add repeatfields filter (Port of mp=softpulldown)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolibavutil: camellia: remove unwanted memory loads
Supraja Meedinti [Tue, 10 Feb 2015 15:54:07 +0000 (21:24 +0530)]
libavutil: camellia: remove unwanted memory loads

lavu       CAMELLIA     size: 1048576  runs:   1024  time:   21.549 +- 0.17

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>