Luca Barbato
bc54c2ae3c
libx264: add shortcut for the bluray compatibility option
...
As for intra-refresh it is just a commodity.
11 years ago
Timothy Gu
3217a706e2
libxvid: Reduce the size of an array
...
It is not possible to have a plugin[] array with 5 or more elements.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
1ccc2157ff
avcodec/libxvid: Partially check plugins array size with assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
412df0a52f
avcodec/libxvid: set lumi_aq for lumimasking
...
Simplifies check and should fix lumi+vari warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Ben Avison
c84ea750cf
mpegts: Make discard_pid() faster for single-program streams
...
When a stream contains a single program, there's no point in doing a
PID -> program lookup. Normally the one and only program isn't disabled,
so no packets should be discarded.
Before After
Mean StdDev Mean StdDev Change
discard_pid() 73.8 9.4 20.2 1.5 +264.8%
Overall 2300.8 28.0 2253.1 20.6 +2.1%
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Ben Avison
cabb168169
mpegts: Remove one memcpy per packet
...
This was being performed to ensure that a complete packet was held in
contiguous memory, prior to parsing the packet. However, the source buffer
is typically large enough that the packet was already contiguous, so it is
beneficial to return the packet by reference in most cases.
Before After
Mean StdDev Mean StdDev Change
memcpy 720.7 32.7 649.8 25.1 +10.9%
Overall 2372.7 46.1 2291.7 21.8 +3.5%
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Ben Avison
daf1e0d3de
avio: Add an internal function for reading without copying
...
As long as there is enough contiguous data in the avio buffer,
just return a pointer to it instead of copying it to the caller
provided buffer.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Diego Biurrun
22a154e436
build: Add missing img2.o dependency to apetag.o
11 years ago
Diego Biurrun
bea3d6f436
ismindex: Replace mkdir ifdeffery by os_support.h #include
...
os_support.h contains more precise workarounds for non-POSIX mkdir().
11 years ago
Rémi Denis-Courmont
f824535a4a
vdpau: deprecate bitstream buffers within the hardware context
...
The bitstream buffers are now private and freed by libavcodec. For
backward compatibility, the hold bitstream buffer pointer is left NULL
(applications were supposed to av_freep() it).
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Rémi Denis-Courmont
2852740e23
vdpau: store picture data in picture's rather than codec's context
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Rémi Denis-Courmont
549294fbbe
vdpau: deprecate VDPAU codec capability
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Rémi Denis-Courmont
a0ad5d0113
vdpau: deprecate old codec-specific pixel formats
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Rémi Denis-Courmont
578ea75a9e
vdpau: remove old-style decoders
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Anton Khirnov
488a0fa689
avconv: support -t as an input option.
...
It limits the duration of the data read from a given input.
11 years ago
Anton Khirnov
811bd07846
avconv: make input -ss accurate when transcoding
...
Insert (a)trim filters on the corresponding inputs, so the extra frames
are decoded and discarded.
11 years ago
Anton Khirnov
56ee3f9de7
avconv: distinguish between -ss 0 and -ss not being used
...
Using -ss 0 to drop frames with negative timestamps is a perfectly valid
use case.
11 years ago
Anton Khirnov
2e661f26f8
avconv: insert extra filters in the same way for both graph inputs and outputs
...
This will allow using the same code when one filter can be inserted both
on input and output.
11 years ago
Anton Khirnov
3799376dd3
lavfi/fifo: fix flushing when using request_samples
...
If any samples are still buffered when request_frame returns EOF, they
won't be returned currently.
11 years ago
Anton Khirnov
06cd4c5a68
avconv: fix usage of deprecated lavfi API
11 years ago
James Almer
1ca3902726
fate: Add vorbiscomment cover art test
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
22458ccbcc
avcodec/tta: use init_get_bits8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
89c3f5a907
avformat/takdec: use init_get_bits8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
263da1a8f7
avcodec/eatgq: use init_get_bits8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
5dff269998
avcodec/diracdec: use init_get_bits8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
6ed1aa4f85
avcodec/ra144dec: use init_get_bits8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
77e37c34cb
avformat/latmenc: use init_get_bits8()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
dd98d9d1ff
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
mxfenc: switch to av_reallocp_array() and check allocation errors
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d6c36fba0b
Merge commit 'a10c4ce24bd4a0dd557d5849aa53a0cc74677808'
...
* commit 'a10c4ce24bd4a0dd557d5849aa53a0cc74677808':
aac: Forward errors properly in aac_decode_frame_int
Conflicts:
libavcodec/aacdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
48af87819a
Merge commit '71953ebcf94fe4ef316cdad1f276089205dd1d65'
...
* commit '71953ebcf94fe4ef316cdad1f276089205dd1d65':
aac: Check init_get_bits return value
Conflicts:
libavcodec/aacdec.c
See: 73abc3a634
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
783c674da7
Merge commit '51fc88e7467169031b20b9983d80456b893a9fa3'
...
* commit '51fc88e7467169031b20b9983d80456b893a9fa3':
avconv: improve some variable names
Conflicts:
ffmpeg_filter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
46b3dbf9ca
Merge commit '77cc958f60f73963be4281d6e82ef81707e40c26'
...
* commit '77cc958f60f73963be4281d6e82ef81707e40c26':
lavfi: add const to the AVFilter parameter of avfilter_graph_create_filter()
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
c4f9a4cd2f
rdt: make const tables static const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
1787432b23
mp3dec: make const tables static const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
6bbcae2c16
avcodec/fft: Fix "warning: unused variable"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
62cf5c114a
avformat/matroskadec: make sipr_bit_rate static const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
612a5049d9
avserver: do not use a static string as a default for a string option
...
Fixes an invalid free.
Bug-id: 448
11 years ago
Alexandra Khirnova
7684a36113
mxfenc: switch to av_reallocp_array() and check allocation errors
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Luca Barbato
a10c4ce24b
aac: Forward errors properly in aac_decode_frame_int
...
Incidentally also remove a warning.
11 years ago
Luca Barbato
71953ebcf9
aac: Check init_get_bits return value
...
Some code paths can call it with invalid length.
CC: libav-stable@libav.org
11 years ago
Anton Khirnov
51fc88e746
avconv: improve some variable names
...
'filter' is too generic, since the functions in question deal with
several filters.
Also add const qualifiers to those variables.
11 years ago
Anton Khirnov
77cc958f60
lavfi: add const to the AVFilter parameter of avfilter_graph_create_filter()
...
This function should never modify the filter.
11 years ago
Nedeljko Babic
18d7074b4e
libavcodec: Implementation of 32 bit fixed point FFT
...
Iterative implementation of 32 bit fixed point split-radix FFT.
Max FFT that can be calculated currently is 2^12.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Andrey Utkin
27cc3e72f8
doc/muxers: Document use case of mpegts muxer option tables_version
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Timothy Gu
3415058541
vf_scale: add force_original_aspect_ratio
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
48188a5120
MAINTAINERS: order libavutil entries alphabetically
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
61af627d56
avfilter/graphparser: remove 256 char limit from create_filter()
...
Fixes Ticket2803
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
c0ef5d6c16
avdevice/vfwcap: make constant arrays static
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
8862ed7340
avdevice/dshow: make constant arrays static
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
f187390907
doc/examples/filtering_audio: make const arrays also static
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago