Michael Niedermayer
628724b61d
More advanced ffmpeg mpeg2 aspect guessing code.
...
Fixes issue1613, 621, 562 simultaneously
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald S. Bultje
f711424969
mpeg12.c: fix slice threading for mpeg2 field picture mode.
...
Fixes "make THREADS=2 fate-mpeg2-field-enc".
14 years ago
Michael Niedermayer
d375c10400
Fake-Merge remote-tracking branch 'ffmpeg-mt/master'
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Benjamin Larsson
aecd0a4496
Export profiles from the mpeg2 video decoder
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Luca Barbato
9ef5a9deaf
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb
)
14 years ago
Luca Barbato
dfd2a005eb
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
14 years ago
Diego Elio Pettenò
e7e2df27f8
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d36beb3f69
)
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
91d51ee4b5
Remove redundant checks against MIN_CACHE_BITS
...
With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS
is always >= 25, so tests against smaller values can be removed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit f162e988aa
)
14 years ago
Mans Rullgard
f162e988aa
Remove redundant checks against MIN_CACHE_BITS
...
With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS
is always >= 25, so tests against smaller values can be removed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Vitor Sessak
6e16398aa3
Make dc_lum_vlc and dc_chroma_vlc non-static symbols,
...
this fixed the decoding of version 3 PSX MDEC files.
Originally committed as revision 26230 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
a20df85886
Fix doxy that refers to the wrong variable.
...
Originally committed as revision 24549 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
0fd0ef7947
Add new decoder property max_lowres and do not init decoder if requested value is higher.
...
Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Kristjansson
0db2d3cf1d
Do not skip one of three bits zero padding.
...
Patch by Daniel Kristjansson, danielk cuymedia net
Originally committed as revision 23914 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fc4a2d1e8c
Change ref_index structure so it matches how its organized in h264.
...
Also revert the related error concealment hotfix.
Originally committed as revision 22640 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
53f66cee0c
Add ff_ prefix for mpeg2_dc_scale_table.
...
Originally committed as revision 22556 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
acbb378d1d
Fix timestamp association for mpeg2 field pictures.
...
Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob
Originally committed as revision 21949 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
b52fcba9cd
Fix decoding ATI VCR2 codec, sample in
...
samples/V-codecs/ATI-VCR12/ATI/VCR2test.avi
Software decoding was broken since r8865, when two new context variables
were added, but not initialized in vcr2_init_sequence().
Another such context variable was added in r18381.
Originally committed as revision 21438 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
7a14430ed7
Be less picky on invalid frame_pred_frame_dct values.
...
Fixed issue1615.
Originally committed as revision 20814 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
6e4f40e1f4
Cosmetics: Reindent after r20679.
...
Originally committed as revision 20738 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
483aad717e
slif aka "SoftLab MPEG-2 I-frames Codec" support.
...
Flipping one bit still is popular it seems as a means to create a new codec.
fixes issue1469.
Originally committed as revision 20679 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
52069c4d3c
Move "slice below image" check from mpeg_decode_slice to its caller.
...
Should fix issue1277.
Originally committed as revision 20676 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
d52b4abe8b
Move dummy picture allocation code from mpeg1/2 to mpegvideo.
...
This fixes a infinite loop on a b frame.
Originally committed as revision 20672 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
078cdecf9e
Set mb_y in mpeg2 field pictures like h264 does.
...
This fixes -vismv & -debug 16384 with field pictures.
Originally committed as revision 20670 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ab8c48de8c
Start decoding from seq/gop too, not just I frames.
...
Possibly fixes issue1124.
Originally committed as revision 20667 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f0ec239438
Fix dual prime motion compensation in field pictures.
...
Fixes issue1125.
Originally committed as revision 20666 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
aeaef4ed63
Print errors instead of just ignoring contradictionary values in mpeg2 silently.
...
Originally committed as revision 20656 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
87f6806069
Override a few values read so as to ensure that things are not inconsistent.
...
Originally committed as revision 20654 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
d9b99556bf
Restructure dummy frame allocation.
...
New code also allocates a dummy frame for an p field after an i field,
previously that could segfault due to reading from NULL+x.
Originally committed as revision 20653 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
9d13016690
Make sure field_select is not set to nonsensical values even if unused.
...
Fixed an assert failure.
Originally committed as revision 20646 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
1c3260939d
Factorize "s->first_slice = 1" out.
...
Originally committed as revision 20645 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
88eba670fb
Also check the location of the picture start code and picture coding
...
extension a little.
Originally committed as revision 20644 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fc23d843e1
Check order of startcodes, ignore some obviously wrong ones.
...
Fixes issue487.
Originally committed as revision 20643 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
bbf266fdb5
Move mpeg_decode_postinit() out of bitstream decoding functions, it does not
...
belong in there.
Originally committed as revision 20642 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
1206f1d630
Inline mpeg_decode_extension, will simplify future changes.
...
Originally committed as revision 20641 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
191ad11e91
Simplify mpeg_decode_user_data()
...
Originally committed as revision 20640 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
6e44ba1550
Use get_bits_left() instead of size_in_bits - get_bits_count().
...
Originally committed as revision 20543 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
01418506a2
Remove casts that are useless since the argument is void *.
...
Originally committed as revision 20177 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Gwenole Beauchesne
25450bb252
Move down HWAccel code path so that to fill in s->mb_x first.
...
Originally committed as revision 19875 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
6be8b20466
Revert r19317, "simplify slice_end, return size of output frame".
...
It returns non decodable B-frames.
Originally committed as revision 19324 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
f7f1eb6cc9
simplify slice_end, return size of output frame
...
Originally committed as revision 19317 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
a4a750d3b2
Rename alloc_picture to ff_alloc_picture and move its definition
...
in mpegvideo.h to avoid including mpegvideo_common.h in mpeg12.c,
because it contains motion code.
Originally committed as revision 18968 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Wolfram Gloger
ed1dc74e18
Fix off by one offset with fetch_timestamps, pts_parser_problem.mpg.
...
Patch by Wolfram Gloger, wmglo at dentm dot med dot uni-muenchen dot de.
Originally committed as revision 18959 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
936bb4a9bc
Add a forward declaration of mpeg1_decode_block_intra to fix compilation
...
broken by r18859 for e.g. all gcc 4 compilers.
Originally committed as revision 18861 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
db2f209352
mpeg12: fix non-standard use of "extern inline"
...
Rename ff_mpeg1_decode_block_intra to mpeg1_decode_block_intra and
make it static. Add ff_mpeg1_decode_block_intra as plain extern
function calling mpeg1_decode_block_intra.
Originally committed as revision 18859 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
9d9a623925
decode mpeg-2 closed gop first b frames, fix issue #824
...
Originally committed as revision 18837 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago