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
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
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
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
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
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
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
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
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
1d42f41091
indent
...
Originally committed as revision 14258 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7a9dba3cd6
SVQ3 uses the JPEG variant of YUV 4:2:0.
...
Fixes issue256
Originally committed as revision 14257 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
64b9d48f76
Move the size of the H264Context delayed_pic array into a #define.
...
This improves readability by getting rid of some magic numbers.
Originally committed as revision 14248 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
e1f15d3836
H264: fix index range assert() in remove_short_at_index()
...
Originally committed as revision 14233 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Jason Garrett-Glaser
3a8322b133
H264: Fix decoding with CABAC/delta_qp/PCM macroblocks.
...
Patch by Jason Garrett-Glaser (darkshikari gmail com)
Originally committed as revision 14160 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7445f9cc67
fix IPCM_decode_error.h264
...
Originally committed as revision 14135 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
58cc7dd9fc
Cosmetics: split a long line.
...
Originally committed as revision 14055 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
92ed1ec957
Use get_cabac_bypass_sign instead of an if/else.
...
Originally committed as revision 14054 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
142ee5d73d
Reorder the if/else for residual cats to match gcc's branch prediction.
...
Originally committed as revision 14053 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
47775cb8de
Simplify loop condition for readability.
...
Originally committed as revision 14052 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
9f734c3b57
Reindent.
...
Originally committed as revision 14051 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
9588ec340c
Clone decode_cabac_residual() for DC residuals, to get rid of a bunch of branches in the main loop.
...
Originally committed as revision 14050 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
2e254bc583
Don't generate two copies of hl_decode_mb() under ENABLE_SMALL.
...
(assuming your compiler removes unused static functions)
Originally committed as revision 14049 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
fedec603db
Don't test for H264 encoding unless an encoder exists.
...
Originally committed as revision 14048 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Carl Eugen Hoyos
7e14f14584
Warn about unimplemented H264 feature.
...
Originally committed as revision 13542 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Pascal Massimino
ae899d12ae
in TRUNCATED mode, use residual fragments in ParseContext
...
for decoding the very last frame.
Originally committed as revision 13538 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
9c852bcf58
cosmetics: spelling typo fixes
...
Originally committed as revision 13489 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f4433de9ef
consistency cosmetics: indices --> indexes
...
Originally committed as revision 13444 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4806b9226c
print direct_spatial_mv_pred
...
Originally committed as revision 13409 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
bff2266a7f
Remove newly unused variables.
...
Originally committed as revision 13127 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
d2b54ec801
Use h->mb_xy directly in decode_cabac_residual().
...
Originally committed as revision 13126 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
64514ee8de
Store mb_xy in H264Context and only calculate it once per MB.
...
Originally committed as revision 13125 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Carl Eugen Hoyos
e0a0c85dbd
One const per declaration is enough.
...
Originally committed as revision 13079 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Jason Garrett-Glaser
144783887c
Use a state machine to reduce branching logic in decode_cabac_residual.
...
Patch by Jason Garrett-Glaser (darkshikari gmail com)
Originally committed as revision 13060 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
6140271f54
Add some long names to AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vladimir Voroshilov
159ef4b02a
Implement FFMAX3(a,b,c) - maximum over three arguments.
...
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Jeff Downs
52cb7981e2
Redo r12838, this time using svn copy to create h264_i386.h from cabac.h.
...
Move decode_significance_x86() and decode_significance_8x8_x86() to
i386-specific file from cabac.h.
New file is h264-oriented and only included from h264.c
Resolves compilation when configured with --disable-optimizations due to
decode_significance_8x8_x86 using last_coeff_flag_offset_8x8, which is
only defined in h264.c
Originally committed as revision 12846 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago