mpv/demux
wm4 758f8f7bd4 demux: always use AVPacket
This is a simplification, because it lets us use the AVPacket
functions, instead of handling the details manually.

It also allows the libavcodec rawvideo decoder to use reference
counting, so it doesn't have to memcpy() the full image data. The change
in av_common.c enables this.

This change is somewhat risky, because we rely on the following AVPacket
implementation details and assumptions:
- av_packet_ref() doesn't access the input padding, and just copies the
  data. By the API, AVPacket is always padded, and we violate this. The
  lavc implementation would have to go out of its way to make this a
  real problem, though.
- We hope that the way we make the AVPacket refcountable in av_common.c
  is actually supported API-usage. It's hard to tell whether it is.

Of course we still use our own "old" demux_packet struct, just so that
libav* API usage is somewhat isolated.
2014-08-25 00:46:26 +02:00
..
codec_tags.c demux: add "BIKb" FourCC 2014-04-08 22:59:53 +02:00
codec_tags.h
demux.c demux: avoid unnecessary wakeups 2014-08-24 13:21:32 +02:00
demux.h demux: enable thread by default 2014-08-16 17:15:51 +02:00
demux_cue.c
demux_disc.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_edl.c
demux_lavf.c demux: always use AVPacket 2014-08-25 00:46:26 +02:00
demux_libass.c demux_libass: change how external ASS subtitles are loaded 2014-03-15 22:17:51 +01:00
demux_mf.c demux_mf: allow seeking past the end 2014-07-30 00:23:16 +02:00
demux_mkv.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_playlist.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
demux_raw.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_subreader.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_tv.c demux: minor simplification 2014-07-06 19:02:21 +02:00
ebml.c demux: minor cleanups 2014-07-01 21:53:23 +02:00
ebml.h demux: minor cleanups 2014-07-01 21:53:23 +02:00
matroska.h demux_mkv: add S_DVBSUB 2014-06-17 22:44:27 +02:00
mf.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
mf.h
ms_hdr.h
packet.c demux: always use AVPacket 2014-08-25 00:46:26 +02:00
packet.h demux: always use AVPacket 2014-08-25 00:46:26 +02:00
stheader.h demux: add a demuxer thread 2014-07-16 23:25:56 +02:00