Michael Niedermayer
67d441499a
seeking: Favor pkt->pos for generic index building where possible.
...
See [FFmpeg-devel] [PATCH] Only using st->parser->pos when doing?repacking in the parser.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-10 03:28:42 +02:00
Michael Niedermayer
ca87d43906
configure: Revert sdl hunk of 4fa18c56
. This breaks OSX
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-10 03:22:04 +02:00
Michael Niedermayer
08675bb399
mem: Choose alignment at compile time depending on AVX enabledness.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-10 03:15:42 +02:00
Michael Niedermayer
53789a27f8
swscale: use Nbit code to handle !is16BPS(c->srcFormat) && is16BPS(c->dstFormat)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-10 00:37:20 +02:00
Michael Niedermayer
42c9bd313f
swscale: Support dither in is16BPS(c->srcFormat) && !is16BPS(c->dstFormat)
...
This is done by just letting the Nbit code handle it, which now can do it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-10 00:21:18 +02:00
Michael Niedermayer
c4f7050bb1
swscale: support unscaled planar Nbit->8bit with non native endian source.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-10 00:18:27 +02:00
Michael Niedermayer
09ff3cc77b
swscale: fix unscaled yuv422p16be -> yuv422p10le
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-10 00:15:03 +02:00
Michael Niedermayer
eb8aa13b54
swscale: make DITHER_COPY() support non native endian source
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-10 00:09:10 +02:00
Michael Niedermayer
9c49ca0f19
swscale: factor shift out of DITHER_COPY().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 22:02:44 +02:00
Michael Niedermayer
300e497b5f
swscale: factorize DITHER_COPY()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 21:38:46 +02:00
Michael Niedermayer
1735440773
fifo: use av_freep()
...
With this change libavutil uses av_freep() everywhere where it makes sense.
Remaining av_free() use in it has the used pointer become inaccessible quickly
soo zeroing makes no sense.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 21:23:45 +02:00
Michael Niedermayer
38bb5a5434
mpeg4videoenc: Support negative timestamps.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 17:51:04 +02:00
Michael Niedermayer
282e8d4b4f
avienc: Update 2 debug statements to match the current code.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 17:49:25 +02:00
Michael Niedermayer
5192788321
avutil: add divide & modulo that round like unsigned ones do that is down.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 17:47:22 +02:00
Michael Niedermayer
5deedf3552
h264probe: update to latest spec.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 16:05:29 +02:00
Michael Niedermayer
6841c8c579
Merge remote branch 'qatar/master'
...
* qatar/master:
log: Fix an oob array read.
cosmetics: trim trailing whitespace in postproc
Ban strncpy() it's too easy to misuse.
psymodel: Remove wrapper functions.
aacenc: Replace loop counters in aac_encode_frame() with more descriptive 'ch' and 'w'.
regtest: remove redundant flags in jpg test
regtest: use run_ffmpeg in do_image_formats
regtest: simplify encoding functions
ffmpeg.c: check for interlaced flag in the correct place.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 04:50:56 +02:00
Michael Niedermayer
25308afbb2
wtvdec: Avoid gmtime_r() it breaks compile on windows.
...
Better solutions welcome, this is just a quick fix to unbreak compile.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 04:17:24 +02:00
Michael Niedermayer
bce0d92359
developer.texi: update for git
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 04:13:55 +02:00
Luca Barbato
0584d22eb4
Typo fix.
2011-05-09 04:13:55 +02:00
Michael Niedermayer
6c5c8750b9
Patch checklist:Suggest adding a regression test
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 04:13:55 +02:00
Michael Niedermayer
3df9150d69
doc:Partial update of our issue tracker doc. More work needed, volunteers welcome.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 04:13:55 +02:00
Peter Ross
fddf0521c6
wtv: calculate ole date correctly (is seconds since 1899-12-30)
2011-05-09 02:25:40 +02:00
Peter Ross
8acab7ae5b
wtv: detect ole date overflow
2011-05-09 02:25:40 +02:00
Michael Niedermayer
3dd779eb0a
swscale: implement Nbit->non native endian 16bit. Fixes v210.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09 00:22:12 +02:00
Michael Niedermayer
f2bfdc3836
fate: add 9/10 BE pixdesc checksums
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 23:59:31 +02:00
Alex Converse
847aaec682
log: Fix an oob array read.
2011-05-08 13:34:05 -07:00
Alex Converse
c38d9780eb
cosmetics: trim trailing whitespace in postproc
2011-05-08 13:33:23 -07:00
Alex Converse
1569554153
Ban strncpy() it's too easy to misuse.
2011-05-08 12:49:07 -07:00
Nathan Caldwell
b58e298572
psymodel: Remove wrapper functions.
...
Instead use the function pointers directly.
2011-05-08 12:43:04 -07:00
Nathan Caldwell
5b29af624f
aacenc: Replace loop counters in aac_encode_frame() with more descriptive 'ch' and 'w'.
2011-05-08 12:42:34 -07:00
Stefano Sabatini
554d3ad730
pnmdec: reindent after the previous commit
2011-05-08 20:04:57 +02:00
Stefano Sabatini
4a745b4177
pnmdec: add support for mono images with non-space-separated pixel digits
...
When the file to decode contains a sequence of binary values like
"1101110...", decode_frame() was reading the sequence of digits like a
unique integer value, which was resulting in integer overflows.
The change add support for parsing non-space-separated pixel digits
for mono formats, in particular fix decoding of file battrace.pbm, and
fix trac issue #154 .
2011-05-08 20:04:57 +02:00
Michael Niedermayer
b0e1d0d9ee
ffv1enc: support PIX_FMT_YUV420P10 & PIX_FMT_YUV422P10
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 19:53:39 +02:00
Baptiste Coudurier
74bf9d6231
v210enc:clip values according to specifications
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 19:53:39 +02:00
Baptiste Coudurier
3e002747d1
v210enc: switch to PIX_FMT_422P10
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 19:53:39 +02:00
Baptiste Coudurier
807a058e8b
v210dec: switch to PIX_FMT_422P10
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 19:53:39 +02:00
Stefano Sabatini
4737a59373
ffv1: set internal frame defaults
...
Another fix missed before the vsrc_buffer changes.
2011-05-08 19:27:57 +02:00
Baptiste Coudurier
b9e608492a
swscale: 9,10 bits pixel format output support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 14:27:13 +02:00
Baptiste Coudurier
299cbe2c9b
PIX_FMT_422P10 support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 14:06:04 +02:00
Michael Niedermayer
af3c8f8230
adpcmenc:Optimize adpcm_ima_qt_compress_sample()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 13:21:51 +02:00
Baptiste Coudurier
35d3d44a84
adpcmenc: fix QT IMA ADPCM encoder
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 13:15:48 +02:00
Baptiste Coudurier
b3d5a4b06e
adpcmdec: Fix QT IMA ADPCM decoder
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 13:13:17 +02:00
Mans Rullgard
fc7314b31c
regtest: remove redundant flags in jpg test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-08 10:58:51 +01:00
Mans Rullgard
765f72f8c4
regtest: use run_ffmpeg in do_image_formats
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-08 10:58:46 +01:00
Mans Rullgard
2728fd9053
regtest: simplify encoding functions
...
The video encoding options were needlessly split in two parameters
which are merged. The do_audio_encoding function did not use its
second argument, so this can be removed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-08 10:58:32 +01:00
Anton Khirnov
648e55ff1b
ffmpeg.c: check for interlaced flag in the correct place.
...
In the corresponding codec context, not global options storage.
2011-05-08 10:43:24 +02:00
Michael Niedermayer
6d6b0c96fd
Merge remote branch 'qatar/master'
...
* qatar/master:
drawtext: add documentation for the shadow parameters
drawtext: add shadow support.
drawtext: factor draw_glyphs.
drawtext: fix and optimize yuv blend.
drawtext: get rid of divisions in the inner loop.
drawtext: simplify chroma blend and fix chroma alpha.
lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo
Conflicts:
configure
libavfilter/avfilter.h
libavfilter/vf_drawtext.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 03:29:51 +02:00
Michael Niedermayer
732ff29bff
svq1dec: simpify mean calculation.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 01:33:40 +02:00
Michael Niedermayer
8f5729d54d
svq1dec: replace /2 by >>1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 01:33:40 +02:00
Michael Niedermayer
0257ac8f12
pnm: Fix spurious error message.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-08 01:33:40 +02:00