Michael Niedermayer
f40a7fd316
4:2:2 4:4:4 bugfix for the error concealment code.
...
Originally committed as revision 20678 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
5f1836a7de
Rename parameters of put_sbits() to make them consistent with those of
...
put_bits().
Originally committed as revision 20677 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
fd1ef13bb4
Disable error resilience for field pictures, this was never supported,
...
results where more or less random but should not have crashed.
Originally committed as revision 20671 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
22d4f21331
Make ""MPEG motion vector out of boundary" message more verbose.
...
Originally committed as revision 20669 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Attila Kinali
76c4a644ee
Fix an issue uncovered by commit 20623:
...
The init functions of mpc7 and mpc8 check whether the vlc has been
initialized already and return early if this is the case (eg by calling
init a second time).
But avctx->sample_fmt and channel_layout is set after the vlc initialization,
causing it not to be set on the second call of init.
Move all manipulations of avctx before the initialization of the vlc,
so that it is always set.
Originally committed as revision 20668 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
Stefano Sabatini
587edd6af8
Use more consistent / meaningful parameter names for the
...
ff_copy_bits() function.
Originally committed as revision 20663 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b8cef7be5c
nellymoser: use constant seed for dithering RNG
...
Originally committed as revision 20658 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2d2e72b10e
cook: use constant seed for dithering RNG
...
Originally committed as revision 20657 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
Stefano Sabatini
8d872e8ac9
Fix put_bits32() doxy.
...
Originally committed as revision 20639 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
643570d6bb
Consistently put braces for function definitions.
...
Originally committed as revision 20638 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
e74223610b
Fix typo, "Write" -> "Writes".
...
Originally committed as revision 20637 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
106c72faad
Use pixel formats names defined in av_pix_fmt_descriptors rather than
...
in those in pix_fmt_info, and remove the not anymore used
PixFmtInfo.name field.
Originally committed as revision 20636 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f72d40b01a
Remove unused PixFmtInfo.is_hwaccel field.
...
Originally committed as revision 20635 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
a7c6e76638
Add support for hardcoding the motionpixels rgb to yuv table.
...
Originally committed as revision 20627 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
7c7d3abf3c
10l, pix_fmt should be set by the motionpixels decoder, not by the demuxer.
...
This fixes playback when lavf and lavc are less tightly couples as in e.g. MPlayer.
Originally committed as revision 20626 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
797229a6a2
Make avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
...
pix_fmt_info.
Originally committed as revision 20625 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
0bf095a837
Allow decoders to correctly set the sample format by defaulting to
...
SAMPLE_FMT_NONE in avcodec_get_context_defaults2.
Originally committed as revision 20623 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
14b903f389
Remove x_chroma_shift and y_chroma_shift fields from PixFmtInfo, use
...
av_pix_fmt_descriptors log2_chroma_w and log2_chroma_h values instead.
Originally committed as revision 20622 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
4f898e77fb
Revert "Add required header #include to fix 'make checkheaders'."
...
config.h must not be included in that file. The table generator runs
on the host system, but config.h describes the target.
Originally committed as revision 20620 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e137934fae
cosmetics: K&R style, prettyprinting
...
Originally committed as revision 20619 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
c73ce8e259
Mark apply_mdct() function as static; it is only used within the file.
...
Originally committed as revision 20618 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
38264abb06
Use av_pix_fmt_descriptors in avcodec_get_chroma_sub_sample(), rather
...
than the PixFmtInfo x_chroma_shift and y_chroma_shift fields.
Originally committed as revision 20617 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8e861e1b1e
Use av_pix_fmt_descriptors in ff_is_hwaccel_pix_fmt() rather than
...
access the PixFmtInfo.is_hwaccel field which is going to be removed.
Originally committed as revision 20616 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ff09a99ef5
-DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho.
...
Originally committed as revision 20613 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
154f5b5c9b
Add required header #include to fix 'make checkheaders'.
...
Originally committed as revision 20612 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
f2526204a4
Fix nv12/nv21 handling. linesize for plane 1 should account for both chroma
...
planes instead of just doubling the height while computing plane sizes. Also
adjust avpicture_layout() to copy the correct amount of data for plane 1.
Originally committed as revision 20610 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
800841fd0c
Support compiling against libtheora older than 1.1
...
Originally committed as revision 20609 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
691a4232ee
Make lsp2polyf() function non-static for upcoming usage in SIPR
...
Originally committed as revision 20602 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
096c87f667
Add weightp support in API for libx264.
...
ffmpeg can encode baseline profile again.
Originally committed as revision 20600 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
f3bdc3da15
Call ff_find_hwaccel() after calling avcodec_set_dimensions().
...
Patch by Reimar
Originally committed as revision 20599 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8b4a6d47b2
WMA: extend exponent range to 95
...
Hopefully this will be enough. Fixes issue 1565 (again).
Originally committed as revision 20598 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
d90aeeaf56
Call avcodec_set_dimensions() instead of simply setting avctx->width/height
...
when frame dimensions change in RV3/4.
Originally committed as revision 20595 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
9401357f01
Add missing include. Fix the following compiler warnings:
...
twinvq.c: In function 'decode_lsp':
twinvq.c:575: warning: implicit declaration of function 'ff_sort_nearly_sorted_floats'
Originally committed as revision 20594 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
168f92ffaa
WMA: extend exponent table up to 75
...
Fixes issue 1565.
Originally committed as revision 20593 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
4c66e8849b
Use avcodec_set_dimensions()
...
Originally committed as revision 20591 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago