Michael Niedermayer
b3e93fd408
indent
...
Originally committed as revision 14399 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d4f7d83866
Rewrite fill_default_ref_list(), the old code was obfuscated beyond
...
repair with hacks.
new code is ~60lines old was ~200
Fixes at least:
FRExt/HCHP2_HHI_A.264
one sample also get decoded much better:
FRExt/FRExt1_Panasonic.avc (PSNR 11 -> 80)
(no i do not know why, the old code was too a big mess to figure out
what it did)
Originally committed as revision 14398 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Jason Garrett-Glaser
e3576e2513
Improve documentation about -bt option
...
Originally committed as revision 14397 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
37dcf83077
Do not scare the user with error messages when everything is ok.
...
Originally committed as revision 14396 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d9e3242213
Make remove_short() match remove_long() in that it calls unreference_pic().
...
Originally committed as revision 14395 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
472c9a58a8
Removing yet another weird field pic special case,
...
now related to SHORT2LONG MMCOs.
Originally committed as revision 14394 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9c0e46242f
Make remove_long() call unreference_pic() internally.
...
Originally committed as revision 14393 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1cea5d0d03
Merge oddly duplicated remove_long/remove_long_at_index() function.
...
Originally committed as revision 14392 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6f45060851
Remove strange long_ref=0.
...
Originally committed as revision 14391 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4f10312c19
indent
...
Originally committed as revision 14390 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3f1e179747
10000l, forgotton }
...
Originally committed as revision 14389 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c29e05e60d
Remove another of these obfuscated special cases for field pictures
...
that does not do anything.
Originally committed as revision 14388 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c725090004
Simplify mmco setup code used in IDR pictures.
...
Originally committed as revision 14387 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
57288c4a06
Remove redundant h->mmco_index= 0.
...
Originally committed as revision 14386 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5118c6c771
Assert that long_ref has been cleared for released pics.
...
Originally committed as revision 14385 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
849b9cef32
Clear long_ref when a frame is no longer a long_ref.
...
Originally committed as revision 14384 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d9fe1749fc
Make sure mmco index is 0 (instead of uninitialized) in all error returns.
...
Originally committed as revision 14383 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
14b83f9a3d
compilation fix with GCC 4.0.1 on MacOSX tiger, broken by the removal of AVV() macro
...
Originally committed as revision 27349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Joakim Plate
4c8e5dfcc5
Fix handling of old nuv files where an aspect of 1 actually means 4/3
...
Patch by elupus (elupus ecce se)
Originally committed as revision 14382 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9296f5d81a
Simplify strange obfuscated code in MMCO_LONG handling.
...
Note, this might change behavior for invalid bitstreams.
Originally committed as revision 14381 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
357282c6f3
Set field_poc (it was half uninitialized before) and use it
...
instead of the fragile first_field check to determine if we have
2 fields at the end.
Originally committed as revision 14380 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b78a6baaf1
Minor simplification of code in init_poc().
...
Originally committed as revision 14379 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5710b37160
cosmetics (indent and 2 empty lines)
...
Originally committed as revision 14378 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
80f8e035ba
init_poc() vs. idr() cleanup
...
Originally committed as revision 14377 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e16190fa7a
cosmetics: typo fixes
...
Originally committed as revision 14376 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Joakim Plate
3a459ebe35
aspect stored in nuv files must be converted from display- to sample-aspect.
...
Patch by elupus (elupus ecce se)
Originally committed as revision 14375 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1e90317b65
Fix tiny_psnr so it compares all bytes (it did skip the last block).
...
Also display both file sizes and slightly change the output formatting.
[not split in 3 patches to avoid the huge checksum files from being changed
and having to be reviewed 3 times, if people want it split i can revert and
split it]
Originally committed as revision 14374 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ac5057c2de
Fix loop filter with CAVLC 8x8dct.
...
Fixes at least:
FRExt/HPCV_BRCM_A.264
FRExt/HVLCFI0_Sony_B.264
FRExt/HVLCPFF0_Sony_B.264
H264_artifacts_motion.h264
Originally committed as revision 14373 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ca74c0a180
cosmetics: Fix two common typos: wont --> will not, lets --> let us.
...
Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
cc8de8e8a5
cosmetics: typo/grammar fixes
...
Originally committed as revision 14371 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
309005c047
cosmetics: Fix indentation after last commit.
...
Originally committed as revision 14370 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
6b83bb1ee8
Fix indentation after last commit.
...
Originally committed as revision 27345 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
f22e5e22ef
Remove AltiVec vector declaration compiler compatibility macros.
...
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.
Originally committed as revision 27344 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
e740c796d8
Fix segfault with non existing input files.
...
Originally committed as revision 14369 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a53b545068
Cosmetics: grammar nits
...
Originally committed as revision 14368 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
1412060e78
misc spelling/grammar fixes
...
Originally committed as revision 14367 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
80a61f08d2
Remove AltiVec vector declaration compiler compatibility macros.
...
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.
Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
John Schmiederer
ec072669f7
Use tkhd matrix for proper display in mov.
...
Patch by John Schmiederer jschmiederer on2 com
Original thread: [PATCH] Use tkhd matrix for proper display in mov
Date: 05/23/2008 09:31 PM
Originally committed as revision 14365 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
2477d60944
Rename update() function to backward_filter() and add a doxy comment
...
Originally committed as revision 14364 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a6755f8d53
Rename and comment bandwidth broadening tables
...
(s/table1a/syn_bw_tab/, s/table2a/gain_bw_tab/).
Originally committed as revision 14363 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5e65f5df0e
Follow FFmpeg convention of returning negative values on error in eval_lpc_coeffs()
...
Originally committed as revision 14362 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a3896c6377
Rename pred() to eval_lpc_coeffs() and add a doxy comment
...
Originally committed as revision 14361 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
a0cce1587b
Give windowing tables a more descriptive name
...
(s/table1/syn_window/, s/table2/gain_window/).
Originally committed as revision 14360 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
475d0e1464
Add comments to do_hybrid_window()
...
Originally committed as revision 14359 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
0f72a2b7d3
Give parameters of do_hybrid_window() more meaningful names
...
Originally committed as revision 14358 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
427981c7a6
Rename co() function to the much more descriptive name of
...
do_hybrid_window(). Also change a misleading and wrong comment.
Originally committed as revision 14357 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5ab3d66fe5
Simplify co(): write constant in a more readable way
...
Originally committed as revision 14356 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
bf75ac57b8
Simplify co(), use memcpy/memmove and colmult() when useful.
...
Originally committed as revision 14355 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a149c1a59f
Reset prev_frame_num for idr frames as required by the spec.
...
Originally committed as revision 14354 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b4cf222870
Better explanation for buf_size==0 code.
...
Originally committed as revision 14353 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago