Aneesh Dogra
db7d45237a
bytestream: Add bytestream2 writing API.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Paul B Mahol
6ba2505a0e
utvideo: remove ff_thread_finish_setup, it isn't needed at all
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
787528b4a6
Detect theora keyframes by content in Ogg demuxer.
...
A lot of files do not mark keyframes correctly via
granule, so detect keyframe or not based on data
and complain if it mismatches.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Paul B Mahol
6833fe4342
ffv1: PIX_FMT_GRAY16 support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Javier Cabezas
d4385299d3
DNxHD: remove ff_thread_finish_setup, it isn't needed at all.
...
Should fix issue #938
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
f491f033f5
ffmpeg: document the unit for the -fs option parameter
13 years ago
Stefano Sabatini
b7d45d0b0f
lavfi: add setfield filter
13 years ago
Stefano Sabatini
e8a06b1486
lavf/4xm: use proper error codes
13 years ago
Paul B Mahol
d016d3074c
Revert "v210enc: use FFALIGN()"
...
FFALIGN doesn't work with non-powers-of-2.
This reverts commit 7ad1b612c8
.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Diego Biurrun
32f3c541bc
doxygen: Do not include license boilerplates in Doxygen comment blocks.
13 years ago
Justin Ruggles
ec1f3cab20
avplay: reset decoder flush state when seeking
...
Fixes seeking after decoder has already been flushed for codecs using
CODEC_CAP_DELAY.
13 years ago
Justin Ruggles
f1c3d4a68a
ape: skip packets with invalid size
13 years ago
Justin Ruggles
ac3f8d317c
ape: calculate final packet size instead of guessing
...
Calculates based on total file size and wavetaillength from the header.
Falls back to multiplying finalframeblocks by 8 instead of 4 so that it will
at least be overestimating for 24-bit. Currently it can underestimate the
final packet size, leading to decoding errors.
13 years ago
Justin Ruggles
c2c316158f
ape: stop reading after the last frame has been read
...
This avoids buffer overread when the last packet size estimate is too small.
13 years ago
Justin Ruggles
66f7be3603
ape: return AVERROR_EOF instead of AVERROR(EIO) when demuxing is finished
13 years ago
Justin Ruggles
1bc035bc03
ape: return error if seeking to the current packet fails in ape_read_packet()
13 years ago
Kieran Kunhya
9814974d2e
avcodec: Clarify AVFrame member documentation.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Stefano Sabatini
2cbe9121ac
doc/filters.texi: use multiple @example blocks for distinct examples in setdar docs
13 years ago
Stefano Sabatini
23534d0c4c
doc/filters.texi: prefer @example over the unsupported @math for showing equation
13 years ago
Stefano Sabatini
3fa9ace3d8
doc/filters.texi: merge setdar and setsar documentation
...
Most of the documentation is common to both filters, and I'm going to add
more shared docs. Factorize.
13 years ago
Stefano Sabatini
70ffda3217
lavu: introduce av_parse_ratio() and use it in ffmpeg and lavfi/aspect
...
Factorize code and provide ratio parsing consistency.
13 years ago
Stefano Sabatini
1ca0812d90
ffprobe: fix typo in ESCAPE_CHECK_SIZE
13 years ago
Paul B Mahol
3cc0353f8d
v210dec: check for coded_frame allocation failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Paul B Mahol
986c1c483b
v210enc: use stride as it is already calculated
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Paul B Mahol
7ad1b612c8
v210enc: use FFALIGN()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Paul B Mahol
b5f50da593
v210enc: return proper AVERROR codes instead of -1
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Paul B Mahol
66fa2a1fb3
v210enc: do not set coded_frame->key_frame
...
It is already set in avcodec_alloc_frame().
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Paul B Mahol
d73466f841
v210enc: check for coded_frame allocation failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Andrey Utkin
e496c45d9b
drawtext: add 'fix_bounds' option on coords fixing
...
Before, drawtext filter deliberately altered given text coordinates if
text didn't fully fit on the picture. This breaks the use case of
scrolling large text, e.g. movie closing credits.
Add 'fix_bounds', to make it usable in such cases (by setting its value to 0).
Default behavior is not changed, and non-fitting text coords are fixed.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Andrey Utkin
2b43dfce36
drawtext: fix text_{w, h} expression vars
...
Before, {text_,}{w,h} vars hadn't got initialized
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Michael Niedermayer
e81e0b9991
cache: fix "warning: passing argument 2 of ‘av_tempfile’ from incompatible pointer type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8d756c0d55
fix "warning: variable ‘cflags’ set but not used"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6679271700
avio: Fix "warning: initialization from incompatible pointer type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
ef511d8a35
changelog: fix typo
13 years ago
Paul B Mahol
b8d78175d2
v408: do not unconditionally compile codecs
13 years ago
Carl Eugen Hoyos
bb9c8d9439
Add v408 / AYUV encoder and decoder.
...
Fixes last part of ticket #470 .
Reviewed-by: Paul B Mahol
13 years ago
Carl Eugen Hoyos
5fa1a1d8fc
Support YV12 from video4linux2 devices.
...
Reviewed-by: Luca Abeni
13 years ago
Carl Eugen Hoyos
42ae83c196
Allow muxing VP6A into flv.
...
Reviewed-by: James Zern
13 years ago
Reimar Döffinger
8162c6f0bd
oggdec: add missing ogg_reset on seek.
...
It would never be called when the searched-for position
was already in the index.
In the other cases, the ogg_reset at the end of the
read_timestamp function handled it.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
1b0dc96fc9
oggdec: fix keyframe seeking when granule_is_start is 0.
...
In this case, the pts values will be delayed by one, but
at the same time pts values might only be supplied for e.g.
keyframes.
This results on only the frame after the keyframe having a
pts value.
As a hack, make read_timestamp return the keyframe position
together with the pts from a following frame when seeking
to a keyframe.
Fixes trac issue #438 .
However it causes the read_timestamp function to return a
pos value that is actually before the packet with the
indicated pts.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Andrey Utkin
e7f0bc8c0f
drawtext: add missing braces around an if() block.
...
Prevents uninitialized read.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Michael Niedermayer
982783ac49
ffmpeg: document avi special case
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bfb5ba8495
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
ape: fix seeking
apedec: 8bit and 24bit support
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7e850f1cd0
dwt: fix about a dozen "warning: assignment from incompatible pointer type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2453ca4931
dwt: fix a dozen or so "warning: initialization from incompatible pointer type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
861aa9e7c2
mpegaudiodec: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
86b57e4efe
ape: fix seeking
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Michael Niedermayer
d3f912c1f0
adler32: add comment for the SIMD code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
26585d2a7f
adler32: rewrite using integer SIMD.
...
about twice as fast as before.
the not CONFIG_SMALL case is also droped as it is not faster than the
CONFIG_SMALL case.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
5b0103590c
Remove warning about Ogg skeleton v4.
...
We can handle v4 just fine, the parts we currently use
are the same for v3 and v4.
v4 can in addition contain an index which we so far do
not use though.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago