platform/upstream/libav.git
10 years agoqtrle: use the AVFrame API properly.
Anton Khirnov [Sat, 9 Nov 2013 09:14:46 +0000 (10:14 +0100)]
qtrle: use the AVFrame API properly.

10 years agocljr: use the AVFrame API properly.
Anton Khirnov [Sat, 9 Nov 2013 09:14:46 +0000 (10:14 +0100)]
cljr: use the AVFrame API properly.

10 years agocinepak: use the AVFrame API properly.
Anton Khirnov [Sat, 9 Nov 2013 09:14:46 +0000 (10:14 +0100)]
cinepak: use the AVFrame API properly.

10 years agocdxl: remove an unused variable
Anton Khirnov [Sat, 9 Nov 2013 09:35:11 +0000 (10:35 +0100)]
cdxl: remove an unused variable

10 years agoc93: use the AVFrame API properly.
Anton Khirnov [Sat, 9 Nov 2013 09:14:46 +0000 (10:14 +0100)]
c93: use the AVFrame API properly.

10 years agobethsoftvid: use the AVFrame API properly.
Anton Khirnov [Sat, 9 Nov 2013 09:14:46 +0000 (10:14 +0100)]
bethsoftvid: use the AVFrame API properly.

10 years agoavs: use the AVFrame API properly.
Anton Khirnov [Sat, 9 Nov 2013 09:14:46 +0000 (10:14 +0100)]
avs: use the AVFrame API properly.

10 years agoasvenc: use the AVFrame API properly.
Anton Khirnov [Sat, 9 Nov 2013 09:14:46 +0000 (10:14 +0100)]
asvenc: use the AVFrame API properly.

10 years agoa64multienc: use the AVFrame API properly.
Anton Khirnov [Sat, 9 Nov 2013 09:14:46 +0000 (10:14 +0100)]
a64multienc: use the AVFrame API properly.

10 years agolavc: deprecate avcodec_alloc_frame().
Anton Khirnov [Sat, 9 Nov 2013 09:09:21 +0000 (10:09 +0100)]
lavc: deprecate avcodec_alloc_frame().

10 years agoReplace all instances of avcodec_alloc_frame() with av_frame_alloc().
Anton Khirnov [Sat, 9 Nov 2013 09:05:22 +0000 (10:05 +0100)]
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().

10 years agolavc: update coded_frame doxy.
Anton Khirnov [Mon, 4 Nov 2013 11:56:21 +0000 (12:56 +0100)]
lavc: update coded_frame doxy.

It is not used during decoding anymore.

10 years agolavc: deprecate CODEC_CAP_NEG_LINESIZES
Anton Khirnov [Mon, 4 Nov 2013 11:07:24 +0000 (12:07 +0100)]
lavc: deprecate CODEC_CAP_NEG_LINESIZES

It was never used in any codec since it was added 3 years ago.

10 years agolavc: VP9 decoder
Ronald S. Bultje [Tue, 1 Oct 2013 03:03:30 +0000 (23:03 -0400)]
lavc: VP9 decoder

Originally written by Ronald S. Bultje <rsbultje@gmail.com> and
Clément Bœsch <u@pkh.me>

Further contributions by:
Anton Khirnov <anton@khirnov.net>
Diego Biurrun <diego@biurrun.de>
Luca Barbato <lu_zero@gentoo.org>
Martin Storsjö <martin@martin.st>

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agolavc: Edge emulation with dst/src linesize
Ronald S. Bultje [Mon, 14 Oct 2013 01:13:10 +0000 (03:13 +0200)]
lavc: Edge emulation with dst/src linesize

Allow supporting files for which the image stride is smaller than
the maximum block size + number of subpel mc taps, e.g. a 64x64 VP9
file or a 16x16 VP8 file with -fflags +emu_edge.

10 years agodv: Split DV data table declarations into their own header
Diego Biurrun [Sun, 10 Nov 2013 17:05:39 +0000 (18:05 +0100)]
dv: Split DV data table declarations into their own header

This is necessary to avoid target config settings bleeding into the host
compilation process with hardcoded tables and the DV VLC tables no longer
present as static tables in a header file.

10 years agobuild: Allow specifying extra object files when linking HOSTPROGS
Diego Biurrun [Sun, 10 Nov 2013 21:19:07 +0000 (22:19 +0100)]
build: Allow specifying extra object files when linking HOSTPROGS

10 years agoh264: free the tables and uninitialize the context on flush
Anton Khirnov [Mon, 4 Nov 2013 16:59:25 +0000 (17:59 +0100)]
h264: free the tables and uninitialize the context on flush

Prevents referencing empty frames when the first packet after the flush
does not contain a frame.

10 years agolavf: improve support for AVC-Intra files.
Reimar Döffinger [Wed, 26 Sep 2012 10:13:53 +0000 (12:13 +0200)]
lavf: improve support for AVC-Intra files.

Generate extradata with SPS/PPS based on container dimensions.

Authors of this commit are: Reimar and Thomas Mundt

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agomxfdec: update current edit unit when seeking in mxf files without index tables
Marton Balint [Wed, 10 Apr 2013 23:09:40 +0000 (01:09 +0200)]
mxfdec: update current edit unit when seeking in mxf files without index tables

Fixes audio packet pts values in some files generated by AVID TRMG 3.01.

Signed-off-by: Marton Balint <cus@passwd.hu>
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agompeg12dec: Remove outdated UV swapping code for VCR2
Diego Biurrun [Wed, 13 Nov 2013 17:44:25 +0000 (18:44 +0100)]
mpeg12dec: Remove outdated UV swapping code for VCR2

10 years agotwinvq: consume block_align+1 packets as full ones
Kostya Shishkov [Sun, 20 Oct 2013 14:30:54 +0000 (16:30 +0200)]
twinvq: consume block_align+1 packets as full ones

They can be produced by VQF.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agotwinvq: support multiple frames per packet
Kostya Shishkov [Sun, 20 Oct 2013 14:15:03 +0000 (16:15 +0200)]
twinvq: support multiple frames per packet

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agometasound: add missing modes
Kostya Shishkov [Thu, 29 Aug 2013 17:24:23 +0000 (19:24 +0200)]
metasound: add missing modes

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agompeg12dec: Remove unused swap_uv member from Mpeg1Context
Diego Biurrun [Wed, 13 Nov 2013 17:44:24 +0000 (18:44 +0100)]
mpeg12dec: Remove unused swap_uv member from Mpeg1Context

10 years agoMove av_fast_{m,re}alloc from lavc to lavu.
Anton Khirnov [Sun, 27 Oct 2013 21:21:59 +0000 (22:21 +0100)]
Move av_fast_{m,re}alloc from lavc to lavu.

10 years agolavc: deprecate FF_MAX_B_FRAMES
Anton Khirnov [Sun, 27 Oct 2013 15:46:01 +0000 (16:46 +0100)]
lavc: deprecate FF_MAX_B_FRAMES

We should not arbitrarily decide the maximum B-frame number for all
encoders supported by Libav, each encoder should be able to set its own
limits.

10 years agolavc: move MB_TYPE_* macros from avcodec.h to mpegvideo.h
Anton Khirnov [Sun, 27 Oct 2013 15:35:32 +0000 (16:35 +0100)]
lavc: move MB_TYPE_* macros from avcodec.h to mpegvideo.h

They are mpegvideo-specific and not supposed to be used by callers.

10 years agolavc: schedule unused FF_QSCALE_TYPE_* for removal on next bump
Anton Khirnov [Sun, 27 Oct 2013 15:30:38 +0000 (16:30 +0100)]
lavc: schedule unused FF_QSCALE_TYPE_* for removal on next bump

10 years agolavc: make error_rate a private option of mpegvideo encoders
Anton Khirnov [Sun, 27 Oct 2013 12:51:16 +0000 (13:51 +0100)]
lavc: make error_rate a private option of mpegvideo encoders

10 years agovdpau: add a constructor for AVVDPAUContext.
Anton Khirnov [Sat, 2 Nov 2013 21:01:14 +0000 (22:01 +0100)]
vdpau: add a constructor for AVVDPAUContext.

We will likely want to add new fields to it in the future, so this is
needed to avoid breaking ABI.

10 years agovdpau: add a convenience function for getting a decoder profile.
Anton Khirnov [Fri, 1 Nov 2013 17:37:47 +0000 (18:37 +0100)]
vdpau: add a convenience function for getting a decoder profile.

Based on the code by Rémi Denis-Courmont <remi@remlab.net> from VLC.

10 years agoDeprecate obsolete XvMC hardware decoding support
Diego Biurrun [Tue, 5 Nov 2013 07:16:31 +0000 (08:16 +0100)]
Deprecate obsolete XvMC hardware decoding support

XvMC has long ago been superseded by newer acceleration APIs, such as
VDPAU, and few downstreams still support it. Furthermore XvMC is not
implemented within the hwaccel framework, but requires its own specific
code in the MPEG-1/2 decoder, which is a maintenance burden.

10 years agoRemove all Alpha architecture optimizations
Diego Biurrun [Wed, 13 Nov 2013 19:39:56 +0000 (20:39 +0100)]
Remove all Alpha architecture optimizations

Alpha has been end-of-lifed and no more test machines are available.

10 years agoconfigure: Check whether MSVC requires using the C89-to-C99 converter
Martin Storsjö [Mon, 4 Nov 2013 13:46:34 +0000 (15:46 +0200)]
configure: Check whether MSVC requires using the C89-to-C99 converter

MSVC does support enough of C99 to work without the converter since
the 2013 version. Try to detect which version of the compiler in
the path needs to run the C99 converter or not. When the converter
is omitted, compilation time is reduced quite drastically.

Prior to this, users could still use --cc="c99conv -noconv cl"
when running MSVC 2013 to achieve the same.

This checks the version number instead of doing a normal compile
test, since this check needs to be done earlier in configure, before
the normal compile test helpers are usable.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agompegaudioenc: Move some static tables to MpegAudioContext
Diego Biurrun [Mon, 4 Nov 2013 20:14:03 +0000 (21:14 +0100)]
mpegaudioenc: Move some static tables to MpegAudioContext

This reduces global state and the amount of globally visible tables.

10 years agompegaudioenc: Remove broken integer-only quantization code path
Diego Biurrun [Sat, 9 Nov 2013 13:17:16 +0000 (14:17 +0100)]
mpegaudioenc: Remove broken integer-only quantization code path

10 years agohwaccel: Simplify ff_find_hwaccel
Luca Barbato [Sat, 9 Nov 2013 16:07:34 +0000 (17:07 +0100)]
hwaccel: Simplify ff_find_hwaccel

It is always called by passing fields from an AVCodecContext.

10 years agoavienc: drop the vfr flag.
Anton Khirnov [Thu, 7 Nov 2013 21:02:00 +0000 (22:02 +0100)]
avienc: drop the vfr flag.

AVI does not really support vfr properly, only by padding with null
packets.

10 years agometasound: Fix error message argument
Kostya Shishkov [Fri, 8 Nov 2013 09:21:07 +0000 (10:21 +0100)]
metasound: Fix error message argument

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agoh263dsp: K&R formatting cosmetics
Diego Biurrun [Fri, 8 Nov 2013 02:06:09 +0000 (03:06 +0100)]
h263dsp: K&R formatting cosmetics

Also remove array element numbering comments.

10 years agodsputil: Split off H.263 bits into their own H263DSPContext
Diego Biurrun [Tue, 5 Nov 2013 07:11:47 +0000 (08:11 +0100)]
dsputil: Split off H.263 bits into their own H263DSPContext

11 years agoRemove #undefs for formerly forbidden system functions
Diego Biurrun [Wed, 6 Nov 2013 20:07:35 +0000 (21:07 +0100)]
Remove #undefs for formerly forbidden system functions

The macros forbidding the system functions no longer exist, obviating
the need for the #undefs.

11 years agoavfilter/graphparser: Directly free filter memory if initialization fails
Diego Biurrun [Wed, 6 Nov 2013 21:06:15 +0000 (22:06 +0100)]
avfilter/graphparser: Directly free filter memory if initialization fails

11 years agoconfigure: Move -Wno-maybe-uninitialized check into gcc section
Diego Biurrun [Sat, 2 Nov 2013 11:16:00 +0000 (12:16 +0100)]
configure: Move -Wno-maybe-uninitialized check into gcc section

As another example of bizarre compiler behavior clang groks the
-Wmaybe-uninitialized option, but not -Wno-maybe-uninitialized
and spews a warning for every file that gets compiled.

11 years agoavfilter/buffer: Suppress deprecation warning for avfilter_unref_buffer
Diego Biurrun [Mon, 4 Nov 2013 11:53:07 +0000 (12:53 +0100)]
avfilter/buffer: Suppress deprecation warning for avfilter_unref_buffer

The function is used in a block of code that is deprecated anyway.

11 years agograph2dot: Add missing #include for av_get_channel_layout_string()
Diego Biurrun [Mon, 4 Nov 2013 21:33:16 +0000 (22:33 +0100)]
graph2dot: Add missing #include for av_get_channel_layout_string()

11 years agograph2dot: Fix use of deprecated API
Diego Biurrun [Mon, 4 Nov 2013 16:35:38 +0000 (17:35 +0100)]
graph2dot: Fix use of deprecated API

11 years agovdpau: Add missing #includes to fix standalone header compilation
Diego Biurrun [Mon, 4 Nov 2013 17:16:46 +0000 (18:16 +0100)]
vdpau: Add missing #includes to fix standalone header compilation

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agox86: rv40dsp: Use PAVGB instruction macro where appropriate
Diego Biurrun [Sun, 3 Nov 2013 20:28:45 +0000 (21:28 +0100)]
x86: rv40dsp: Use PAVGB instruction macro where appropriate

11 years agoomadec: loosen format probing constraints
David Goldwich [Thu, 24 Oct 2013 13:24:26 +0000 (15:24 +0200)]
omadec: loosen format probing constraints

Imporoves detection of some files in the wild:

- ID3v2 a.k.a. "ea3" header is optional.
- Version and flags in ID3v2 header are unspecified.

Signed-off-by: David Goldwich <david.goldwich@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoomadec: check GEOB sizes against buffer size
Michael Niedermayer [Thu, 24 Oct 2013 13:24:25 +0000 (15:24 +0200)]
omadec: check GEOB sizes against buffer size

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: David Goldwich <david.goldwich@gmail.com>
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoomadec: Fix wrong number of array elements
Michael Niedermayer [Thu, 24 Oct 2013 13:24:24 +0000 (15:24 +0200)]
omadec: Fix wrong number of array elements

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: David Goldwich <david.goldwich@gmail.com>
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agofiltfmts-test: Fix use of deprecated API
Diego Biurrun [Mon, 4 Nov 2013 13:56:28 +0000 (13:56 +0000)]
filtfmts-test: Fix use of deprecated API

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years agohevc_ps: Use AV_PIX_FMT_YUVJ420P if YUV 4:2:0 8-bit full scale
Yusuke Nakamura [Sun, 3 Nov 2013 18:47:31 +0000 (18:47 +0000)]
hevc_ps: Use AV_PIX_FMT_YUVJ420P if YUV 4:2:0 8-bit full scale

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years agohevc: Use parsed VUI colorimetry in avcodec
Jan Ekström [Sun, 3 Nov 2013 19:45:02 +0000 (19:45 +0000)]
hevc: Use parsed VUI colorimetry in avcodec

Also limit the parsed VUI values to known valid ones.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years agolavc: Add colorimetry values for BT.2020, other non-included ones
Jan Ekström [Mon, 4 Nov 2013 10:28:39 +0000 (10:28 +0000)]
lavc: Add colorimetry values for BT.2020, other non-included ones

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years agovf_fieldorder: remove superfluous get_video_buffer
Vittorio Giovara [Mon, 4 Nov 2013 13:37:06 +0000 (14:37 +0100)]
vf_fieldorder: remove superfluous get_video_buffer

11 years agoaacdec: Set the profile during decoding
Gian-Carlo Pascutto [Sun, 3 Nov 2013 10:42:47 +0000 (12:42 +0200)]
aacdec: Set the profile during decoding

Previously the profile would not be set if the bitstream needs
to be decoded to know the profile.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agolavc: move AVCodecContext.pkt to AVCodecInternal
Anton Khirnov [Sun, 27 Oct 2013 12:12:53 +0000 (13:12 +0100)]
lavc: move AVCodecContext.pkt to AVCodecInternal

It's a private field, not meant to be accessed from outside lavc.

11 years agopthread: store thread contexts in AVCodecInternal instead of AVCodecContext
Anton Khirnov [Sun, 27 Oct 2013 12:00:37 +0000 (13:00 +0100)]
pthread: store thread contexts in AVCodecInternal instead of AVCodecContext

It's a private field, it should not be visible to callers.

Deprecate AVCodecContext.thread_opaque

11 years agopthread_slice: rename ThreadContext -> SliceThreadContext
Anton Khirnov [Sun, 27 Oct 2013 11:31:38 +0000 (12:31 +0100)]
pthread_slice: rename ThreadContext -> SliceThreadContext

This should prevent confusion with frame threading.

11 years agolavc: split slice and frame threading functions into separate files
Anton Khirnov [Sun, 27 Oct 2013 11:22:52 +0000 (12:22 +0100)]
lavc: split slice and frame threading functions into separate files

11 years agopthread: drop avcodec_ prefixes from static functions
Anton Khirnov [Sun, 27 Oct 2013 11:03:05 +0000 (12:03 +0100)]
pthread: drop avcodec_ prefixes from static functions

11 years agox86: hpeldsp: Use PAVGB instruction macro where necessary
Mikulas Patocka [Sun, 3 Nov 2013 19:37:11 +0000 (20:37 +0100)]
x86: hpeldsp: Use PAVGB instruction macro where necessary

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agobuild: Remove redundant OBJS declaration intended for programs
Diego Biurrun [Sat, 2 Nov 2013 14:53:43 +0000 (15:53 +0100)]
build: Remove redundant OBJS declaration intended for programs

11 years agortmpproto: Reorder conditions to help dead code elimination
Vittorio Giovara [Sun, 3 Nov 2013 09:50:00 +0000 (10:50 +0100)]
rtmpproto: Reorder conditions to help dead code elimination

This makes sure that these branches are eliminated properly
with clang with optimizations disabled.

11 years agoansi: fix possible use of uninitialized variables
Vittorio Giovara [Sun, 27 Oct 2013 17:14:02 +0000 (18:14 +0100)]
ansi: fix possible use of uninitialized variables

11 years agowtv: fix variable sign in format
Vittorio Giovara [Sun, 27 Oct 2013 17:05:19 +0000 (18:05 +0100)]
wtv: fix variable sign in format

11 years agoattributes: disable flatten on llvm/clang
Vittorio Giovara [Sat, 26 Oct 2013 23:45:18 +0000 (01:45 +0200)]
attributes: disable flatten on llvm/clang

11 years agovf_scale: make the dar variable return the DAR.
Rudolf Polzer [Sat, 2 Nov 2013 10:57:25 +0000 (11:57 +0100)]
vf_scale: make the dar variable return the DAR.

Before, it just returned width/height. Correct is width/height*sar.

That way it is consistent with DAR as in probe output and setdar.

Signed-off-by: Rudolf Polzer <divverent@xonotic.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agovf_aspect: support variables in evaluating the aspect ratios
Rudolf Polzer [Sat, 2 Nov 2013 10:57:24 +0000 (11:57 +0100)]
vf_aspect: support variables in evaluating the aspect ratios

Example: -vf setsar=sar="sar*9/10"

Signed-off-by: Rudolf Polzer <divverent@xonotic.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoos_support: Add #endif comments for better readability
Diego Biurrun [Sat, 2 Nov 2013 11:00:42 +0000 (12:00 +0100)]
os_support: Add #endif comments for better readability

11 years agompeg4video_parser: K&R formatting cosmetics
Vittorio Giovara [Mon, 28 Oct 2013 17:31:10 +0000 (18:31 +0100)]
mpeg4video_parser: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoAdd an HDS live fragmenting muxer
Martin Storsjö [Thu, 15 Aug 2013 13:06:52 +0000 (16:06 +0300)]
Add an HDS live fragmenting muxer

HDS fragments basically are FLV fragments wrapped in an ISO
media mdat atom.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agompeg4video: K&R formatting cosmetics
Vittorio Giovara [Mon, 28 Oct 2013 17:31:07 +0000 (18:31 +0100)]
mpeg4video: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoflashsv: K&R formatting cosmetics
Luca Barbato [Thu, 31 Oct 2013 09:27:02 +0000 (10:27 +0100)]
flashsv: K&R formatting cosmetics

Also improve some log message wording/spelling.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agox86: vp8dsp: Split loopfilter code into a separate file
Diego Biurrun [Tue, 29 Oct 2013 13:45:48 +0000 (14:45 +0100)]
x86: vp8dsp: Split loopfilter code into a separate file

11 years agoconfigure: Properly check for availability of -Wno-foo warning flags
Diego Biurrun [Thu, 31 Oct 2013 19:14:37 +0000 (20:14 +0100)]
configure: Properly check for availability of -Wno-foo warning flags

For some weird reason gcc does not check if the -Wno disabling variants
of warning flags match existing warning flags. Instead it swallows them
silently. That is, unless other warning or error messages are generated,
because then - for some even more bizarre reason - a complaint about the
unknown disable warning flag is issued along with the error or warning
message.

Thus to check for the availability of a warning disabling option, one
needs to check for the enabling variant instead and then add the
disabling variant to CFLAGS.

11 years agoconfigure: Split test_cflags function off from check_cflags
Diego Biurrun [Thu, 31 Oct 2013 18:48:59 +0000 (19:48 +0100)]
configure: Split test_cflags function off from check_cflags

This is useful to test flags without directly adding them to CFLAGS.

11 years agolavf: do not use int to store an int64
Anton Khirnov [Thu, 31 Oct 2013 21:40:33 +0000 (22:40 +0100)]
lavf: do not use int to store an int64

11 years agoflashsv: Check diff_start diff_height values
Michael Niedermayer [Tue, 20 Aug 2013 21:18:48 +0000 (23:18 +0200)]
flashsv: Check diff_start diff_height values

Fix out of array accesses.

Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoflashsv: Refactor a little
Luca Barbato [Tue, 29 Oct 2013 16:02:42 +0000 (17:02 +0100)]
flashsv: Refactor a little

11 years agortspenc: Make sure BYE packets are sent before TEARDOWN
Martin Storsjö [Wed, 30 Oct 2013 17:12:45 +0000 (19:12 +0200)]
rtspenc: Make sure BYE packets are sent before TEARDOWN

Also make sure the BYE packets are sent at all when using
TCP interleaved transport.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortpenc: Add a rtpflag option for sending BYE packets when finishing
Martin Storsjö [Wed, 30 Oct 2013 17:12:27 +0000 (19:12 +0200)]
rtpenc: Add a rtpflag option for sending BYE packets when finishing

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortpenc: Remove some superfluous parentheses
Martin Storsjö [Wed, 30 Oct 2013 17:11:29 +0000 (19:11 +0200)]
rtpenc: Remove some superfluous parentheses

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoaviobuf: Handle a NULL buffer in avio_close_dyn_buf
Martin Storsjö [Wed, 30 Oct 2013 17:09:30 +0000 (19:09 +0200)]
aviobuf: Handle a NULL buffer in avio_close_dyn_buf

This simplifies proper error handling in rtsp.c/rtspdec.c. When
broadcasting over RTSP in TCP mode, the AVIOContext is closed and
recreated for each sent packet, and if the recreation fails, we might
try to close a NULL buffer when freeing things at the end.

Previously, if recreating the buffer in rtspdec.c failed, this would
crash later due to trying to close a NULL buffer.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolavc: move FF_ASPECT_EXTENDED from avcodec.h to h263.h
Anton Khirnov [Sun, 27 Oct 2013 10:54:34 +0000 (11:54 +0100)]
lavc: move FF_ASPECT_EXTENDED from avcodec.h to h263.h

It's for internal use only.

11 years agolavc: deprecate unused FF_BUG_OLD_MSMPEG4
Anton Khirnov [Sun, 27 Oct 2013 10:42:05 +0000 (11:42 +0100)]
lavc: deprecate unused FF_BUG_OLD_MSMPEG4

11 years agolavc: schedule FF_BUG_AC_VLC for removal on the next major bump.
Anton Khirnov [Sun, 27 Oct 2013 10:35:55 +0000 (11:35 +0100)]
lavc: schedule FF_BUG_AC_VLC for removal on the next major bump.

It has been deprecated/unused for about 10 years.

11 years agolavc: deprecate FF_DEBUG_VIS_*
Anton Khirnov [Sun, 27 Oct 2013 10:28:51 +0000 (11:28 +0100)]
lavc: deprecate FF_DEBUG_VIS_*

Those flags have no effect since
37045e422903695e610cca6ecb753df643ab9380.

11 years agolavc: deprecate AVCodecContext.debug_mv
Anton Khirnov [Sun, 27 Oct 2013 10:26:17 +0000 (11:26 +0100)]
lavc: deprecate AVCodecContext.debug_mv

It has been unused since 37045e422903695e610cca6ecb753df643ab9380.

11 years agoavplay: drop -vismv option which does not do anything anymore
Anton Khirnov [Sun, 27 Oct 2013 10:22:56 +0000 (11:22 +0100)]
avplay: drop -vismv option which does not do anything anymore

11 years agolavc: deprecate FF_DEBUG_MV and remove all traces of its use
Anton Khirnov [Sun, 27 Oct 2013 10:19:52 +0000 (11:19 +0100)]
lavc: deprecate FF_DEBUG_MV and remove all traces of its use

It has not been actually used since
37045e422903695e610cca6ecb753df643ab9380, when the broken vismv code was
removed.

11 years agompegts: Support HEVC demuxing
Mickaël Raulet [Fri, 11 Oct 2013 19:43:58 +0000 (21:43 +0200)]
mpegts: Support HEVC demuxing

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agomatroskadec: Support HEVC demuxing
Yusuke Nakamura [Thu, 3 Oct 2013 05:34:53 +0000 (14:34 +0900)]
matroskadec: Support HEVC demuxing

11 years agomov: Support HEVC demuxing
Yusuke Nakamura [Thu, 3 Oct 2013 05:03:53 +0000 (14:03 +0900)]
mov: Support HEVC demuxing

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoAdd raw HEVC demuxer
Dirk Farin [Thu, 12 Sep 2013 07:14:45 +0000 (09:14 +0200)]
Add raw HEVC demuxer

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoFATE: Add HEVC tests
Guillaume Martres [Sun, 11 Aug 2013 10:53:01 +0000 (12:53 +0200)]
FATE: Add HEVC tests

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoAdd HEVC decoder
Guillaume Martres [Sun, 11 Aug 2013 07:02:07 +0000 (09:02 +0200)]
Add HEVC decoder

Initially written by Guillaume Martres <smarter@ubuntu.com> as a GSoC
project. Further contributions by the OpenHEVC project and other
developers, namely:

Mickaël Raulet <mraulet@insa-rennes.fr>
Seppo Tomperi <seppo.tomperi@vtt.fi>
Gildas Cocherel <gildas.cocherel@laposte.net>
Khaled Jerbi <khaled_jerbi@yahoo.fr>
Wassim Hamidouche <wassim.hamidouche@insa-rennes.fr>
Vittorio Giovara <vittorio.giovara@gmail.com>
Jan Ekström <jeebjp@gmail.com>
Anton Khirnov <anton@khirnov.net>
Martin Storsjö <martin@martin.st>
Luca Barbato <lu_zero@gentoo.org>
Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diego Biurrun <diego@biurrun.de>

Signed-off-by: Anton Khirnov <anton@khirnov.net>