OSDN Git Service

android-x86/external-ffmpeg.git
9 years agoav_filter/x86/idet: MMX/SSE2 implementation of 16bits filter_line()
Pascal Massimino [Tue, 9 Sep 2014 12:38:58 +0000 (14:38 +0200)]
av_filter/x86/idet: MMX/SSE2 implementation of 16bits filter_line()

tested on http://ps-auxw.de/10bit-h264-sample/10bit-eldorado.mkv
MMX: ~30% faster decoding overall
SSE2:~40% faster

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/rawenc: drop sizeof(AVFrame) dependency
Michael Niedermayer [Tue, 9 Sep 2014 11:01:37 +0000 (13:01 +0200)]
avcodec/rawenc: drop sizeof(AVFrame) dependency

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '9752d07d33d5370f7819865fbb5e582b982aad06'
Michael Niedermayer [Tue, 9 Sep 2014 10:12:29 +0000 (12:12 +0200)]
Merge commit '9752d07d33d5370f7819865fbb5e582b982aad06'

* commit '9752d07d33d5370f7819865fbb5e582b982aad06':
  dirac: K&R formatting cosmetics

Conflicts:
libavcodec/dirac.c
libavcodec/dirac_parser.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodirac: K&R formatting cosmetics
Gabriel Dume [Mon, 8 Sep 2014 22:32:34 +0000 (18:32 -0400)]
dirac: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoavformat/mpeg: update comment on probe score
Michael Niedermayer [Tue, 9 Sep 2014 00:51:59 +0000 (02:51 +0200)]
avformat/mpeg: update comment on probe score

Found-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavdevice/x11grab: fix cursor drawing in multi-screen setup
Antonio Ospite [Mon, 8 Sep 2014 11:15:19 +0000 (13:15 +0200)]
avdevice/x11grab: fix cursor drawing in multi-screen setup

The code uses XFixes to retrieve the cursor coordinates, but XFixes
gives no information of what screen the pointer is on; this results in
always drawing the cursor on the captured screen even if the mouse
pointer was on another screen.

For example, when capturing from screen 1 (i.e. -f x11grab -i ":0.1")
the cursor was being drawn in the captured image even when the mouse
pointer was actually on screen 0, which is wrong and visually confusing.

Use XQueryPointer to check that the pointer is actually on the screen
which is being captured.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavdevice/x11grab: rename the "w" Window to "root" in paint_mouse_pointer
Antonio Ospite [Mon, 8 Sep 2014 11:15:18 +0000 (13:15 +0200)]
avdevice/x11grab: rename the "w" Window to "root" in paint_mouse_pointer

This specifies better the meaning of the variable, and is also in
preparation of a subsequent change which will introduce a temporary
Window variable for which "w" is an good name.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_cropdetect: Do not check lines or columns twice on black frames
Michael Niedermayer [Tue, 9 Sep 2014 00:06:17 +0000 (02:06 +0200)]
avfilter/vf_cropdetect: Do not check lines or columns twice on black frames

Idea from patch by: hjiodjf 97xgw46 <jfbvxt@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/mpeg: increase score for short mpeg-ps by 1
Michael Niedermayer [Sun, 7 Sep 2014 17:18:21 +0000 (19:18 +0200)]
avformat/mpeg: increase score for short mpeg-ps by 1

Fixes Ticket 3855

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '1ec335513f95bf2441f81d761ea127325ecd81a0'
Michael Niedermayer [Mon, 8 Sep 2014 20:12:57 +0000 (22:12 +0200)]
Merge commit '1ec335513f95bf2441f81d761ea127325ecd81a0'

* commit '1ec335513f95bf2441f81d761ea127325ecd81a0':
  time: Add missing zero

Conflicts:
libavutil/time.c

See: ebef9f5a56d7df91e010a177a80cfc8dbe394305

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agotime: Add missing zero
Gabriel Dume [Mon, 8 Sep 2014 19:20:42 +0000 (15:20 -0400)]
time: Add missing zero

Leftover of 56d7df91e010a177a80cfc8dbe394305

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agoavcodec/mpeg4videodec: fix 'libavcodec/mpeg4videodec.c:2762:22: warning: unused varia...
Michael Niedermayer [Mon, 8 Sep 2014 19:31:47 +0000 (21:31 +0200)]
avcodec/mpeg4videodec: fix 'libavcodec/mpeg4videodec.c:2762:22: warning: unused variable mpeg4_vdpau_class [-Wunused-const-variable]'

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/cabac_functions: fix "warning: UNCHECKED_BITSTREAM_READER is not defined...
Michael Niedermayer [Mon, 8 Sep 2014 19:06:47 +0000 (21:06 +0200)]
avcodec/cabac_functions: fix "warning: UNCHECKED_BITSTREAM_READER is not defined, evaluates to 0"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/diracdec: Fix "warning: comparison of constant 4 with expression of type...
Michael Niedermayer [Mon, 8 Sep 2014 18:47:47 +0000 (20:47 +0200)]
avcodec/diracdec: Fix "warning: comparison of constant 4 with expression of type enum dirac_subband is always true [-Wtautological-constant-out-of-range-compare]"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoRevert the default for ffplay to -noautoexit.
Carl Eugen Hoyos [Mon, 8 Sep 2014 15:51:12 +0000 (17:51 +0200)]
Revert the default for ffplay to -noautoexit.

Reviewed-by: Marton Balint
9 years agoPrint bits_per_raw_sample for ffprobe -show_streams.
Carl Eugen Hoyos [Mon, 8 Sep 2014 15:45:57 +0000 (17:45 +0200)]
Print bits_per_raw_sample for ffprobe -show_streams.

Fixes ticket #3919.

9 years agoPrint the actual bit depth for audio if it is different from the sample_fmt bit depth.
Carl Eugen Hoyos [Mon, 8 Sep 2014 15:45:47 +0000 (17:45 +0200)]
Print the actual bit depth for audio if it is different from the sample_fmt bit depth.

This is already done for video.

9 years agoavcodec/ac3dec_fixed: remove unused arrays
Michael Niedermayer [Mon, 8 Sep 2014 14:59:16 +0000 (16:59 +0200)]
avcodec/ac3dec_fixed: remove unused arrays

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtpdec_qt: Fix 'warning: passing argument 2 of ffio_init_context discards...
Michael Niedermayer [Mon, 8 Sep 2014 14:55:57 +0000 (16:55 +0200)]
avformat/rtpdec_qt: Fix 'warning: passing argument 2 of ffio_init_context discards const qualifier from pointer target type'

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMAINTAINERS: add myself as segment maintainer
Stefano Sabatini [Mon, 8 Sep 2014 10:49:06 +0000 (12:49 +0200)]
MAINTAINERS: add myself as segment maintainer

9 years agolavf/segment: abort in case of invalid segment format options
Stefano Sabatini [Mon, 8 Sep 2014 10:47:37 +0000 (12:47 +0200)]
lavf/segment: abort in case of invalid segment format options

9 years agoavformat/utils: Exclude the header size when computing duration from bit_rate
Hendrik Leppkes [Sat, 6 Sep 2014 12:59:23 +0000 (14:59 +0200)]
avformat/utils: Exclude the header size when computing duration from bit_rate

This improves the estimate for MP3s with cover art tags.

Fixes Ticket2931

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '1274ea8dbaec44355bde07f6bb31fec0c4e6fd2d'
Michael Niedermayer [Sun, 7 Sep 2014 22:54:55 +0000 (00:54 +0200)]
Merge commit '1274ea8dbaec44355bde07f6bb31fec0c4e6fd2d'

* commit '1274ea8dbaec44355bde07f6bb31fec0c4e6fd2d':
  Split off floating point AAN (I)DCT into separate components

Conflicts:
configure
libavcodec/Makefile
libavcodec/dct-test.c
libavcodec/idctdsp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'fcf597625c7a991ca389f3a9b8ff4f5e383301c0'
Michael Niedermayer [Sun, 7 Sep 2014 22:45:02 +0000 (00:45 +0200)]
Merge commit 'fcf597625c7a991ca389f3a9b8ff4f5e383301c0'

* commit 'fcf597625c7a991ca389f3a9b8ff4f5e383301c0':
  ismindex: Avoid writing ismf files if no base name has been specified

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '803e82276b3716bf6012ec69e8854dae14a4fd2b'
Michael Niedermayer [Sun, 7 Sep 2014 22:38:26 +0000 (00:38 +0200)]
Merge commit '803e82276b3716bf6012ec69e8854dae14a4fd2b'

* commit '803e82276b3716bf6012ec69e8854dae14a4fd2b':
  libavformat: Check mkdir return error codes

Conflicts:
libavformat/hdsenc.c
libavformat/smoothstreamingenc.c

See: c89f8f80cc83622471eaf99e451e78df68475e19
See: a3886ea3c5947ca05bfe01b053d9ce2f9725d9eb
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffserver: tests, force +global_header for ASF
Reynaldo H. Verdejo Pinochet [Mon, 1 Sep 2014 17:12:09 +0000 (13:12 -0400)]
ffserver: tests, force +global_header for ASF

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoSplit off floating point AAN (I)DCT into separate components
Diego Biurrun [Fri, 29 Aug 2014 02:32:45 +0000 (19:32 -0700)]
Split off floating point AAN (I)DCT into separate components

9 years agoismindex: Avoid writing ismf files if no base name has been specified
Martin Storsjö [Fri, 5 Sep 2014 19:50:24 +0000 (22:50 +0300)]
ismindex: Avoid writing ismf files if no base name has been specified

Previously, this could create files named "(null).ismf", if the -ismf
parameter is specified (before an input file name), but without
specifying any base name.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agolibavformat: Check mkdir return error codes
Martin Storsjö [Fri, 5 Sep 2014 19:45:11 +0000 (22:45 +0300)]
libavformat: Check mkdir return error codes

Previously, the returned error codes were intentionally ignored
(see fadd3a68213), to avoid aborting if the directory already
existed. If the mkdir actually failed, this was caught when
opening files within the directory fails anyway.

By handling the error code here (but explicitly ignoring EEXIST),
the error messages and return codes in these cases are more
appropriate and less confusing.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agodoc/filters.texi: improve the wording of the expr_int_format documentation
Andreas Cadhalpun [Sat, 6 Sep 2014 21:49:43 +0000 (23:49 +0200)]
doc/filters.texi: improve the wording of the expr_int_format documentation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/m4vdec: Check for non startcode 00 00 00 sequences in probe
Michael Niedermayer [Sun, 7 Sep 2014 14:39:39 +0000 (16:39 +0200)]
avformat/m4vdec: Check for non startcode 00 00 00 sequences in probe

Fixes miss detection of PCM as m4v
Fixes Ticket 3928

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpegvideo: Set err on failure in ff_mpv_common_frame_size_change()
Michael Niedermayer [Sun, 7 Sep 2014 12:14:52 +0000 (14:14 +0200)]
avcodec/mpegvideo: Set err on failure in ff_mpv_common_frame_size_change()

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpegvideo: check that the context is initialized in ff_mpv_common_frame_size_...
Michael Niedermayer [Sun, 7 Sep 2014 11:00:47 +0000 (13:00 +0200)]
avcodec/mpegvideo: check that the context is initialized in ff_mpv_common_frame_size_change()

The function otherwise would initialize the context without setting context_initialized
alternatively we could set context_initialized

Fixes valgrind anomalies related to ticket 3928

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpegvideo: Use "goto fail" for all error paths in ff_mpv_common_frame_size_ch...
Michael Niedermayer [Sun, 7 Sep 2014 10:52:24 +0000 (12:52 +0200)]
avcodec/mpegvideo: Use "goto fail" for all error paths in ff_mpv_common_frame_size_change()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpegvideo: free_context_frame() cannot fail, make it return void
Michael Niedermayer [Sun, 7 Sep 2014 10:51:08 +0000 (12:51 +0200)]
avcodec/mpegvideo: free_context_frame() cannot fail, make it return void

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodoc/muxers/segment: reword text for examples, improve consistency
Stefano Sabatini [Sun, 7 Sep 2014 11:12:41 +0000 (13:12 +0200)]
doc/muxers/segment: reword text for examples, improve consistency

9 years agolavf/segment: add segment_format_options option
Stefano Sabatini [Sat, 6 Sep 2014 13:43:11 +0000 (15:43 +0200)]
lavf/segment: add segment_format_options option

9 years agolibswresample: move condition to start of loop.
Reimar Döffinger [Sat, 6 Sep 2014 19:22:36 +0000 (21:22 +0200)]
libswresample: move condition to start of loop.

This avoids several issue like calculating sum/maxcoef
incorrectly due to adding up matrix entries that will
be overwritten, as well as out-of-range writes to
s->matrix if the maximum allowed number of channels is used.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoRemove pointless if.
Reimar Döffinger [Sat, 6 Sep 2014 19:18:58 +0000 (21:18 +0200)]
Remove pointless if.

A branch to avoid some calculation seems unlikely to have any benefits.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agolibswresample: Avoid needlessly large on-stack array.
Reimar Döffinger [Tue, 2 Sep 2014 21:50:55 +0000 (23:50 +0200)]
libswresample: Avoid needlessly large on-stack array.

We only actually need to use a tiny part of it.
Unfortunately we seem to have no real test coverage on
the code, so this is a bit risky.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoffmpeg: Copy extradata if it has been initialized later from the encoder
Michael Niedermayer [Sat, 6 Sep 2014 02:42:48 +0000 (04:42 +0200)]
ffmpeg: Copy extradata if it has been initialized later from the encoder

Fixes Ticket3909

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/h264: Allow partial escaping
Michael Niedermayer [Sat, 6 Sep 2014 23:42:28 +0000 (01:42 +0200)]
avcodec/h264: Allow partial escaping

Fixes Ticket3923

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/swfdec: Do not change the pixel format
Michael Niedermayer [Tue, 2 Sep 2014 14:42:33 +0000 (16:42 +0200)]
avformat/swfdec: Do not change the pixel format

This is currently not supported
Fixes part of Ticket 3539

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/af_silenceremove: remove dead code
Michael Niedermayer [Sat, 6 Sep 2014 10:56:03 +0000 (12:56 +0200)]
avfilter/af_silenceremove: remove dead code

Fixes CID1237284

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/hevc_ps: Always initialize backup in decode_vui()
Michael Niedermayer [Sat, 6 Sep 2014 10:40:34 +0000 (12:40 +0200)]
avcodec/hevc_ps: Always initialize backup in decode_vui()

Fixes CID1237283

Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoRELEASE_NOTES: mention the ffplay -autoexit behaviour change
Clément Bœsch [Sat, 6 Sep 2014 19:28:53 +0000 (21:28 +0200)]
RELEASE_NOTES: mention the ffplay -autoexit behaviour change

9 years agohuffyuvdec: avoid large stack use.
Reimar Döffinger [Tue, 2 Sep 2014 19:56:43 +0000 (21:56 +0200)]
huffyuvdec: avoid large stack use.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agocabac: Allow hardcoding CABAC table.
Reimar Döffinger [Sun, 31 Aug 2014 10:42:51 +0000 (12:42 +0200)]
cabac: Allow hardcoding CABAC table.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agocabac: initialize all of ff_h264_cabac_tables programmatically.
Reimar Döffinger [Sat, 30 Aug 2014 16:17:39 +0000 (18:17 +0200)]
cabac: initialize all of ff_h264_cabac_tables programmatically.

Moves it from .data to .bss, slightly reducing binary size.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoaacsbr: support hardcoding tables.
Reimar Döffinger [Sat, 30 Aug 2014 15:27:57 +0000 (17:27 +0200)]
aacsbr: support hardcoding tables.

For sbr_qmf_window_us there is even a question if it maybe
should be fully hardcoded all the time.
Since half of it is coded, it ends up in .data and not .bss.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoavcodec/hevc: fix dead code
Mickaël Raulet [Sat, 6 Sep 2014 17:05:21 +0000 (19:05 +0200)]
avcodec/hevc: fix dead code

fix CID 1231985

cherry picked from commit 745a35a777eaa5f77b8660b44098110a29916aae
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffplay: make autoexit the default
Michael Niedermayer [Sat, 6 Sep 2014 18:22:14 +0000 (20:22 +0200)]
ffplay: make autoexit the default

See: f9bc65e399d1883da21ae03d07b09348a11a5f49
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '041caf1a63f091745b95a6d51c23fbdcb604d4ce'
Michael Niedermayer [Sat, 6 Sep 2014 18:20:44 +0000 (20:20 +0200)]
Merge commit '041caf1a63f091745b95a6d51c23fbdcb604d4ce'

* commit '041caf1a63f091745b95a6d51c23fbdcb604d4ce':
  avplay: Exit by default at the end of playback

Conflicts:
Changelog
ffplay.c

Changes to ffplay not merged as they would break -autoexit as a way to override -noautoexit,
the change of the default will be implemented in the next commit

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/mpegts: fix spelling error
Andreas Cadhalpun [Sat, 6 Sep 2014 10:06:39 +0000 (12:06 +0200)]
avformat/mpegts: fix spelling error

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavplay: Exit by default at the end of playback
Diego Biurrun [Tue, 2 Sep 2014 22:45:21 +0000 (00:45 +0200)]
avplay: Exit by default at the end of playback

This is the expected behavior shared by all other cli multimedia players.

Bug-Id: 732

9 years agoavfilter/ebur128: rework channel weighting definition code
Clément Bœsch [Sat, 6 Sep 2014 11:47:59 +0000 (13:47 +0200)]
avfilter/ebur128: rework channel weighting definition code

Should fix CID1194399 (Bad bit shift operation)

9 years agoavcodec/mjpegdec: fix rounding of chroma_height
Michael Niedermayer [Sat, 6 Sep 2014 01:13:57 +0000 (03:13 +0200)]
avcodec/mjpegdec: fix rounding of chroma_height

Fixes green line at the bottom
Fixes Ticket3913

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodoc: Copyright in CSS, CSS split in 2 files
db0company [Fri, 5 Sep 2014 18:31:16 +0000 (20:31 +0200)]
doc: Copyright in CSS, CSS split in 2 files

Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavd/v4l2: introduce enqueue_buffer()
Giorgio Vazzana [Mon, 1 Sep 2014 20:20:05 +0000 (22:20 +0200)]
lavd/v4l2: introduce enqueue_buffer()

Additionally, make sure a buffer gets enqueued again (even in error paths) after
it has been succesfully dequeued.

Tested-by: Dmitry Volyntsev <xeioexception@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/srtdec: speed up probing
wm4 [Thu, 4 Sep 2014 19:16:13 +0000 (21:16 +0200)]
avformat/srtdec: speed up probing

9 years agoavformat/realtextdec: UTF-16 support
wm4 [Tue, 2 Sep 2014 18:54:16 +0000 (20:54 +0200)]
avformat/realtextdec: UTF-16 support

Also remove ff_smil_extract_next_chunk - this was the last user of it.

9 years agoavformat/samidec: UTF-16 support
wm4 [Tue, 2 Sep 2014 18:53:08 +0000 (20:53 +0200)]
avformat/samidec: UTF-16 support

ff_smil_extract_next_chunk() is still used by RealText.

9 years agoavformat/srtdec: UTF-16 support
wm4 [Tue, 2 Sep 2014 18:52:07 +0000 (20:52 +0200)]
avformat/srtdec: UTF-16 support

9 years agoavformat/assdec: UTF-16 support
wm4 [Tue, 2 Sep 2014 18:48:45 +0000 (20:48 +0200)]
avformat/assdec: UTF-16 support

Use the UTF-16 BOM to detect UTF-16 encoding. Convert the file contents
to UTF-8 on the fly using FFTextReader, which acts as converting wrapper
around AVIOContext. It also can work on a static buffer, needed for
format probing. The FFTextReader wrapper now also takes care of skipping
the UTF-8 BOM.

Fix Ticket #3496.

9 years agoavcodec/mpegvideo: set codec tags in ff_mpv_decode_init()
Michael Niedermayer [Fri, 5 Sep 2014 15:14:50 +0000 (17:14 +0200)]
avcodec/mpegvideo: set codec tags in ff_mpv_decode_init()

Fixes Ticket3912

Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/mpegvideo: Factor ff_mpv_decode_init() out
Michael Niedermayer [Fri, 5 Sep 2014 14:57:57 +0000 (16:57 +0200)]
avcodec/mpegvideo: Factor ff_mpv_decode_init() out

Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavd/v4l2: simplify list_formats()
Giorgio Vazzana [Fri, 5 Sep 2014 15:43:59 +0000 (17:43 +0200)]
lavd/v4l2: simplify list_formats()

We can avoid passing file descriptor fd explicitely.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '2143948381c8118bdc2f50bd4079520b9885bd54'
Michael Niedermayer [Fri, 5 Sep 2014 17:29:41 +0000 (19:29 +0200)]
Merge commit '2143948381c8118bdc2f50bd4079520b9885bd54'

* commit '2143948381c8118bdc2f50bd4079520b9885bd54':
  Drop unnecessary av_unused attributes.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMAINTAINERS: fix typo
Paul B Mahol [Fri, 5 Sep 2014 17:32:41 +0000 (17:32 +0000)]
MAINTAINERS: fix typo

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoadd silenceremove filter
Paul B Mahol [Wed, 2 Jul 2014 09:39:07 +0000 (09:39 +0000)]
add silenceremove filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoMerge commit '213e606752d16f51337e94431962fb5d7749c07e'
Michael Niedermayer [Fri, 5 Sep 2014 17:24:49 +0000 (19:24 +0200)]
Merge commit '213e606752d16f51337e94431962fb5d7749c07e'

* commit '213e606752d16f51337e94431962fb5d7749c07e':
  Replace av_unused attributes by block structures

Conflicts:
libavcodec/h264_loopfilter.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '096a1d5b46391f65dfd0bee6292e9962f53bd7c8'
Michael Niedermayer [Fri, 5 Sep 2014 17:15:52 +0000 (19:15 +0200)]
Merge commit '096a1d5b46391f65dfd0bee6292e9962f53bd7c8'

* commit '096a1d5b46391f65dfd0bee6292e9962f53bd7c8':
  rdft: Move some variables into a separate block

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'b574e1e97ea7067a5fcd3876e30a67df0e4e6611'
Michael Niedermayer [Fri, 5 Sep 2014 17:08:27 +0000 (19:08 +0200)]
Merge commit 'b574e1e97ea7067a5fcd3876e30a67df0e4e6611'

* commit 'b574e1e97ea7067a5fcd3876e30a67df0e4e6611':
  get_bits: Add OPEN_READER macro variant w/o size_plus8

Conflicts:
libavcodec/get_bits.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavd/v4l2: simplify list_framesizes()
Giorgio Vazzana [Fri, 5 Sep 2014 15:39:50 +0000 (17:39 +0200)]
lavd/v4l2: simplify list_framesizes()

We can avoid passing file descriptor fd explicitely.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavd/v4l2: remove unneeded variable in device_init()
Giorgio Vazzana [Fri, 5 Sep 2014 15:34:51 +0000 (17:34 +0200)]
lavd/v4l2: remove unneeded variable in device_init()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavd/v4l2: simplify first_field()
Giorgio Vazzana [Fri, 5 Sep 2014 15:24:43 +0000 (17:24 +0200)]
lavd/v4l2: simplify first_field()

There is no need to pass fd as a second parameter. Additionally remove
unneeded curly braces.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavd/v4l2: Replace s1 with ctx for consistency.
Giorgio Vazzana [Fri, 5 Sep 2014 15:12:39 +0000 (17:12 +0200)]
lavd/v4l2: Replace s1 with ctx for consistency.

No functional change in the code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMAINTAINERS: add myself as lavd/v4l2 maintainer
Giorgio Vazzana [Fri, 5 Sep 2014 14:26:11 +0000 (16:26 +0200)]
MAINTAINERS: add myself as lavd/v4l2 maintainer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agox86inc: Make INIT_CPUFLAGS support an arbitrary number of cpuflags
Henrik Gramner [Thu, 4 Sep 2014 22:13:38 +0000 (00:13 +0200)]
x86inc: Make INIT_CPUFLAGS support an arbitrary number of cpuflags

Previously there was a limit of two cpuflags.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoDrop unnecessary av_unused attributes.
Diego Biurrun [Tue, 2 Sep 2014 21:25:07 +0000 (23:25 +0200)]
Drop unnecessary av_unused attributes.

9 years agoReplace av_unused attributes by block structures
Diego Biurrun [Tue, 2 Sep 2014 21:23:03 +0000 (23:23 +0200)]
Replace av_unused attributes by block structures

This is more portable and avoids warnings with compilers that do not
properly support av_unused.

9 years agordft: Move some variables into a separate block
Diego Biurrun [Fri, 29 Aug 2014 14:56:20 +0000 (16:56 +0200)]
rdft: Move some variables into a separate block

This avoids an unused variable warning with hardcoded tables.

9 years agoget_bits: Add OPEN_READER macro variant w/o size_plus8
Diego Biurrun [Fri, 22 Aug 2014 12:37:39 +0000 (14:37 +0200)]
get_bits: Add OPEN_READER macro variant w/o size_plus8

This avoids a trillion warnings from MSVC.

9 years agotiff: fix {2,4}bpp grayscale palettes.
Benoit Fouet [Fri, 5 Sep 2014 09:15:13 +0000 (11:15 +0200)]
tiff: fix {2,4}bpp grayscale palettes.

Create a default grayscale palette for 2 or 4 bpp grayscale tiff, if
there is no palette defined.
Fixes ticket #3915

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovfi/x86/vf_idet: fix incorrect use of paddq
James Darnley [Thu, 4 Sep 2014 22:22:04 +0000 (00:22 +0200)]
vfi/x86/vf_idet: fix incorrect use of paddq

paddq is an SSE2 instruction so it cannot be used for MMX.

This was probably just a typo because the sums are dwords anyway.

Reviewed-by: Pascal Massimino <pascal.massimino@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/x86/idet: fix license header (GPL -> LGPL)
Pascal Massimino [Fri, 5 Sep 2014 09:59:03 +0000 (11:59 +0200)]
avfilter/x86/idet: fix license header (GPL -> LGPL)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'b21e989a3c076d94cfdde0303724db841dd60cad'
Michael Niedermayer [Fri, 5 Sep 2014 10:14:42 +0000 (12:14 +0200)]
Merge commit 'b21e989a3c076d94cfdde0303724db841dd60cad'

* commit 'b21e989a3c076d94cfdde0303724db841dd60cad':
  ismindex: produce .ismf file

Conflicts:
tools/ismindex.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodoc/filters.texi: fix time duration references
Mark Harris [Thu, 4 Sep 2014 20:19:44 +0000 (13:19 -0700)]
doc/filters.texi: fix time duration references

Make time duration references consistent, using @ref links, and
eliminate incorrect syntax [-]HH[:MM[:SS[.m...]]].

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
9 years agolavf/ffmdec: return proper error code in ffm2_read_header()
Stefano Sabatini [Mon, 1 Sep 2014 12:04:54 +0000 (14:04 +0200)]
lavf/ffmdec: return proper error code in ffm2_read_header()

Also log an error message in case of invalid packet size.

9 years agolavc/libvpxenc: show crf CQ value in error message
Stefano Sabatini [Mon, 1 Sep 2014 11:10:04 +0000 (13:10 +0200)]
lavc/libvpxenc: show crf CQ value in error message

9 years agoismindex: produce .ismf file
Mika Raento [Thu, 4 Sep 2014 15:09:46 +0000 (18:09 +0300)]
ismindex: produce .ismf file

This is a non-standard file that maps the MSS segment names to offsets
in the ISMV file. This can be used to build a custom MSS streaming
server without splitting the ISMV into separate files.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoMerge commit 'd7913bf59ccbf781ce57c5d58998e8f25d10e040'
Michael Niedermayer [Fri, 5 Sep 2014 02:45:30 +0000 (04:45 +0200)]
Merge commit 'd7913bf59ccbf781ce57c5d58998e8f25d10e040'

* commit 'd7913bf59ccbf781ce57c5d58998e8f25d10e040':
  changelog: Move Ogg subtypes aliases entry to the correct release

Conflicts:
Changelog

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agox86/hevc_res_add: add missing guards to hevc_transform_add32_8_avx2
James Almer [Fri, 5 Sep 2014 02:33:14 +0000 (23:33 -0300)]
x86/hevc_res_add: add missing guards to hevc_transform_add32_8_avx2

Should fix compilation with old Yasm/Nasm versions.

Signed-off-by: James Almer <jamrial@gmail.com>
9 years agox86inc: Make ym# behave the same way as xm#
Henrik Gramner [Thu, 4 Sep 2014 22:13:34 +0000 (00:13 +0200)]
x86inc: Make ym# behave the same way as xm#

This makes more sense for future implementations of templates with zmm registers.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agox86inc: free up variable name "n" in global namespace
Loren Merritt [Thu, 4 Sep 2014 22:13:37 +0000 (00:13 +0200)]
x86inc: free up variable name "n" in global namespace

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agox86/hevc_res_add: add ff_hevc_transform_add32_8_avx2
James Almer [Mon, 1 Sep 2014 02:43:02 +0000 (23:43 -0300)]
x86/hevc_res_add: add ff_hevc_transform_add32_8_avx2

~20% faster than AVX.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoavutil/md5: workaround clang 3.5 #20849
Michael Niedermayer [Thu, 4 Sep 2014 22:31:39 +0000 (00:31 +0200)]
avutil/md5: workaround clang 3.5 #20849

This avoids several failures on fate.ffmpeg.org, and thus makes real
bugs easier to spot

Reviewed-by: James Darnley <james.darnley@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavc/x86/v210: give cpuflag to INIT macro
James Darnley [Thu, 4 Sep 2014 22:13:35 +0000 (00:13 +0200)]
lavc/x86/v210: give cpuflag to INIT macro

This lets the cglobal macro automatically append a suffix to the function name.
This means that INIT_XMM avx must be used rather than INIT_AVX.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agochangelog: Move Ogg subtypes aliases entry to the correct release
Diego Biurrun [Thu, 4 Sep 2014 15:30:39 +0000 (08:30 -0700)]
changelog: Move Ogg subtypes aliases entry to the correct release

9 years agoavfilter/vf_idet: MMX/MMXEXT/SSE2 implementation of idet's filter_line()
skal [Wed, 3 Sep 2014 09:02:32 +0000 (11:02 +0200)]
avfilter/vf_idet: MMX/MMXEXT/SSE2 implementation of idet's filter_line()

integration by Neil Birkbeck, with help from Vitor Sessak.
core SSE2 loop by Skal (pascal.massimino@gmail.com)

Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>