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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Vitor Sessak
b6c7758168
Move constant multiplication out of the loop
...
Originally committed as revision 15404 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
e60daa340b
Cosmetics: move convolve() together with the other DSP functions
...
Originally committed as revision 15403 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
a987a126fd
Simplify: move division by constant off the loop
...
Originally committed as revision 15402 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
571bbaf814
Factorize lpc code slightly.
...
Originally committed as revision 15393 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
b94a631fab
Cosmetics: reindent after last commit
...
Originally committed as revision 15391 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
fca506dfb6
Add RLE4 and RLE8 decoding support for BMP
...
Originally committed as revision 15390 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Kostya Shishkov
a79cae798a
Calculate line size correctly for bit depths < 8
...
Originally committed as revision 15388 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
aa617518b9
A few empty lines for readability.
...
Originally committed as revision 15385 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f4d3382da2
Another try to fix temporal direct mode references.
...
Fixes at least
CAPAMA3_Sand_F.264
CVMAPAQP3_Sony_E.jsv
Originally committed as revision 15384 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
8556ea0333
spelling cosmetics
...
Originally committed as revision 15383 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Brad
acce61a7c6
AltiVec detection support for OpenBSD, patch by Brad, brad comstyle com.
...
Originally committed as revision 15382 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
8dbd9cb695
Fix all the recent problems Justin had run into with the AC3 parser,
...
including issue 459.
Originally committed as revision 15381 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
48e025e5b6
Fix ref_shift so that it is correct for more/all? MBAFF/PAFF mixes.
...
Fixes at least MR9_BT_B.
Originally committed as revision 15380 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
471341a7f3
indent
...
Originally committed as revision 15379 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
53c193a9b0
Correct comment in the direct mode code.
...
(note, yes this is unrelated to the previous simplification, the
code always behaved like it is documented now.)
Originally committed as revision 15378 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
a0ad40832f
Simplify initialization of a few direct mode related variables.
...
Originally committed as revision 15377 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
8b1fd554e1
Make MBAFF temporal direct mode closer to the spec.
...
Fixes at least:
CAMANL2_TOSHIBA_B
CVMANL2_TOSHIBA_B
camp_mot_mbaff0_full
Originally committed as revision 15375 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
8f56e219b2
Move direct_dist_scale_factor() and direct_ref_list_init() after fill_mbaff_ref_list()
...
as future changes will need the mbaff lists inited.
Originally committed as revision 15374 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
078f42ddae
Set poc for field references in MBAFF.
...
Originally committed as revision 15373 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
2c006f4380
Log an error message in case of invalid number of channels.
...
Originally committed as revision 15371 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
a85d0c84a4
Remove fixme that is based on the assumption of !direct_8x8_inference && MBAFF.
...
Originally committed as revision 15370 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6a855aae94
Remove check and error message for "MBAFF + !direct_8x8_inference is not implemented"
...
because this mode does not exist, H.264-2007 says "When frame_mbs_only_flag is
equal to 0, direct_8x8_inference_flag shall be equal to 1."
Originally committed as revision 15369 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
96b52f9e04
Make pps/sps scaling_matrix initialization closer to the spec.
...
This does not affect any of the conformance streams.
Originally committed as revision 15365 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
341b28c0d2
Zero 'idx' for each iteration of the coupling gain loop and as it is only used
...
within this loop, we can move its declaration there too. This fixes bitstream
desync when decoding streams containing CCEs.
Based on a patch by Alex Converse (alex converse gmail com)
Originally committed as revision 15364 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
f80a8ca5cb
Cosmetics: missing brackets
...
Originally committed as revision 15363 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
c8947a5612
Cast the return value of get_bits() to signed integer such that the subtraction
...
is conducted as a signed calculation.
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 15362 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d464bceff2
Ensure that extradata is not parsed twice.
...
Fixes FRExt1_Panasonic.
Originally committed as revision 15361 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
3a9a15c4f3
add newline at the end of message
...
Originally committed as revision 15360 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
e6ab862368
ZMBV encoder forgot to fill coded frame pointer
...
Originally committed as revision 15359 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
44aa9771c9
Factorize out code used for MS RLE format decoding in different decoders.
...
Originally committed as revision 15356 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
f7e5b0cc8f
Remove duplication of TRANSPOSE8 macro, also removing some redundant load/stores
...
Originally committed as revision 15355 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
7b16a97969
Make a separate macro for writing an entire block from registers to memory
...
Originally committed as revision 15354 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
3f429d11da
Factorize SSE2_(Row|Column)_IDCT into one macro
...
Originally committed as revision 15353 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
3c1ebfd56d
Cosmetics: remove excessive blank lines
...
Originally committed as revision 15351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
8cfd78ce8f
Ensure MMX/SSE2 VP3 IDCT selection isn't disabled when only Theora is enabled
...
Originally committed as revision 15350 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
c3c5bba1e2
Cosmetics: reindent
...
Originally committed as revision 15349 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
f7fc9e499c
Rewrite SSE2 VP3 IDCT in inline asm
...
Originally committed as revision 15347 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
437e3f4dbc
Rewrite MMX VP3 IDCT in inline asm
...
Originally committed as revision 15346 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
ccd3ec82b8
MMX/SSE2 VP3 IDCT are bitexact now that the dequantization matrices are permutated correctly
...
Originally committed as revision 15345 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
7f065b36c8
Take idct permutation into account when initializing dequantization matrices
...
Originally committed as revision 15344 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
faf6d6964b
Use SAMPLE_FMT_FLT instead of doing the float->int conversion in the
...
decoder. This changes the output very little and any difference should
be inaudible.
Originally committed as revision 15343 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago