]> git.sesse.net Git - ffmpeg/log
ffmpeg
9 years agortpdec: fix issue with conversion from unsigned to signed
Gilles Chanteperdrix [Fri, 20 Feb 2015 06:14:53 +0000 (07:14 +0100)]
rtpdec: fix issue with conversion from unsigned to signed

When receiving an RTCP packet, the difference between the last RTCP
timestamp and the base timestamp may be negative. As these timestamps
are of the uint32_t type, the result becomes a large integer. Cast
the difference to int32_t to avoid this issue.

The result of this issue is very large start times for RTSP
streams, and difficulty to restart correctly after a pause.

Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Add a missing closing paren in a log message
Martin Storsjö [Fri, 20 Feb 2015 18:57:17 +0000 (20:57 +0200)]
rtpdec_h264: Add a missing closing paren in a log message

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agolibavresample: NEON optimized FIR audio resampling
Peter Meerwald [Thu, 19 Feb 2015 22:28:26 +0000 (23:28 +0100)]
libavresample: NEON optimized FIR audio resampling

modelled after aarch64 code

on Cortex-A8, s16 and s32 code is about 2x faster,
float code about 7x faster

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_hevc: Implement parsing of aggregated packets
Thomas Volkert [Fri, 13 Feb 2015 21:43:16 +0000 (22:43 +0100)]
rtpdec_hevc: Implement parsing of aggregated packets

With significant changes by Martin Storsjö, to use the shared
function instead of reimplementing it.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_hevc: Initialize variables to silence false positive compiler warnings
Martin Storsjö [Thu, 19 Feb 2015 20:26:40 +0000 (22:26 +0200)]
rtpdec_hevc: Initialize variables to silence false positive compiler warnings

For some reason, clang didn't warn about this prior to using the
shared function.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_hevc: Use a shared function for parsing parameter sets
Martin Storsjö [Thu, 19 Feb 2015 20:22:55 +0000 (22:22 +0200)]
rtpdec_hevc: Use a shared function for parsing parameter sets

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Make reusable functions non-static
Martin Storsjö [Thu, 19 Feb 2015 20:18:55 +0000 (22:18 +0200)]
rtpdec_h264: Make reusable functions non-static

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Fix nal type counting after refactoring
Martin Storsjö [Thu, 19 Feb 2015 20:12:21 +0000 (22:12 +0200)]
rtpdec_h264: Fix nal type counting after refactoring

This fixes builds with -DDEBUG after f0a874799.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Prepare h264_handle_packet_stap_a for sharing with hevc
Martin Storsjö [Thu, 19 Feb 2015 19:40:48 +0000 (21:40 +0200)]
rtpdec_h264: Prepare h264_handle_packet_stap_a for sharing with hevc

Add a parameter for skipping a number of bytes at the start of each nal.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Generalize parse_sprop_parameter_sets
Martin Storsjö [Thu, 19 Feb 2015 19:19:29 +0000 (21:19 +0200)]
rtpdec_h264: Generalize parse_sprop_parameter_sets

Don't write directly into an AVCodecContext, write into given
pointers.

Signed-off-by: Martin Storsjö <martin@martin.st>
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.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoh264: initialize H264Context.avctx in init_thread_copy
Anton Khirnov [Thu, 12 Feb 2015 12:06:49 +0000 (13:06 +0100)]
h264: initialize H264Context.avctx in init_thread_copy

This prevents using a wrong (first thread's) AVCodecContext if decoding
a frame in the first pass over all threads fails.

9 years agoh264: only ref cur_pic in update_thread_context if it is initialized
Anton Khirnov [Thu, 12 Feb 2015 11:26:58 +0000 (12:26 +0100)]
h264: only ref cur_pic in update_thread_context if it is initialized

It may be empty if the previous thread's decode call did not contain a
valid frame.

9 years agolibavcodec: Make use of av_clip functions
Peter Meerwald [Fri, 20 Feb 2015 00:35:35 +0000 (01:35 +0100)]
libavcodec: Make use of av_clip functions

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agolibavutil: Add ARM av_clip_intp2_arm
Peter Meerwald [Fri, 20 Feb 2015 00:35:34 +0000 (01:35 +0100)]
libavutil: Add ARM av_clip_intp2_arm

add ARM code for implementing av_clip_intp2 using the ssat instruction

on Cortex-A8, av_clip_intp2_arm() is faster than av_clip_intp2_c() and
the generic av_clip(), about -19%

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agolibavutil: Add av_clip_intp2
Peter Meerwald [Fri, 20 Feb 2015 00:35:33 +0000 (01:35 +0100)]
libavutil: Add av_clip_intp2

there already is a function, av_clip_uintp2() that clips a signed integer
to an unsigned power-of-two range, i.e. 0,2^p-1

this patch adds a function av_clip_intp2() that clips a signed integer
to a signed power-of-two range, i.e. -(2^p),(2^p-1)

the new function can be used as a special case for av_clip(), e.g.
av_clip(x, -8192, 8191) can be rewritten as av_clip_intp2(x, 13)

there are ARM instructions, usat and ssat resp., which map nicely to these
functions (see next patch)

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agohlsenc: write playlist into a temp file and replace the original atomically
Hendrik Leppkes [Fri, 20 Feb 2015 11:54:58 +0000 (12:54 +0100)]
hlsenc: write playlist into a temp file and replace the original atomically

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agohlsenc: remove the AVIOContext for the playlist from the muxer context
Hendrik Leppkes [Fri, 20 Feb 2015 11:54:57 +0000 (12:54 +0100)]
hlsenc: remove the AVIOContext for the playlist from the muxer context

Its only used in one function, having it in the context serves no purpose.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agolibavcodec: Don't use av_cold annotation in twinvq header file
Peter Meerwald [Thu, 19 Feb 2015 22:28:28 +0000 (23:28 +0100)]
libavcodec: Don't use av_cold annotation in twinvq header file

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agolibavresample: Annotate AARCH64 init function with av_cold
Peter Meerwald [Thu, 19 Feb 2015 22:28:27 +0000 (23:28 +0100)]
libavresample: Annotate AARCH64 init function with av_cold

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Move a leftover comment into h264_handle_packet_stap_a
Martin Storsjö [Thu, 19 Feb 2015 19:49:18 +0000 (21:49 +0200)]
rtpdec_h264: Move a leftover comment into h264_handle_packet_stap_a

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Remove an unnecessary check
Martin Storsjö [Thu, 19 Feb 2015 19:28:58 +0000 (21:28 +0200)]
rtpdec_h264: Remove an unnecessary check

If src_len is too small for nal_size, we already print a warning
above, and the next step is to check the while loop condition
anyway, so this one serves no purpose.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Return immediately on errors in h264_handle_packet_stap_a
Martin Storsjö [Thu, 19 Feb 2015 19:28:01 +0000 (21:28 +0200)]
rtpdec_h264: Return immediately on errors in h264_handle_packet_stap_a

Previously, errors were only logged but the code kept on trying,
and never actually returning the error as a return value.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Make a parameter pointer const
Martin Storsjö [Thu, 19 Feb 2015 19:14:05 +0000 (21:14 +0200)]
rtpdec_h264: Make a parameter pointer const

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Use av_realloc instead of av_malloc+mempcy
Martin Storsjö [Thu, 19 Feb 2015 19:12:06 +0000 (21:12 +0200)]
rtpdec_h264: Use av_realloc instead of av_malloc+mempcy

This is similar to what was done for rtpdec_hevc in ced7238cd01.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_h264: Include the right header for AV_RB16
Martin Storsjö [Thu, 19 Feb 2015 19:04:45 +0000 (21:04 +0200)]
rtpdec_h264: Include the right header for AV_RB16

Including libavcodec/get_bits.h is superfluous for AV_RB16 - nothing
in this file uses any actual bitstream reader.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec_vp8: Set the keyframe flag
Martin Storsjö [Fri, 20 Feb 2015 14:17:44 +0000 (16:17 +0200)]
rtpdec_vp8: Set the keyframe flag

This allows the output to be used with stream copy, which discards
packet from the start until the first keyframe.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agofate: Add tests for DSS
Vittorio Giovara [Fri, 13 Feb 2015 07:36:18 +0000 (08:36 +0100)]
fate: Add tests for DSS

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
9 years agolavf: Add DSS demuxer
Oleksij Rempel [Fri, 13 Feb 2015 07:36:17 +0000 (08:36 +0100)]
lavf: Add DSS demuxer

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agolavc: Add DSS SP decoder
Oleksij Rempel [Fri, 13 Feb 2015 07:36:16 +0000 (08:36 +0100)]
lavc: Add DSS SP decoder

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agoqsv_api: fix building with libmfx disabled
Anton Khirnov [Thu, 19 Feb 2015 16:35:34 +0000 (17:35 +0100)]
qsv_api: fix building with libmfx disabled

9 years agoconfigure: add missing h264_qsv hwaccel deps
Anton Khirnov [Thu, 19 Feb 2015 16:32:55 +0000 (17:32 +0100)]
configure: add missing h264_qsv hwaccel deps

9 years agolavc: add an Intel libmfx-based H.264 decoder
Anton Khirnov [Tue, 10 Feb 2015 09:40:59 +0000 (10:40 +0100)]
lavc: add an Intel libmfx-based H.264 decoder

Based on the code by Luca Barbato <lu_zero@gentoo.org> and Yukinori
Yamazoe <drocon11@gmail.com>.

9 years agoh264_parser: export video format and dimensions
Anton Khirnov [Mon, 9 Feb 2015 13:41:50 +0000 (14:41 +0100)]
h264_parser: export video format and dimensions

9 years agopixfmt: add a pixel format for QSV hwaccel
Anton Khirnov [Sat, 7 Feb 2015 11:14:45 +0000 (12:14 +0100)]
pixfmt: add a pixel format for QSV hwaccel

9 years agorv40: Return more meaningful error codes
Himangi Saraogi [Thu, 19 Feb 2015 07:14:19 +0000 (12:44 +0530)]
rv40: Return more meaningful error codes

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agolibx265: Add crf private option
Derek Buitenhuis [Tue, 17 Feb 2015 22:04:53 +0000 (17:04 -0500)]
libx265: Add crf private option

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years agolibx265: Reduce the scope of some variables
Derek Buitenhuis [Tue, 17 Feb 2015 22:04:51 +0000 (17:04 -0500)]
libx265: Reduce the scope of some variables

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years agoriff: Support QT RLE Animation in avi ('rle ' FourCC)
Vittorio Giovara [Thu, 12 Feb 2015 16:04:58 +0000 (11:04 -0500)]
riff: Support QT RLE Animation in avi ('rle ' FourCC)

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agoriff: Support ProRes in avi (APCH fourcc)
Vittorio Giovara [Tue, 10 Feb 2015 19:33:24 +0000 (14:33 -0500)]
riff: Support ProRes in avi (APCH fourcc)

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agowmv2: Return meaningful error codes
Himangi Saraogi [Sun, 15 Feb 2015 23:41:08 +0000 (05:11 +0530)]
wmv2: Return meaningful error codes

9 years agoqdm2: Return meaningful error codes
Himangi Saraogi [Sun, 15 Feb 2015 23:58:45 +0000 (05:28 +0530)]
qdm2: Return meaningful error codes

9 years agolibxvid: Return meaningful error messages
Himangi Saraogi [Tue, 10 Feb 2015 18:57:35 +0000 (00:27 +0530)]
libxvid: Return meaningful error messages

9 years agoaac_adtstoasc_bsf: Check extradata memory allocation
Himangi Saraogi [Tue, 10 Feb 2015 22:07:40 +0000 (03:37 +0530)]
aac_adtstoasc_bsf: Check extradata memory allocation

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agoavpacket: Check buffer reference
Vittorio Giovara [Mon, 2 Feb 2015 19:53:51 +0000 (20:53 +0100)]
avpacket: Check buffer reference

CC: libav-stable@libav.org
Bug-Id: CID 1267889

9 years agovorbisdec: Check memory allocations
Vittorio Giovara [Mon, 2 Feb 2015 00:57:15 +0000 (01:57 +0100)]
vorbisdec: Check memory allocations

9 years agodvdsubdec: Check memory allocations
Vittorio Giovara [Mon, 2 Feb 2015 00:57:14 +0000 (01:57 +0100)]
dvdsubdec: Check memory allocations

9 years agoswscale: Check memory allocations
Federico Tomassetti [Sun, 15 Feb 2015 19:44:51 +0000 (19:44 +0000)]
swscale: Check memory allocations

CC: libav-stable@libav.org
Bug-Id: CID 1267888 / CID 1267890
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agonutdec: Check memory allocations
Hugo Beauzée-Luyssen [Sun, 1 Feb 2015 18:19:47 +0000 (19:19 +0100)]
nutdec: Check memory allocations

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agomovenc: Check memory allocations
Hugo Beauzée-Luyssen [Sun, 1 Feb 2015 18:19:45 +0000 (19:19 +0100)]
movenc: Check memory allocations

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agormdec: Check memory allocations from ff_rm_alloc_rmstream()
Hugo Beauzée-Luyssen [Sun, 1 Feb 2015 18:19:46 +0000 (19:19 +0100)]
rmdec: Check memory allocations from ff_rm_alloc_rmstream()

Bug-Id: CID 1257835

9 years agodct-test: Fix initialization syntax
Vittorio Giovara [Fri, 6 Feb 2015 18:38:44 +0000 (18:38 +0000)]
dct-test: Fix initialization syntax

Related to "warning: suggest braces around initialization of subobject".

9 years agolavf: Document the codec context initialization
Vittorio Giovara [Thu, 4 Dec 2014 19:09:40 +0000 (19:09 +0000)]
lavf: Document the codec context initialization

During remuxing avcodec_copy_context() is discouraged as certain fields
(such as codec_tag) could reflect invalid values between input and
output contextes.

9 years agolavc: Document interaction between avcodec_open2() and decoding routines
Vittorio Giovara [Thu, 4 Dec 2014 19:56:38 +0000 (19:56 +0000)]
lavc: Document interaction between avcodec_open2() and decoding routines

9 years agoavplay: Check format allocation inside decode_thread()
Vittorio Giovara [Wed, 4 Feb 2015 14:21:01 +0000 (14:21 +0000)]
avplay: Check format allocation inside decode_thread()

CC: libav-stable@libav.org
Bug-Id: CID 1265718

9 years agoavplay: Check frame allocation inside video_thread()
Vittorio Giovara [Wed, 4 Feb 2015 14:20:59 +0000 (14:20 +0000)]
avplay: Check frame allocation inside video_thread()

CC: libav-stable@libav.org
Bug-Id: CID 1267893

9 years agoavconv: Check rc_override memory allocation
Vittorio Giovara [Wed, 4 Feb 2015 14:21:00 +0000 (14:21 +0000)]
avconv: Check rc_override memory allocation

CC: libav-stable@libav.org
Bug-Id: CID 1265719

9 years agographparser: Check av_get_token() memory error
Vittorio Giovara [Wed, 4 Feb 2015 14:20:58 +0000 (14:20 +0000)]
graphparser: Check av_get_token() memory error

CC: libav-stable@libav.org
Bug-Id: CID 1267891

9 years agomatroskaenc: Validate chapter start and end times
Vittorio Giovara [Tue, 3 Feb 2015 15:40:34 +0000 (15:40 +0000)]
matroskaenc: Validate chapter start and end times

CC: libav-stable@libav.org
Bug-Id: CID 1265717

9 years agodca: Remove separate header for DCA ExSS
Diego Biurrun [Mon, 16 Feb 2015 09:43:07 +0000 (10:43 +0100)]
dca: Remove separate header for DCA ExSS

There is no point in having a separate header for a single declaration.

9 years agobktr: Use av_strerror and propagate error codes
Himangi Saraogi [Tue, 10 Feb 2015 14:06:51 +0000 (19:36 +0530)]
bktr: Use av_strerror and propagate error codes

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agodca: Move data tables from a header to an object file
Diego Biurrun [Sun, 15 Feb 2015 19:03:03 +0000 (20:03 +0100)]
dca: Move data tables from a header to an object file

This allows sharing them with the DCA XLL extension w/o duplication.

9 years agodca: Add array sizes to array declarations
Diego Biurrun [Sun, 15 Feb 2015 19:03:02 +0000 (20:03 +0100)]
dca: Add array sizes to array declarations

9 years agog722: Add ARM NEON implementation for g722_apply_qmf()
Peter Meerwald [Sun, 15 Feb 2015 11:21:25 +0000 (12:21 +0100)]
g722: Add ARM NEON implementation for g722_apply_qmf()

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agog722: Split out computation of band->s_zero and unroll code
Peter Meerwald [Sun, 15 Feb 2015 11:21:24 +0000 (12:21 +0100)]
g722: Split out computation of band->s_zero and unroll code

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agog722: Unroll g722_apply_qmf()
Peter Meerwald [Sun, 15 Feb 2015 11:21:23 +0000 (12:21 +0100)]
g722: Unroll g722_apply_qmf()

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agog722: Reduce number of pointers passed to g722_apply_qmf() function
Peter Meerwald [Sun, 15 Feb 2015 11:21:22 +0000 (12:21 +0100)]
g722: Reduce number of pointers passed to g722_apply_qmf() function

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agog722: Split out g722_qmf_apply() function into g722dsp.c
Peter Meerwald [Sun, 15 Feb 2015 11:21:21 +0000 (12:21 +0100)]
g722: Split out g722_qmf_apply() function into g722dsp.c

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agomov: Change DTS-based seek into CTS-based seek.
Yusuke Nakamura [Tue, 27 Jan 2015 10:15:37 +0000 (19:15 +0900)]
mov: Change DTS-based seek into CTS-based seek.

CTS-based seek is reasonable since player requests frames in output order
not coded order.

This change fixes seek to a keyframe within consecutive keyframes.
Let's say P[0|-1] and P[1|0], here x and y inside [x|y] are PTS and DTS
respectively, and both two frames are a keyframe. If you try to seek on
PTS=0, i.e. P[0|-1], you'll get P[1|0] if the demuxer is DTS based. This
is obviously undesirable.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoxcbgrab: Use the correct geometry for the region highlight
Daniel Moran [Wed, 4 Feb 2015 03:57:49 +0000 (22:57 -0500)]
xcbgrab: Use the correct geometry for the region highlight

The feature is implemented using a transparent window and drawing
inside it a rectangle filling the whole window to highlight it.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agoape: Use the proper variable type
Luca Barbato [Sat, 14 Feb 2015 15:15:37 +0000 (16:15 +0100)]
ape: Use the proper variable type

Avoid an unsigned underflow.

Bug-Id: 1041122
CC: libav-stable@libav.org
9 years agoogg: check memory allocations
Federico Tomassetti [Sat, 14 Feb 2015 16:14:51 +0000 (16:14 +0000)]
ogg: check memory allocations

Bug-Id: CID 1257795
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agortp: h264: Drop the asserts
Luca Barbato [Sat, 14 Feb 2015 00:45:31 +0000 (01:45 +0100)]
rtp: h264: Drop the asserts

9 years agortp: h264: Move FU-A NAL parsing to a function
Luca Barbato [Fri, 13 Feb 2015 22:38:14 +0000 (23:38 +0100)]
rtp: h264: Move FU-A NAL parsing to a function

9 years agortp: h264: Move STAP-A NAL parsing to a function
Luca Barbato [Fri, 13 Feb 2015 22:38:14 +0000 (23:38 +0100)]
rtp: h264: Move STAP-A NAL parsing to a function

9 years agortp: h264: Move parse_sprop_parameter_sets parsing to a function
Luca Barbato [Fri, 13 Feb 2015 22:38:14 +0000 (23:38 +0100)]
rtp: h264: Move parse_sprop_parameter_sets parsing to a function

9 years agortp: h264: Move profile_level_id parsing to a function
Luca Barbato [Fri, 13 Feb 2015 22:38:14 +0000 (23:38 +0100)]
rtp: h264: Move profile_level_id parsing to a function

9 years agoxcbgrab: Correctly make shm optional
Luca Barbato [Tue, 25 Nov 2014 22:38:43 +0000 (23:38 +0100)]
xcbgrab: Correctly make shm optional

The segment field in the struct has to be conditionally build
as well.

9 years agoxcbgrab: Check for xcb-shape
Luca Barbato [Tue, 25 Nov 2014 22:38:17 +0000 (23:38 +0100)]
xcbgrab: Check for xcb-shape

It is required.

9 years agoFATE: add a test for the SVQ1 header byte swapping
Anton Khirnov [Thu, 12 Feb 2015 20:00:04 +0000 (21:00 +0100)]
FATE: add a test for the SVQ1 header byte swapping

9 years agochangelog: mention DXVA/HEVC and AAC ELD480
Anton Khirnov [Thu, 12 Feb 2015 20:10:19 +0000 (21:10 +0100)]
changelog: mention DXVA/HEVC and AAC ELD480

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 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 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 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 agolavf: remove unused code
wm4 [Fri, 6 Feb 2015 13:53:39 +0000 (14:53 +0100)]
lavf: remove unused code

Nothing uses it, and it provides no public API.

Archeological finds:

Commit 101036adb9 added the API.
Commit a8dd8dc6e9 made mpegts.c use it.
Commit af8aae3fa3 disabled it by default in mpegts.c.
Commit ae2bb52cd2 removed all uses of this from mpegts.c.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agoframe: clarify buf documentation
Anton Khirnov [Fri, 14 Nov 2014 10:41:15 +0000 (11:41 +0100)]
frame: clarify buf documentation

Mention explicitly that the array must be filled contiguously.

9 years agooma: Report a timestamp
Luca Barbato [Thu, 29 Jan 2015 00:17:43 +0000 (01:17 +0100)]
oma: Report a timestamp

Reported-By: jb@videolan.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agodxva2_hevc: properly fill the scaling list structure
Hendrik Leppkes [Tue, 3 Feb 2015 21:39:45 +0000 (22:39 +0100)]
dxva2_hevc: properly fill the scaling list structure

The scaling list can be specified in either the SPS or PPS.
Additionally, compensate for the diagonal scan permutation applied
in the decoder.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agofate: Add a test for AAC ELD480.
Alex Converse [Wed, 28 Jan 2015 01:54:03 +0000 (17:54 -0800)]
fate: Add a test for AAC ELD480.

The source is er_eld_2100np_48_ep0.mp4 from the official test set.