Michael Niedermayer
a82688b003
Setting chroma_qp to 0 for PCM blocks is really an interesting minor
...
optimization, more interresting would it have been had the author
thought about what value chroma_qp would have for the following MB.
Or failing that, had actually tested the code.
So this reverts this non-functional optimization, and makes the code work.
Fixes at least CAPM3_Sony_D.jsv
Originally committed as revision 14335 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3a75616940
Deobfusate chroma_qp_table[1] init code.
...
Originally committed as revision 14334 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Carl Eugen Hoyos
6aaff88fd9
Revert r13542: Spatial direct mode probably also works with PAFF.
...
Originally committed as revision 14332 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c32867b5b6
Loop filtering with multiple slice types fix.
...
Fixes at least:
CABAST3_Sony_E.jsv
CABASTBR3_Sony_A.jsv
CABASTBR3_Sony_B.jsv
Originally committed as revision 14331 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
tripp
662e54119c
Correct b_quant offset comment in avcodec.h, it is the description for
...
b_quant factor. patch by tripp, eliared yahoo com
Originally committed as revision 14328 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9f5c1037b1
Use slice_type_nos instead of slice_type where it makes no difference.
...
This way we use slice_type_nos almost everywhere which means 1 variable less
for gcc to put in a register.
Originally committed as revision 14326 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4b30289ec9
SI/SP slice support. (not bitexact)
...
SI untested as I did not find any samples.
Originally committed as revision 14325 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
932f396f50
Remove superfluous ().
...
Originally committed as revision 14324 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e3e6f18f16
Simplify slice type checks.
...
Originally committed as revision 14323 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
72caa912f2
More correct ref comparison in the loop filter.
...
Originally committed as revision 14322 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
29d05ebc7a
Simplify spatial direct ref selection with FFMIN3()
...
Originally committed as revision 14319 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
86255db9b9
cosmetics: Make libavcodec/ppc/dsputil_altivec.c conform to style guidelines.
...
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.
Originally committed as revision 14318 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b6934d7f9e
cosmetics: Reindent two misplaced braces.
...
Originally committed as revision 14317 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e3905ce0af
cosmetics: Reformat PPC code in libavcodec according to style guidelines.
...
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.
Originally committed as revision 14316 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
41f5c62f5c
Fix used references indexes in the loop filter.
...
Disable filter_mb_fast() as it optimized the incorrect code.
Fixes at least:
BA3_SVA_C.264
CABA3_SVA_B.264
CABACI3_Sony_B.jsv
CAFI1_SVA_C.264
camp_mot_frm0_full.26l
CAWP5_TOSHIBA_E.264
CVFI2_SVA_C.264
CVSE3_Sony_H.jsv
CVWP2_TOSHIBA_E.264
CVWP5_TOSHIBA_E.264
SL1_SVA_B.264
Originally committed as revision 14315 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7c7cf452c9
Add skip* AVOptions, which seem to have been missed.
...
Originally committed as revision 14314 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
b000c604f2
Decrease severity of 'invalid new backstep' log message to warning
...
in mpeg audio decoder.
Originally committed as revision 14313 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
11f63a221b
Supply context argument to av_log() in mpeg audio decoder.
...
Originally committed as revision 14312 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
4760aec6a0
read 'coupling in use' parameter from bitstream into decoder context first,
...
then copy to the local variable.
Originally committed as revision 14311 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4f20b45fbe
Fix h264_loop_filter_strength_mmx2() so it works with PAFF.
...
fixed at least:
CVFI1_Sony_D.jsv
CVFI1_SVA_C.264
MR6_BT_B.h264
Originally committed as revision 14310 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benjamin Larsson
d11f9e1b15
Prevent the qdm2 code from overreading/overflowing. Fixes Coverity ID 112 run 2
...
Originally committed as revision 14309 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fb19e1443b
Take the brain amputated spec literally if the user asks for it (-strict 1).
...
That is, add 16 frames delay, cache trashing and av desync.
fixes at least the following reference bitstreams:
CABA3_Sony_C.jsv
CACQP3_Sony_D.jsv
CAMANL1_TOSHIBA_B.264
CANL3_Sony_C.jsv
CVBS3_Sony_C.jsv
CVMANL1_TOSHIBA_B.264
Originally committed as revision 14308 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5771b2c324
Make strict_std_compliance available to decoders.
...
Originally committed as revision 14306 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benjamin Larsson
f7dbf86d93
Fix for possible null pointer dereferencing, closes Coverity report 68 run 2.
...
Originally committed as revision 14305 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
9f59e608d2
Cosmetics: alignment
...
Originally committed as revision 14304 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
3c617380e7
Simplify co(): do not abuse pointer aritmetics
...
Originally committed as revision 14303 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2a811db238
Make the automatic has_b_frames increasing code increase it up to the
...
same maximum that can be achieved by specifying the value in the bitstream.
Originally committed as revision 14302 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6bc5714be6
Simplify co(): remove variables that are only used once
...
Originally committed as revision 14301 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
28bb9eb24b
Try to fix my latest 100l fate SVQ3 breakage.
...
Originally committed as revision 14300 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
801b27fa7c
Remove apparently unneeded out!=NULL check.
...
Originally committed as revision 14299 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3eaa6d0e56
Simplify picture output code.
...
Originally committed as revision 14298 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6b476f05e3
Remove useless #if 0 code.
...
Originally committed as revision 14297 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7c0efeccfa
Do not forget marking disposed delayed pics as unused.
...
Fixes issue335
Originally committed as revision 14296 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
79f4494a04
indent
...
Originally committed as revision 14292 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0ab515e935
simplify
...
Originally committed as revision 14291 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
7645da9194
cosmetic: use hex value instead of decimal to show relation to 0x7FFFFF
...
Originally committed as revision 14290 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
df8a7dff29
Remove delayed_output_pic, I do not understand what this variable was good for.
...
It is simpler and might be faster now.
Originally committed as revision 14289 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1b547abaa3
Drop out of order pics even if bitstream_restriction_flag is set.
...
Originally committed as revision 14288 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
34e0d78936
Set avctx->coded_frame in RoQ encoder. At some point in
...
the SVN history this became mandated. Fix issue 548.
Originally committed as revision 14287 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6ebc89ac48
Make the ugly hack which uses an unused entry in the internal buffer
...
array actually use a unused one, so it does work.
Originally committed as revision 14286 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5bfe3b853a
minor simplification of qdm2_decode_fft_packets()
...
Originally committed as revision 14284 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
197ea52443
Make frames non reference by default, so they are disposed of automatically
...
in MPV_frame_start() if we break out due to an error at a random place.
Fixes issue334
Originally committed as revision 14283 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e0168e3b9c
Support reading large metadata.
...
fixes issue187
Originally committed as revision 14281 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1e77df15dd
Make bitstream_* fields unsigned.
...
Originally committed as revision 14280 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cfcd396bae
Only realloc() bitstream buffer when the needed size increased,
...
this is needed to prevent loosing bitstream data with large metadata.
Originally committed as revision 14279 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2b4b8c824e
If metadata has been parsed goto end instead of trying to
...
decorrelate and output somehing nonexistng.
Originally committed as revision 14278 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Erik Hovland
8d8d2b7391
Fix a mem leak in vc1_decode_frame().
...
Patch by Erik Hovland erik hovland org
Originally committed as revision 14277 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
96e8987e5b
Simplify: do not overuse pointer aritmetic
...
Originally committed as revision 14271 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
c52d2da905
Declare parameters of pred() that could be const as such
...
Originally committed as revision 14270 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
efa85e5e45
Another simplification
...
Originally committed as revision 14269 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago