summaryrefslogtreecommitdiff
path: root/src/libmpeg2/decode.c
AgeCommit message (Collapse)Author
2007-01-28fix integer/double mistake.Miguel Freitas
funny because the "more accurate" frame duration calculation actually broke a/v sync for ntsc dvds. tsc tsc ;-) fixes #1544349, #1589644 CVS patchset: 8574 CVS date: 2007/01/28 22:46:07
2006-06-23Frame duration calculation cleanups; more accurate calculation.Darren Salt
CVS patchset: 8072 CVS date: 2006/06/23 18:22:19
2006-06-17Fix strict aliasing rules breakages where possible, enable ↵Diego 'Flameeyes' Pettenò
-fno-strict-aliasing where the breakage is unresolvable, and not enable it globally (decreases performances). CVS patchset: 8048 CVS date: 2006/06/17 15:20:56
2006-02-19fix playing SIF DVDsMiguel Freitas
case where display_height (240) is less than coded_picture_height (256) CVS patchset: 7903 CVS date: 2006/02/19 15:05:07
2006-02-06PATCH: detect aspect ratio changes in MPEG2 videoMiguel Freitas
CVS patchset: 7883 CVS date: 2006/02/06 12:54:17
2005-06-17Detect AFD information in MPEG2 streams and make the information availableDarren Salt
to front-ends. (Reinhard Nissl) gxine (CVS HEAD) is aware of this information. CVS patchset: 7628 CVS date: 2005/06/17 22:33:01
2005-05-06**BUGFIX**Thomas Hellström
improve xxmc cpu-usage for IDCT / MOCOMP acceleration through better locking [bug #1195282] CVS patchset: 7524 CVS date: 2005/05/06 07:42:20
2005-05-03**BUGFIX**Thomas Hellström
Fixed xvmc plugin segfault when it tried software blending on nonexistant xv image. Cleaned up libmpeg2 behaviour on xxmc plugin abrupt software fallback. CVS patchset: 7516 CVS date: 2005/05/03 19:25:10
2005-04-09**BUGFIX**Thomas Hellström
Multiple slice-per-rows (HDTV) fixes in the libmpeg2 code, particularly regarding VLD XvMC. Cleaned up hardware acceleration hooks in libmpeg2. Fixed X include path searching while configure detects XvMC support. CVS patchset: 7449 CVS date: 2005/04/09 11:22:14
2005-02-22XvMC update largely courtesy of Kendall Bennet, Scitechsoft:Thomas Hellström
* Fix surface flushing and syncing (xxmc / xvmc) * Fix clearing of macro block lists (xxmc / xvmc) * Remove floating point operations from mpeg demuxer. Degrades performance on non-fp capable hardware. * Remove unnecessary software MC step * Fix Quantization matrix ordering which caused bad picture quality (KB/TH) * Minor optimizations in the libmpeg2 code * Fix VLD flushing at video discontinuity (TH) CVS patchset: 7424 CVS date: 2005/02/22 18:31:33
2005-01-30**BUGFIX**Thomas Hellström
Bug 1092411 Makes XvMC handle cases where each slice is split into more than two parts. This got broken on IDCT / MOCOMP with a previous commit to fix a search segfault. Has never worked before with VLD. Still IDCT / MOCOMP exhibit bad picture quality in this case but not worse than before it got broken. CVS patchset: 7375 CVS date: 2005/01/30 18:01:25
2004-12-16use UTF-8 meta info setting, where we know the string is ASCIIMichael Roitzsch
(costly conversion is not necessary, because ASCII is a subset of UTF-8) CVS patchset: 7264 CVS date: 2004/12/16 13:58:57
2004-11-13Fixed segfault when seeking with the "xvmc" and "xxmc" plugins playingThomas Hellström
files with IDCT / mocomp XvMC acceleration. Cleaned up some ugly xvmc / xxmc naming. CVS patchset: 7122 CVS date: 2004/11/13 19:32:51
2004-10-27old commentMiguel Freitas
CVS patchset: 7078 CVS date: 2004/10/27 14:14:20
2004-10-12xxmc driver updates:Thomas Hellström
Updated software fallback mechanism to be compatible with post plugin deinterlacing. A decoder using the plugin can now request a software fallback format to be used if acceleration fails. Removed the software deinterlacer that was inherited from the xv plugin. Made idct/mocomp fall back to software decoding for interlaced streams, since these are not rendered correctly either with the xvmc or the xxmc plugin. CVS patchset: 7029 CVS date: 2004/10/12 07:40:07
2004-09-28xxmc patch by Thomas Hellstrom (with some changes)Miguel Freitas
there is still some work to do, please report any breakages. note: new xxmc driver tested with both nvidia and via libraries. CVS patchset: 7007 CVS date: 2004/09/28 18:49:38
2004-09-22- added cropping capability (thanks James Stembridge)Miguel Freitas
- some vo drivers support cropping natively. (only xv and xvmc have been tested) - add software crop fallback to video_out.c - skip yuv2rgb processing at xshm for not yet cropped frames (these frames are never shown) - libmpeg2 and ffmpeg now may use crop support - bump vo api. (changes to xvmc/xxmc will follow) CVS patchset: 6991 CVS date: 2004/09/22 20:29:13
2004-07-14use correct frame flags for adjusting duration.Miguel Freitas
fixes sailor_moon_op_frag.mpg duration problem (wrong duration for frames marked as progressive) CVS patchset: 6794 CVS date: 2004/07/14 22:27:10
2004-03-14hey, I've always wondered who was in charge of all that MPEG decodingMike Melanson
CVS patchset: 6251 CVS date: 2004/03/14 20:40:39
2004-01-19Make sure INFO is accurate.James Courtier-Dutton
CVS patchset: 6055 CVS date: 2004/01/19 19:23:18
2003-12-24stupid me... mpeg1 is always progressive.Miguel Freitas
CVS patchset: 5942 CVS date: 2003/12/24 13:34:17
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-11-16New stream/meta info (safe) stuff.Daniel Caujolle-Bert
BIG NOTE: use helpers to access to these informations (get/set/reset): _x_{stream,meta}_info_{get,set,reset}() are for internal use, don't use *_public() ones from inside the beast ;-) Some wrongly names "xine_" fonction renaming. CVS patchset: 5757 CVS date: 2003/11/16 23:33:42
2003-11-15start xine_stream_t separation (public/private).Miguel Freitas
(we should finish this before rc3.) - stream_info and meta_info variables are private now. obs: everything must be recompiled due xine_stream_t changes CVS patchset: 5733 CVS date: 2003/11/15 14:54:30
2003-11-15more helper functions cleanup (stream info, meta info)Miguel Freitas
CVS patchset: 5731 CVS date: 2003/11/15 13:01:00
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-10-06- add XvMC supportMiguel Freitas
- bump vo and post interface versions obs: video_out_xvmc.c needs some more work, see todo. CVS patchset: 5459 CVS date: 2003/10/06 21:52:42
2003-09-01that should fix mpeg1 aspect ratio as reported by Gert VervoortMiguel Freitas
CVS patchset: 5328 CVS date: 2003/09/01 20:12:36
2003-08-05handle dvdnav aspect force hints correctly with pan&scanMichael Roitzsch
CVS patchset: 5250 CVS date: 2003/08/05 15:09:23
2003-08-04support for arbitrary aspect ratiosMiguel Freitas
patch by Philip Jgenstedt CVS patchset: 5243 CVS date: 2003/08/04 03:47:09
2003-06-11- add VO_INTERLACED_FLAG to get_frameMiguel Freitas
- do not trust progressive_frame for detecting NTSC 3:2, quote: 'the alternating progressive_frame encoding problem. This is a problem where the progressive_frame flag alternates between true and false every frame, when it really should have been set to "true" all the time.' 'There is a lot of content that is affected by this issue, because it's caused by a dumb decision by a very big company that made a very popular MPEG encoder. They've since fixed the encoder, but there are apparently still authoring companies that use it, because the problem is on a lot of high-profile current discs, like Disney's "Monsters Inc." and "Beauty and the Beast".' http://www.hometheaterhifi.com/volume_8_2/dvd-benchmark-special-report-chroma-bug-4-2001.html CVS patchset: 5025 CVS date: 2003/06/11 23:08:54
2003-06-03progressive_frame flag may be used to select how to convert yv12->yuy2Miguel Freitas
CVS patchset: 5003 CVS date: 2003/06/03 03:33:15
2003-05-23fix the miscalculates and then copy'n'pasted durations we discovered some ↵Michael Roitzsch
time ago CVS patchset: 4904 CVS date: 2003/05/23 10:52:40
2003-05-04- width and height metainfo in mpeg streamsBastien Nocera
CVS patchset: 4759 CVS date: 2003/05/04 00:56:51
2003-04-29sometimes old frames are displayed after a seek (reset)Miguel Freitas
mark them as bad so that doesn't happen obs: i'm aware this is a delicate code, please report if this change causes any problems (like with dvd menus). i hope it won't. CVS patchset: 4706 CVS date: 2003/04/29 13:47:48
2003-04-06OGM subtitles by andreas heinchen, cosmeticsGuenter Bartsch
CVS patchset: 4543 CVS date: 2003/04/06 01:17:10
2003-03-23is_frame_needed seems to drop too much: we should still parse the complete ↵Michael Roitzsch
stream but just do not output any frames some DVD menus, where is_frame_needed seems to skip something important for decoding should work now, while we should still see no artifacts on seeking CVS patchset: 4470 CVS date: 2003/03/23 14:58:33
2003-03-17fix decoder reset: when waiting for I and P frames, to get the necessary ↵Michael Roitzsch
reference frames, we have to evaluate the frame types earlier, because on some DVDs with interlaced NTSC material, the fields of the frames are interwoven in a way that would overwrite the frame type with a new value before we evaluate it, this leads to xine endlessly waiting for I or P frames. enabling seek_mode on decoder reset also fixes some seeking artifacts CVS patchset: 4437 CVS date: 2003/03/17 15:25:10
2003-02-26Fix blockiness after seeking MPEG-2 streamsEwald Snel
CVS patchset: 4287 CVS date: 2003/02/26 06:49:23
2003-01-08fixes/cleanups of the handled/unhandled codecsMiguel Freitas
for more information see message on xine-devel CVS patchset: 3818 CVS date: 2003/01/08 01:02:27
2003-01-07oops, wrong _infoDaniel Caujolle-Bert
CVS patchset: 3811 CVS date: 2003/01/07 16:48:57
2003-01-07meta info HANDLED was missedDaniel Caujolle-Bert
CVS patchset: 3809 CVS date: 2003/01/07 16:27:26
2003-01-05fix decoding of dolbydigitaltemple streamMiguel Freitas
CVS patchset: 3794 CVS date: 2003/01/05 21:40:37
2002-12-26- cleanup internal interfaces for rewiringMiguel Freitas
- fix UI_PLAYBACK_FINISHED rifle CVS patchset: 3686 CVS date: 2002/12/26 21:53:41
2002-12-22mmm hmmm...that's nice, but we don't need to hear about it all theMike Melanson
time... CVS patchset: 3635 CVS date: 2002/12/22 22:36:58
2002-12-09- remove unneeded event listener thread, the real deadlock has already been ↵Michael Roitzsch
fixed - send an additional frame format event, so that the CC decoder knows initial size CVS patchset: 3473 CVS date: 2002/12/09 21:56:28
2002-12-09fix CC-decoding related deadlocksChristian Vogler
CVS patchset: 3472 CVS date: 2002/12/09 21:24:35
2002-12-06embed closed caption decoding again (needs testing)Michael Roitzsch
CVS patchset: 3445 CVS date: 2002/12/06 17:29:14
2002-11-20engine modifications to allow post plugin layer:Michael Roitzsch
* new public output interface xine_{audio,video}_port_t instead of xine_{ao,vo}_driver_t, old names kept as aliases for compatibility * modified the engine to allow multiple streams per output * renaming of some internal structures according to public changes * moving SCR out of per-stream-metronom into a global metronom_clock_t residing in xine_t and therefore easily available to the output layer * adapting all available plugins (note to external projects: the compiler will help you a lot, if a plugin compiles, it is adapted, because all changes add new parameters to some functions) * bump up all interface versions because of xine_t and xine_stream_t changes CVS patchset: 3312 CVS date: 2002/11/20 11:57:38
2002-11-12merge metronom's improvements (inform decoders about discontinuities)Miguel Freitas
http://sourceforge.net/mailarchive/forum.php?thread_id=1297475&forum_id=7131 CVS patchset: 3250 CVS date: 2002/11/12 18:40:50