]> git.sesse.net Git - ffmpeg/log
ffmpeg
9 years agoavutil/dict: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Sat, 27 Dec 2014 14:48:32 +0000 (15:48 +0100)]
avutil/dict: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '60d4c6ff76467d4d8f55c1cc61ab6c618e8ea2f3'
Michael Niedermayer [Sat, 27 Dec 2014 13:56:10 +0000 (14:56 +0100)]
Merge commit '60d4c6ff76467d4d8f55c1cc61ab6c618e8ea2f3'

* commit '60d4c6ff76467d4d8f55c1cc61ab6c618e8ea2f3':
  h264: restore a block mistakenly removed in e10fd08a

See: 0ecb3075c1c243cfb656d1cbe0b19cdb91bde659
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '737d35e33408263c04d7730f5487eed0d04938ba'
Michael Niedermayer [Sat, 27 Dec 2014 12:37:39 +0000 (13:37 +0100)]
Merge commit '737d35e33408263c04d7730f5487eed0d04938ba'

* commit '737d35e33408263c04d7730f5487eed0d04938ba':
  vdpau: add support for the H.264 High 4:4:4 Predictive profile

Conflicts:
libavcodec/vdpau_internal.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '1f9237f2ac46dfbed1bfa1f4f0f1314c2a1d62ec'
Michael Niedermayer [Sat, 27 Dec 2014 12:25:52 +0000 (13:25 +0100)]
Merge commit '1f9237f2ac46dfbed1bfa1f4f0f1314c2a1d62ec'

* commit '1f9237f2ac46dfbed1bfa1f4f0f1314c2a1d62ec':
  avconv_vdpau: allocate video surface of VDPAU-specified size

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'ebd5320afd42d4315851f3e0ca7f5d4a6300eb68'
Michael Niedermayer [Sat, 27 Dec 2014 12:16:46 +0000 (13:16 +0100)]
Merge commit 'ebd5320afd42d4315851f3e0ca7f5d4a6300eb68'

* commit 'ebd5320afd42d4315851f3e0ca7f5d4a6300eb68':
  vdpau: add support for 4:2:2 and 4:4:4 chroma sampling

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'c220a60f92dde9c7c118fc4deddff5c1f617cda9'
Michael Niedermayer [Sat, 27 Dec 2014 12:06:25 +0000 (13:06 +0100)]
Merge commit 'c220a60f92dde9c7c118fc4deddff5c1f617cda9'

* commit 'c220a60f92dde9c7c118fc4deddff5c1f617cda9':
  vdpau: add helper for surface chroma type and size

Conflicts:
libavcodec/vdpau.c
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '6c99c92a42add7f6a462114d5a4a53c93c551058'
Michael Niedermayer [Sat, 27 Dec 2014 11:52:59 +0000 (12:52 +0100)]
Merge commit '6c99c92a42add7f6a462114d5a4a53c93c551058'

* commit '6c99c92a42add7f6a462114d5a4a53c93c551058':
  libavcodec: add AV_HWACCEL_ALLOW_HIGH_DEPTH flag

Conflicts:
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '57b6704ecd0f56d6a3092e448687cfd837bb0ac1'
Michael Niedermayer [Sat, 27 Dec 2014 11:41:10 +0000 (12:41 +0100)]
Merge commit '57b6704ecd0f56d6a3092e448687cfd837bb0ac1'

* commit '57b6704ecd0f56d6a3092e448687cfd837bb0ac1':
  avcodec: add AVCodecContext.sw_pix_fmt

Conflicts:
doc/APIchanges
libavcodec/avcodec.h
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '4cfbeef31d4e6096c0596359d212f5d99a7ba4b5'
Michael Niedermayer [Sat, 27 Dec 2014 11:15:34 +0000 (12:15 +0100)]
Merge commit '4cfbeef31d4e6096c0596359d212f5d99a7ba4b5'

* commit '4cfbeef31d4e6096c0596359d212f5d99a7ba4b5':
  h264: factor hwaccel pixel formats list

Conflicts:
libavcodec/h264_slice.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoh264: restore a block mistakenly removed in e10fd08a
Anton Khirnov [Thu, 25 Dec 2014 21:46:39 +0000 (22:46 +0100)]
h264: restore a block mistakenly removed in e10fd08a

CC: libav-stable@libav.org
Bug-ID: 781

9 years agoavfilter/vf_cropdetect: add yuv440p and yuv410p support
Michael Niedermayer [Sat, 27 Dec 2014 03:52:03 +0000 (04:52 +0100)]
avfilter/vf_cropdetect: add yuv440p and yuv410p support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_fspp: Add GBRP and gray8 support
Michael Niedermayer [Fri, 26 Dec 2014 22:26:33 +0000 (23:26 +0100)]
avfilter/vf_fspp: Add GBRP and gray8 support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffserver: check for EOF|error at loop condition
Reynaldo H. Verdejo Pinochet [Fri, 26 Dec 2014 22:01:31 +0000 (19:01 -0300)]
ffserver: check for EOF|error at loop condition

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: reflow close_connection()
Reynaldo H. Verdejo Pinochet [Fri, 26 Dec 2014 21:43:40 +0000 (18:43 -0300)]
ffserver: reflow close_connection()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: minor formatting improvement to http_server()
Reynaldo H. Verdejo Pinochet [Fri, 26 Dec 2014 21:34:52 +0000 (18:34 -0300)]
ffserver: minor formatting improvement to http_server()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: reindent start_multicast()
Reynaldo H. Verdejo Pinochet [Fri, 26 Dec 2014 21:17:47 +0000 (18:17 -0300)]
ffserver: reindent start_multicast()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: reflow start_multicast()
Reynaldo H. Verdejo Pinochet [Fri, 26 Dec 2014 21:03:25 +0000 (18:03 -0300)]
ffserver: reflow start_multicast()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: reindent start_children()
Reynaldo H. Verdejo Pinochet [Tue, 9 Dec 2014 06:03:41 +0000 (03:03 -0300)]
ffserver: reindent start_children()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: reflow start_children()
Reynaldo H. Verdejo Pinochet [Tue, 9 Dec 2014 05:57:02 +0000 (02:57 -0300)]
ffserver: reflow start_children()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: break lines at 80 in func prototypes
Reynaldo H. Verdejo Pinochet [Tue, 9 Dec 2014 05:04:10 +0000 (02:04 -0300)]
ffserver: break lines at 80 in func prototypes

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agox86/vf_fspp: move pxor in store slice functions out of the loop
James Almer [Fri, 26 Dec 2014 20:09:02 +0000 (17:09 -0300)]
x86/vf_fspp: move pxor in store slice functions out of the loop

m7 is not overwritten, so we only need to clear it once.
Found by Christophe Gisquet.

Signed-off-by: James Almer <jamrial@gmail.com>
9 years agox86/vf_fspp: port inline asm to yasm
James Almer [Fri, 26 Dec 2014 18:37:54 +0000 (15:37 -0300)]
x86/vf_fspp: port inline asm to yasm

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoavfilter/vf_fspp: clarify comment
Michael Niedermayer [Fri, 26 Dec 2014 17:17:12 +0000 (18:17 +0100)]
avfilter/vf_fspp: clarify comment

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswscale: Pass through chroma positions in sws_getCachedContext
Kieran Kunhya [Fri, 26 Dec 2014 14:46:02 +0000 (14:46 +0000)]
swscale: Pass through chroma positions in sws_getCachedContext

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_boxblur: generate supported pixfmt list instead of hardcoding
Michael Niedermayer [Sun, 21 Dec 2014 16:38:17 +0000 (17:38 +0100)]
avfilter/vf_boxblur: generate supported pixfmt list instead of hardcoding

This adds support for several more >8bit planar formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtsp: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Fri, 26 Dec 2014 13:59:29 +0000 (14:59 +0100)]
avformat/rtsp: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/cache: remove ftruncate usage, its not always available
Michael Niedermayer [Fri, 26 Dec 2014 11:11:58 +0000 (12:11 +0100)]
avformat/cache: remove ftruncate usage, its not always available

In case of errors the cache file will be slightly larger than needed,
this should have no practical relevance though

Should fix build on VS201*

Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavfi/blend: add difference128 mode
Stefano Sabatini [Thu, 4 Dec 2014 11:34:30 +0000 (12:34 +0100)]
lavfi/blend: add difference128 mode

9 years agoavformat/cache: Extend cache entries if possible instead of creating new ones
Michael Niedermayer [Fri, 26 Dec 2014 00:36:00 +0000 (01:36 +0100)]
avformat/cache: Extend cache entries if possible instead of creating new ones

This reduces the number of cache entries and should significantly
reduce memory requirements

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/cache: avoid lseek() on reading from the cache if possible
Michael Niedermayer [Fri, 26 Dec 2014 00:23:54 +0000 (01:23 +0100)]
avformat/cache: avoid lseek() on reading from the cache if possible

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/cache: keep cache_pos updated
Michael Niedermayer [Fri, 26 Dec 2014 00:22:52 +0000 (01:22 +0100)]
avformat/cache: keep cache_pos updated

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/cache: cleanup cache file on cache write failure
Michael Niedermayer [Fri, 26 Dec 2014 00:13:49 +0000 (01:13 +0100)]
avformat/cache: cleanup cache file on cache write failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoChangelog: Mention non continuous cache protocol
Michael Niedermayer [Thu, 25 Dec 2014 21:12:02 +0000 (22:12 +0100)]
Changelog: Mention non continuous cache protocol

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/xbr: reindent after previous commit
Clément Bœsch [Thu, 25 Dec 2014 22:36:48 +0000 (23:36 +0100)]
avfilter/xbr: reindent after previous commit

9 years agoavfilter/xbr: refactor px calculation in FILT[234]
Clément Bœsch [Thu, 25 Dec 2014 22:34:25 +0000 (23:34 +0100)]
avfilter/xbr: refactor px calculation in FILT[234]

9 years agoavfilter/xbr: move alpha blend assignment out of the macros
Clément Bœsch [Sun, 16 Nov 2014 11:12:40 +0000 (12:12 +0100)]
avfilter/xbr: move alpha blend assignment out of the macros

9 years agoavfilter/xbr: remove unused mask
Clément Bœsch [Sun, 16 Nov 2014 10:55:25 +0000 (11:55 +0100)]
avfilter/xbr: remove unused mask

9 years agoavfilter/xbr: refactor alpha blending macros
Clément Bœsch [Sun, 16 Nov 2014 10:55:08 +0000 (11:55 +0100)]
avfilter/xbr: refactor alpha blending macros

9 years agoavformat/cache: Support user specified read-ahead for non seekable media
Michael Niedermayer [Thu, 25 Dec 2014 20:39:51 +0000 (21:39 +0100)]
avformat/cache: Support user specified read-ahead for non seekable media

Fixes Ticket2406

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/cache: Use the correct io handle in seeking
Michael Niedermayer [Thu, 25 Dec 2014 20:30:10 +0000 (21:30 +0100)]
avformat/cache: Use the correct io handle in seeking

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/cache: more informative error message
Michael Niedermayer [Thu, 25 Dec 2014 20:28:27 +0000 (21:28 +0100)]
avformat/cache: more informative error message

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/cache: remember EOF point if hit and use it to handle SEEK_END
Michael Niedermayer [Thu, 25 Dec 2014 20:27:04 +0000 (21:27 +0100)]
avformat/cache: remember EOF point if hit and use it to handle SEEK_END

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovdpau: add support for the H.264 High 4:4:4 Predictive profile
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:05 +0000 (19:15 +0200)]
vdpau: add support for the H.264 High 4:4:4 Predictive profile

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agoavconv_vdpau: allocate video surface of VDPAU-specified size
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:11 +0000 (19:15 +0200)]
avconv_vdpau: allocate video surface of VDPAU-specified size

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agovdpau: add support for 4:2:2 and 4:4:4 chroma sampling
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:10 +0000 (19:15 +0200)]
vdpau: add support for 4:2:2 and 4:4:4 chroma sampling

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agovdpau: add helper for surface chroma type and size
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:09 +0000 (19:15 +0200)]
vdpau: add helper for surface chroma type and size

Since the VDPAU pixel format does not distinguish between different
VDPAU video surface chroma types, we need another way to pass this
data to the application.

Originally VDPAU in libavcodec only supported decoding to 8-bits YUV
with 4:2:0 chroma sampling. Correspondingly, applications assumed that
libavcodec expected VDP_CHROMA_TYPE_420 video surfaces for output.
However some of the new HEVC profiles proposed for addition to VDPAU
would require different depth and/or sampling:
http://lists.freedesktop.org/archives/vdpau/2014-July/000167.html
...as would lossless AVC profiles:
http://lists.freedesktop.org/archives/vdpau/2014-November/000241.html

To preserve backward binary compatibility with existing applications,
a new av_vdpau_bind_context() flag is introduced in a further change.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agolibavcodec: add AV_HWACCEL_ALLOW_HIGH_DEPTH flag
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:08 +0000 (19:15 +0200)]
libavcodec: add AV_HWACCEL_ALLOW_HIGH_DEPTH flag

This can be used by the application to signal its ability to cope with
video surface of types other than 8-bits YUV 4:2:0.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agoavcodec: add AVCodecContext.sw_pix_fmt
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:07 +0000 (19:15 +0200)]
avcodec: add AVCodecContext.sw_pix_fmt

This carries the pixel format that would be used if it were not for
hardware acceleration. This is equal to AVCodecContext.pix_fmt if
hardware acceleration is not in use.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agoh264: factor hwaccel pixel formats list
Rémi Denis-Courmont [Fri, 19 Dec 2014 17:15:06 +0000 (19:15 +0200)]
h264: factor hwaccel pixel formats list

This is to avoid proliferation of similar tables in following changes.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agoavformat/cache: support non continuous caching
Michael Niedermayer [Thu, 25 Dec 2014 17:48:05 +0000 (18:48 +0100)]
avformat/cache: support non continuous caching

This allows using the cache protocol on top of seekable but slow protocols to
speed them up

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/nvenc: Remove special cases for cygwin
Timo Rothenpieler [Thu, 25 Dec 2014 13:55:31 +0000 (14:55 +0100)]
avcodec/nvenc: Remove special cases for cygwin

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/smoothstreamingenc: Use av_freep() avoid leaving stale pointers in memory
Michael Niedermayer [Thu, 25 Dec 2014 11:42:22 +0000 (12:42 +0100)]
avformat/smoothstreamingenc: Use av_freep() avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/wtvdec: Use av_freep() avoid leaving stale pointers in memory
Michael Niedermayer [Thu, 25 Dec 2014 11:41:36 +0000 (12:41 +0100)]
avformat/wtvdec: Use av_freep() avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/segment: Use av_freep() avoid leaving stale pointers in memory
Michael Niedermayer [Thu, 25 Dec 2014 11:38:20 +0000 (12:38 +0100)]
avformat/segment: Use av_freep() avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovf_scale: Use correct chroma positions for YUV420P
Kieran Kunhya [Wed, 24 Dec 2014 23:52:46 +0000 (23:52 +0000)]
vf_scale: Use correct chroma positions for YUV420P

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/vc1_mc: use the same reference as luma does in ff_vc1_mc_4mv_chroma()
Michael Niedermayer [Wed, 24 Dec 2014 21:47:38 +0000 (22:47 +0100)]
avcodec/vc1_mc: use the same reference as luma does in ff_vc1_mc_4mv_chroma()

Fixes Ticket3230

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_fspp: add missing inline asm guards
James Almer [Wed, 24 Dec 2014 18:44:06 +0000 (15:44 -0300)]
avfilter/vf_fspp: add missing inline asm guards

9 years agolavfi/mp: drop mp=fspp filter
Stefano Sabatini [Wed, 24 Dec 2014 15:19:29 +0000 (16:19 +0100)]
lavfi/mp: drop mp=fspp filter

It has been ported to libavfilter.

9 years agolavfi: port mp=fspp to a native libavfilter filter
Arwa Arif [Tue, 23 Dec 2014 16:54:37 +0000 (22:24 +0530)]
lavfi: port mp=fspp to a native libavfilter filter

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
9 years agoavfilter/showwaves: fix height range for cline mode
Clément Bœsch [Wed, 24 Dec 2014 14:11:44 +0000 (15:11 +0100)]
avfilter/showwaves: fix height range for cline mode

9 years agoavfilter/showwaves: use INT16_MAX instead of a self defined macro
Clément Bœsch [Wed, 24 Dec 2014 14:11:23 +0000 (15:11 +0100)]
avfilter/showwaves: use INT16_MAX instead of a self defined macro

9 years agoavformat/seek: move the cur variable into the loop
Michael Niedermayer [Wed, 24 Dec 2014 12:01:31 +0000 (13:01 +0100)]
avformat/seek: move the cur variable into the loop

This improves readability and makes it clear that the freed
value is not used after the end of an iteration

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtpdec_mpeg4: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Wed, 24 Dec 2014 12:01:10 +0000 (13:01 +0100)]
avformat/rtpdec_mpeg4: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtpproto: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Wed, 24 Dec 2014 12:00:34 +0000 (13:00 +0100)]
avformat/rtpproto: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/seek: use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Wed, 24 Dec 2014 12:00:03 +0000 (13:00 +0100)]
avformat/seek: use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agotableprint_vlc.h: Should not be checked by checkheaders.
Reimar Döffinger [Wed, 24 Dec 2014 11:56:00 +0000 (12:56 +0100)]
tableprint_vlc.h: Should not be checked by checkheaders.

Same as for tableprint.h.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoswscale/yuv2rgb: Fix width % 4 != 0 with bgr4_byte/rgb4_byte
Michael Niedermayer [Tue, 23 Dec 2014 23:33:21 +0000 (00:33 +0100)]
swscale/yuv2rgb: Fix width % 4 != 0 with bgr4_byte/rgb4_byte

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswscale/yuv2rgb: Fix width % 4 != 0 with bgr4/rgb4
Michael Niedermayer [Tue, 23 Dec 2014 23:32:53 +0000 (00:32 +0100)]
swscale/yuv2rgb: Fix width % 4 != 0 with bgr4/rgb4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswscale/yuv2rgb: fix width % 8 != 0 and rgb/bgr8 output
Michael Niedermayer [Tue, 23 Dec 2014 23:10:49 +0000 (00:10 +0100)]
swscale/yuv2rgb: fix width % 8 != 0 and rgb/bgr8 output

Fixes Ticket2570

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_uspp: use av_malloc_array()
Michael Niedermayer [Tue, 23 Dec 2014 21:52:56 +0000 (22:52 +0100)]
avfilter/vf_uspp: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/aea: reduce false positives in probing
Michael Niedermayer [Tue, 23 Dec 2014 17:41:53 +0000 (18:41 +0100)]
avformat/aea: reduce false positives in probing

Fixes probetest failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/avidec: optimize probe
Michael Niedermayer [Tue, 23 Dec 2014 15:32:26 +0000 (16:32 +0100)]
avformat/avidec: optimize probe

about 2x as fast

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtpdec: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Tue, 23 Dec 2014 14:35:07 +0000 (15:35 +0100)]
avformat/rtpdec: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtpdec_latm: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Tue, 23 Dec 2014 14:34:29 +0000 (15:34 +0100)]
avformat/rtpdec_latm: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtpdec_xiph: use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Tue, 23 Dec 2014 14:33:07 +0000 (15:33 +0100)]
avformat/rtpdec_xiph: use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodoc/faq: explain pkg-config basic setup.
Nicolas George [Tue, 23 Dec 2014 09:34:48 +0000 (10:34 +0100)]
doc/faq: explain pkg-config basic setup.

9 years agox86/vp9: remove duplicate function prototypes
James Almer [Tue, 23 Dec 2014 03:51:26 +0000 (00:51 -0300)]
x86/vp9: remove duplicate function prototypes

Fixes "redundant redeclaration" warnings.

Signed-off-by: James Almer <jamrial@gmail.com>
9 years agotools/probetest: support testing a single specified input format
Michael Niedermayer [Sun, 21 Dec 2014 19:20:29 +0000 (20:20 +0100)]
tools/probetest: support testing a single specified input format

This reduces the time the test takes significantly when only one
formats needs to be tested

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoframe_thread_encoder: use ref-counting to avoid memcpy of all input frames
Hendrik Leppkes [Mon, 22 Dec 2014 23:42:49 +0000 (00:42 +0100)]
frame_thread_encoder: use ref-counting to avoid memcpy of all input frames

Apparently uneeded lock/unlock removed by commiter

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/h264: also show frames with missing fields when CODEC_FLAG2_SHOW_ALL is set
Michael Niedermayer [Mon, 22 Dec 2014 20:17:49 +0000 (21:17 +0100)]
avcodec/h264: also show frames with missing fields when CODEC_FLAG2_SHOW_ALL is set

This allows viewing more of ticket2254

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agocdxl: fix duration
Piotr Bandurski [Mon, 17 Dec 2012 11:55:34 +0000 (12:55 +0100)]
cdxl: fix duration

fixes ticket #1937

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtmpproto: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Mon, 22 Dec 2014 10:52:22 +0000 (11:52 +0100)]
avformat/rtmpproto: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/riffdec: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Mon, 22 Dec 2014 10:51:55 +0000 (11:51 +0100)]
avformat/riffdec: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/os_support: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Mon, 22 Dec 2014 10:49:35 +0000 (11:49 +0100)]
avformat/os_support: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/img2dec: check w/h in dpx_probe
Michael Niedermayer [Sun, 21 Dec 2014 22:00:36 +0000 (23:00 +0100)]
avformat/img2dec: check w/h in dpx_probe

Fixes probetest failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/swfdec: Check frame size rectangle in probe()
Michael Niedermayer [Sun, 21 Dec 2014 19:50:59 +0000 (20:50 +0100)]
avformat/swfdec: Check frame size rectangle in probe()

fixes probetest failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/mpegtsenc: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Sun, 21 Dec 2014 18:24:32 +0000 (19:24 +0100)]
avformat/mpegtsenc: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/mpegenc: Use av_freep() to avoid leaving stale pointers in memory
Michael Niedermayer [Sun, 21 Dec 2014 18:24:11 +0000 (19:24 +0100)]
avformat/mpegenc: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_boxblur: Support 10bit planar formats
Michael Niedermayer [Sun, 21 Dec 2014 13:59:05 +0000 (14:59 +0100)]
avfilter/vf_boxblur: Support 10bit planar formats

9 years agoavfilter/vf_boxblur: add gbrp pixfmt
Michael Niedermayer [Sun, 21 Dec 2014 02:12:02 +0000 (03:12 +0100)]
avfilter/vf_boxblur: add gbrp pixfmt

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_spp: Fix overflow in 8bit store slice
Michael Niedermayer [Sun, 21 Dec 2014 00:45:55 +0000 (01:45 +0100)]
avfilter/vf_spp: Fix overflow in 8bit store slice

Fixes regression with
ffplay -f lavfi -i testsrc=640x480  -vf format=gray,boxblur=20:10,geq="'mod(lum(X,Y),16)*15'",boxblur=10,geq="'abs(mod(lum(X,Y),15)-7)*32'",spp=4:40

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_boxblur: avoid one addition per line
Michael Niedermayer [Sat, 20 Dec 2014 23:59:23 +0000 (00:59 +0100)]
avfilter/vf_boxblur: avoid one addition per line

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_boxblur: factor rounder offset out
Michael Niedermayer [Sat, 20 Dec 2014 23:54:36 +0000 (00:54 +0100)]
avfilter/vf_boxblur: factor rounder offset out

3322 -> 3204 cycles

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_spp: fix overflows with depth > 8
Michael Niedermayer [Sat, 20 Dec 2014 19:39:13 +0000 (20:39 +0100)]
avfilter/vf_spp: fix overflows with depth > 8

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '9cfa68c560bdec82d2d5ec079f9c5b0f9ca37af0'
Michael Niedermayer [Sat, 20 Dec 2014 18:08:39 +0000 (19:08 +0100)]
Merge commit '9cfa68c560bdec82d2d5ec079f9c5b0f9ca37af0'

* commit '9cfa68c560bdec82d2d5ec079f9c5b0f9ca37af0':
  mpegts: add support for Opus

Conflicts:
libavcodec/opus_parser.c
libavformat/mpegts.c

See: 74141f693ded2fbf75af56fff309d2db35183635
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_spp: add support for 9bit YUV and GBR as well as GBRP10
Michael Niedermayer [Sat, 20 Dec 2014 17:33:52 +0000 (18:33 +0100)]
avfilter/vf_spp: add support for 9bit YUV and GBR as well as GBRP10

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/idctdsp: use the 10bit code for 9 bit too
Michael Niedermayer [Sat, 20 Dec 2014 17:32:50 +0000 (18:32 +0100)]
avcodec/idctdsp: use the 10bit code for 9 bit too

9bit is currently not used

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/fdctdsp: use the 10bit code for 9 bit too
Michael Niedermayer [Sat, 20 Dec 2014 17:32:50 +0000 (18:32 +0100)]
avcodec/fdctdsp: use the 10bit code for 9 bit too

9bit is currently not used

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/mmst: Use av_freep() avoid leaving stale pointers in memory
Michael Niedermayer [Sat, 20 Dec 2014 15:54:25 +0000 (16:54 +0100)]
avformat/mmst: Use av_freep() avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/http: Use av_freep() avoid leaving stale pointers in memory
Michael Niedermayer [Sat, 20 Dec 2014 15:53:37 +0000 (16:53 +0100)]
avformat/http: Use av_freep() avoid leaving stale pointers in memory

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