summaryrefslogtreecommitdiff
path: root/src/video_dec
AgeCommit message (Collapse)Author
2010-12-08Fix field interlace completenessChristophe Thommeret
2010-08-05Silence "progressive:" output.Darren Salt
2010-07-21vdpau: update XINE_STREAM_INFO_FRAME_DURATIONDennis Bendlin
--HG-- extra : rebase_source : 986f546343c08d288d44c3a9ea3a6d4309ace204
2010-07-29Fix NULL pointer access when starting decoding anywhere in the stream.Reinhard Nißl
The referenced last_vcl_nal exists only when decoding starts at an IDR frame. Starting anywhere else may lead to a NULL pointer access.
2010-06-23disable debug logChristophe Thommeret
2010-06-23fix vc1 regressionChristophe Thommeret
2010-06-22fix vc1 advanced profile in mkv.Christophe Thommeret
2010-06-15fix max_dpb_countJulian Scheel
2010-06-13celanup debug printJulian Scheel
2010-06-13require at least 5 frames being marked progressive before switching to ↵Julian Scheel
progressive mode
2010-06-13fix reference markingJulian Scheel
- only mark pictures as reference for vdpau, where actually the slice nals are used for reference
2010-06-13fix debug outputJulian Scheel
2010-06-13fix typo in interlaced/progressive detectionJulian Scheel
2010-06-13fix debug outputJulian Scheel
2010-06-13improve interlaced/progressive detectionJulian Scheel
- only detect before drawing and only once per image insted per field
2010-06-13limit dpb sizeJulian Scheel
- never exceed hard limit of 16 frames in dpb - use max_dec_frame_buffering parameter when set
2010-06-12fix possible segfault in broken streamsJulian Scheel
2010-06-12interlaced/progressive detectionJulian Scheel
implemented a proper detection of interlaced/progressive content to enable deinterlacing only when needed
2010-06-12fix double free of dangling_imgJulian Scheel
2010-06-12fix decoded_picture leakJulian Scheel
wrong list was referenced in dpb_free_all, when clearing the reference picture list. this caused reference pictures not to be freed when stopping
2010-06-12fix field coded contentJulian Scheel
- discard field pairs, when only one field is available (ie at start of stream) - fix tff marking
2010-06-12rewrite vo_frame_t handling for field coded contentJulian Scheel
- fix tff marking - make code easier to read
2010-06-11rework of decoded picture bufferJulian Scheel
- the dpb is using two xine_lists now to manage reference pictures and pictures delayed for output - take VUI num_reorder_frames into account to buffer just as many frames as needed - cleanup reference counting for decoded pictures
2010-05-27vdpau mpeg4 fixes.Christophe Thommeret
2010-05-22mpeg4-part2 vdpau decoder. Set to low priority (too much buggy yet).Christophe Thommeret
2010-05-21Bitstream buffers overflow prevention in vdpau decoders.Christophe Thommeret
2010-04-24fix previous commit, it discared frames too earlyJulian Scheel
2010-04-24fix dpb overflow handlingJulian Scheel
2010-04-17VDPAU VC1: fixes field interlace refframes + skipped frames.Christophe Thommeret
2010-04-09skip stuffing bytesJulian Scheel
properly skip the emulation_prevention_three_byte in the bitstream, which fixes some glitches which could happen whenever such a stuffing byte was in one of the parsed sections
2010-04-09fix freeze on discontinuities/seekingJulian Scheel
completely reinitialise the h264 parser to avoid messup in the dpb which causes unnecessarily long img-locks, that might cause freezes
2010-03-30fix potential deadlock on h264 playbackJulian Scheel
- free vo_frames as early as possible to avoid dead-locks, due to unnecesarily locked frames - ensure that dpb does not exceed given max size --HG-- extra : rebase_source : 107db4ccde8907bba161d3cfd3f964847343664e
2010-02-07Compiler warning fixes.Darren Salt
2010-02-06Minor cleanup (loop conversion, printf args).Darren Salt
2010-02-06Fix leakage of vo_frame_t on reset/flush/disposeJulian Scheel
If a decoded_pic was locally cached, because it is the first half of a reference picture it would not get freed in case of a reset/flush/dispose.
2010-02-06Fix segfault on disposeJulian Scheel
In case of an empty nal_buffer the free method would run into a NULL pointer. Check for this.
2010-02-05Fix freeze/crash on seekingJulian Scheel
When the parser was reset it did not forget about the last pts, which might cause metronom to freeze. On flush the cached vo_frame_t was kept in case the previously decode produced a 1st field and the decoder was waiting for 2nd field now. As on flush all images are released after drawing this could point to a invalid vo_frame_t
2010-01-30fix a memleak with interlaced contentJulian Scheel
some minor cleanups
2010-01-20vdpau_mpeg12: attach a PTS just once to imgReinhard Nißl
Without resetting the buffered PTS it happens that the same PTS gets attached to multiple images which is wrong.
2010-01-20Use pkg-config for vdpau where possible; fix excessive libvdpau linkage.Darren Salt
2010-01-15Fix seekingJulian Scheel
Do not discard the parser, but reset fields that won't be valid after a decoder reset (ie seek) anymore
2010-01-15Cleanup of log messagesChristophe Thommeret
2010-01-15Cleanup of log messages (replace printf calls)Julian Scheel
2010-01-14Don't deinterlace still framesChristophe Thommeret
still frames are marked by the decoder and the video_out will not deinterlace if the flag is set.
2010-01-13Clear VDPAU surfaces on new streams.Christophe Thommeret
2010-01-12always draw still images. a still image is detected by the immediate ↵Julian Scheel
following of an end of sequence mark, so that it is safe to remove backward references after decoding it. this will make the drawing logic work and draw the picture actually this fixed dvd menus with still images in background which were not always drawn
2010-01-11complete rework of the h264 decoderjscheel-guest
coded_picture replaces the abused nal_units, while nal_units are just what their name says. sps and pps are handled in buffers as the spec proposes. pic_num calculation and ref-frame marking reworked to be spec compliant
2009-12-17Merge from 1.2 main.Darren Salt
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-11-24vdpau_mpeg12 pts fixChristophe Thommeret
Fixes audio/video sync in mpeg12 streams.