Benoit Fouet
21899717a3
Move iv_decode_frame function to remove a forward declaration.
...
Originally committed as revision 15488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 14:43:55 +00:00
Benoit Fouet
950c0373fd
Remove useless lines.
...
Originally committed as revision 15487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 14:41:11 +00:00
Benoit Fouet
6f427ccbeb
Reindent whole file.
...
Originally committed as revision 15486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 14:22:10 +00:00
Benoit Fouet
e1a96237df
Indent.
...
Originally committed as revision 15480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 11:55:40 +00:00
Benoit Fouet
f8be1206a6
Simplify iv_free_func().
...
Originally committed as revision 15479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 11:55:20 +00:00
Benoit Fouet
ffc64ac061
Move allocated buffer out of YUV buffer structure.
...
Originally committed as revision 15478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 11:51:44 +00:00
Benoit Fouet
c2db8a99a6
Remove useless initializations.
...
Originally committed as revision 15477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 11:46:37 +00:00
Benoit Fouet
8b27f76bf8
Check allocations on init.
...
Originally committed as revision 15476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:54:13 +00:00
Benoit Fouet
809a23a543
Remove useless test.
...
Originally committed as revision 15475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:41:04 +00:00
Benoit Fouet
56d9b943d3
Cosmetics
...
Originally committed as revision 15474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:35:53 +00:00
Benoit Fouet
68e9c68fdb
use uint8_t instead of unsigned char
...
Originally committed as revision 15473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:32:14 +00:00
Benoit Fouet
e679560d9c
Corrector type fits in 8 bits.
...
Originally committed as revision 15472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:26:49 +00:00
Benoit Fouet
2c3c87b8c4
Remove useless casts and use variable instead of its type in sizeof.
...
Originally committed as revision 15471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:08:27 +00:00
Benoit Fouet
9fd88b2946
Change table types to uint8_t
...
Originally committed as revision 15470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:05:34 +00:00
David Conrad
12ce1f3fc1
Downgrade severity of leftover bits in header packets, and don't check for the comment header
...
Originally committed as revision 15469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 04:18:22 +00:00
Michael Niedermayer
ae4ffe9f64
Allocate 1 line more in the chroma plane for H.264, this avoids some
...
out of array reads with mmx/sse2 code.
Fixes issue327.
Originally committed as revision 15467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 01:45:53 +00:00
Michael Niedermayer
503bc4026d
Replace second (and wrong) call to avcodec_align_dimensions() by adjusting
...
stride_align. This is not particularly pretty and I will gladly implement
something else if someone has an idea!
Originally committed as revision 15466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 01:07:25 +00:00
Michael Niedermayer
8c07cee91a
Do not attempt to perform error concealment in lowres mode as this is
...
not supported currently.
Originally committed as revision 15465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 00:28:13 +00:00
Aurelien Jacobs
15ae1959d8
atrac3: ensure input frame is not overwritten (it is const)
...
this fixes the following warning:
atrac3.c:889: warning: assignment discards qualifiers from pointer target type
Originally committed as revision 15464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 22:22:46 +00:00
David Conrad
068e82bac1
Use skip_frame for keyframe-only decoding rather than #ifdef
...
Originally committed as revision 15463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 22:04:35 +00:00
Carl Eugen Hoyos
bf615b89e3
Fix a warning about an undefined function when compiling h264.c
...
Originally committed as revision 15462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 15:41:55 +00:00
Diego Biurrun
d0feff2a5b
Uniformly define _XOPEN_SOURCE to 600.
...
The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort
the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well
as POSIX.1-2001), and will only accept it to be defined to 600.
inspired by a patch from Diego Pettenò, flameeyes gmail com
Originally committed as revision 15460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 06:22:12 +00:00
Michael Niedermayer
ed16f91f26
Guess picture type from picture coding extension when the main header is damaged.
...
Originally committed as revision 15456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 23:19:12 +00:00
Francesco Cosoleto
30ab4deda8
Document the directpred auto value.
...
Patch by Francesco Cosoleto cosoleto ^^AT^^ gmail @@dot@@ com
Originally committed as revision 15448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 19:11:26 +00:00
Siarhei Siamashka
4c149a80e6
Use DECLARE_ALIGNED_16() on vorbis windows as they are used in dsputils
...
functions that require such alignment.
Patch by Siarhei Siamashka (siarhei siamashka gmail com)
Originally committed as revision 15444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 16:16:05 +00:00
Michael Niedermayer
766a4a99e2
Replace apparently always true condition by assert().
...
Originally committed as revision 15437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 02:39:24 +00:00
Michael Niedermayer
c2c7342b70
Simplify pix_fmt_id instead of listing a subset of non-simplified ones.
...
Originally committed as revision 15436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 01:59:50 +00:00
Michael Niedermayer
7c1e33f930
Check the 4th plane too when selecting the pixfmt.
...
Fixes a crash with Test-4-component-YCCK.jpg.
Originally committed as revision 15435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 01:50:57 +00:00
Vitor Sessak
d552d04dc9
Simplify: avoid duplication backward_filter()
...
Originally committed as revision 15428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 18:42:06 +00:00
Diego Biurrun
bbc78fb4b4
Remove unused variable.
...
Originally committed as revision 15427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 18:11:41 +00:00
Benjamin Larsson
faeedbbb06
Add support for Acelp.net fourcc and codecid, remuxing wav to avi should work
...
Originally committed as revision 15425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 10:59:42 +00:00
Michael Niedermayer
6c8050078e
Avoid out of picture accesses when CODEC_FLAG_EMU_EDGE is set.
...
Fixes issue427.
Originally committed as revision 15418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 21:44:07 +00:00
Vitor Sessak
64e4af2ac1
Do instead of divising a float by a constant, multiply by its inverse
...
Originally committed as revision 15417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 20:03:57 +00:00
Michael Niedermayer
68997192eb
Ensure that no non-existing frame is used.
...
Fixes issue624.
Originally committed as revision 15416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 19:25:28 +00:00
Michael Niedermayer
5f129a05bf
Do not free sps & pps on width/height changes.
...
Fixes issue557.
Originally committed as revision 15414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 19:01:39 +00:00
Michael Niedermayer
fe67a236dd
Do not use the generic "alloc missing references" code for h.264 as it does
...
not work correctly in that case.
Fixes issue652.
Originally committed as revision 15413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 14:34:14 +00:00
Michael Niedermayer
07dff5c7a4
Initialize next/last_picture* as the generic code does not always
...
set them to sane values.
Originally committed as revision 15412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 14:29:35 +00:00
Michael Niedermayer
49573a87c9
Print which slices are IDR not just the slice type.
...
Originally committed as revision 15411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 12:04:25 +00:00
Michael Niedermayer
cf8bb33428
Fix CAVLC+8x8+MBAFF loop filter.
...
Fixes FREXT02_JVC_C.
Originally committed as revision 15410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 00:41:49 +00:00
Michael Niedermayer
60c9b24df0
Field -> MBAFF direct mode can use data from fields that are not
...
in the reference list. Follow the spec and no comment on the sanity of this
design ...
Fixes HPCAMAPALQ_BRCM_B
Originally committed as revision 15407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-24 23:24:24 +00:00
Vitor Sessak
b6c7758168
Move constant multiplication out of the loop
...
Originally committed as revision 15404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-24 20:31:24 +00:00
Vitor Sessak
e60daa340b
Cosmetics: move convolve() together with the other DSP functions
...
Originally committed as revision 15403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-24 20:05:22 +00:00
Vitor Sessak
a987a126fd
Simplify: move division by constant off the loop
...
Originally committed as revision 15402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-24 20:03:58 +00:00
Kostya Shishkov
e774c41cab
Correct wrong lower limit and condition used in APE decoder
...
Originally committed as revision 15396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-24 12:45:28 +00:00
Michael Niedermayer
645a6be1e7
Merge the 2 lpc loops.
...
This changes the output by (stddev: 0.21 PSNR:109.51, file:ddinterview28.ra),
the changes are due to float rounding inaccuracies and do not happen if doubles
are used.
Originally committed as revision 15394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 23:16:48 +00:00
Michael Niedermayer
571bbaf814
Factorize lpc code slightly.
...
Originally committed as revision 15393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 22:49:22 +00:00
Kostya Shishkov
b94a631fab
Cosmetics: reindent after last commit
...
Originally committed as revision 15391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 08:45:46 +00:00
Kostya Shishkov
fca506dfb6
Add RLE4 and RLE8 decoding support for BMP
...
Originally committed as revision 15390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 08:45:12 +00:00
Kostya Shishkov
15501c32d0
Add support for 1-bit, 4-bit, 8-bit and some 16-bit raw BMP
...
Originally committed as revision 15389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 08:38:32 +00:00
Kostya Shishkov
a79cae798a
Calculate line size correctly for bit depths < 8
...
Originally committed as revision 15388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 08:32:18 +00:00