[vlc-devel] [PATCH 00/17] RFC Split block_t into 2 different data containers

Denis Charmet typx at dinauz.org
Mon Apr 22 19:10:29 CEST 2019


As discussed previously, this long overdue patch propose to split the generic
block_t into two different containers which could be specialized when needed.

I propose to use:
* vlc_data_t for pure data blocks with no timing or discontinuities information.
* vlc_frame_t for timed data with flags.

The vlc_ prefix has been added to prevent namespace clobbering.

* Streams will use vlc_data_t while almost everything else will use vlc_frame_t.
* Demux chained will only accept vlc_data_t as input

This patch is not as complete as it could be since I'd like to be able to
deprecate the data fifos to only keep the frame fifo. Since, imo, the only
"data fifo" are more abused than used. I started the process by rewriting 
the stream fifo without data fifos.

It also shows that there seem to be too many data structure doing the same thing
yet slightly differently (block chains, fifo, bitstream reader, etc...)

Yet I cannot find the best way to overhaul this and will take any suggestion.

Denis Charmet (17):
  Split block_t to vlc_data_t and vlc_frame_t
  Demux: Es Out use vlc_frame_t
  Stream output: Use vlc_frame_t
  Codec: Use vlc_frame_t instead of block_t
  Packetizer: Use vlc_frame_t instead of block_t
  Audio Output: Audio frames are now vlc_frame_t
  Visualization: Audio frames are now vlc_frame_t
  Audio Filter : Audio frames are now vlc_frame_t
  Picture: Use vlc_frame_t for core use constitency
  Audio mixer: Audio frames are now vlc_frame_t
  Stream Filter: Stream use vlc_data_t
  Misc: Split block_t to vlc_frame_t and vlc_data_t
  Remove unused vlc_block.h includes
  Decklink: Audio frames are now vlc_frame_t
  Caca: Use vlc_data_fifo_t to process commands
  Access: Use vlc_frame_t for access demuxers and vlc_data_t for stream
    accesses
  Temporarily disable satip

 extras/analyser/vlc.vim                       |   3 +-
 include/vlc_aout.h                            |  12 +-
 include/vlc_aout_volume.h                     |   2 +-
 include/vlc_block_helper.h                    | 369 ---------------
 include/vlc_boxes.h                           |  10 +-
 include/vlc_codec.h                           |  76 ++--
 include/vlc_common.h                          |   8 +-
 include/vlc_data.h                            | 392 ++++++++++++++++
 include/vlc_data_helper.h                     | 369 +++++++++++++++
 include/vlc_demux.h                           |   4 +-
 include/vlc_es_out.h                          |   6 +-
 include/vlc_filter.h                          |   6 +-
 include/{vlc_block.h => vlc_frame.h}          | 369 +++++++--------
 include/vlc_frame_helper.h                    | 369 +++++++++++++++
 include/vlc_httpd.h                           |   2 +-
 include/vlc_image.h                           |   5 +-
 include/vlc_input.h                           |   2 +-
 include/vlc_picture.h                         |   3 +-
 include/vlc_sout.h                            |  19 +-
 include/vlc_stream.h                          |  21 +-
 include/vlc_stream_extractor.h                |   8 +-
 include/vlc_threads.h                         |   2 +-
 include/vlc_vout.h                            |   2 +-
 lib/picture.c                                 |   5 +-
 lib/picture_internal.h                        |   2 +-
 modules/access/Makefile.am                    |   2 +-
 modules/access/alsa.c                         |  20 +-
 modules/access/avaudiocapture.m               |   2 +-
 modules/access/avcapture.m                    |  22 +-
 modules/access/avio.c                         |  10 +-
 modules/access/bluray.c                       |  58 +--
 modules/access/cdda.c                         |  16 +-
 modules/access/concat.c                       |   2 +-
 modules/access/dc1394.c                       |  32 +-
 modules/access/dcp/dcp.cpp                    |  12 +-
 modules/access/decklink.cpp                   |  16 +-
 modules/access/dshow/dshow.cpp                |  22 +-
 modules/access/dtv/access.c                   |   8 +-
 modules/access/dtv/bdagraph.cpp               |  14 +-
 modules/access/dtv/bdagraph.hpp               |   6 +-
 modules/access/dv.c                           |  24 +-
 modules/access/dvb/access.c                   |   6 +-
 modules/access/dvb/scan.c                     |  18 +-
 modules/access/dvb/scan.h                     |   2 +-
 modules/access/dvdnav.c                       |  22 +-
 modules/access/dvdread.c                      |  10 +-
 modules/access/ftp.c                          |   8 +-
 modules/access/http/access.c                  |   8 +-
 modules/access/http/chunked.c                 |  10 +-
 modules/access/http/chunked_test.c            |  14 +-
 modules/access/http/file.c                    |   6 +-
 modules/access/http/file.h                    |   4 +-
 modules/access/http/file_test.c               |   2 +-
 modules/access/http/h1conn.c                  |   8 +-
 modules/access/http/h1conn_test.c             |  14 +-
 modules/access/http/h2conn.c                  |   6 +-
 modules/access/http/h2conn_test.c             |   8 +-
 modules/access/http/live.c                    |   4 +-
 modules/access/http/live.h                    |   4 +-
 modules/access/http/message.c                 |   2 +-
 modules/access/http/message.h                 |  10 +-
 modules/access/http/resource.c                |   2 +-
 modules/access/http/resource.h                |   2 +-
 modules/access/imem.c                         |  10 +-
 modules/access/jack.c                         |  42 +-
 modules/access/linsys/linsys_hdsdi.c          |   4 +-
 modules/access/linsys/linsys_sdi.c            |  16 +-
 modules/access/live555.cpp                    | 155 ++++---
 modules/access/mms/mmsh.c                     |   8 +-
 modules/access/mms/mmstu.c                    |   8 +-
 modules/access/oss.c                          |  54 +--
 modules/access/pulse.c                        |  16 +-
 modules/access/rdp.c                          |  34 +-
 modules/access/rist.c                         |  64 +--
 modules/access/rist.h                         |   7 +-
 modules/access/rtp/input.c                    |  47 +-
 modules/access/rtp/rtp.c                      |  80 +++-
 modules/access/rtp/rtp.h                      |  14 +-
 modules/access/rtp/session.c                  | 134 +++---
 modules/access/rtp/xiph.c                     |  88 ++--
 modules/access/satip.c                        |  37 +-
 modules/access/screen/mac.c                   |  24 +-
 modules/access/screen/screen.c                |  12 +-
 modules/access/screen/screen.h                |   2 +-
 modules/access/screen/wayland.c               |  22 +-
 modules/access/screen/win32.c                 |  48 +-
 modules/access/screen/xcb.c                   |  26 +-
 modules/access/sdi.c                          |   4 +-
 modules/access/sdi.h                          |   4 +-
 modules/access/shm.c                          |  26 +-
 modules/access/srt.c                          |   6 +-
 modules/access/timecode.c                     |  12 +-
 modules/access/udp.c                          |  22 +-
 modules/access/v4l2/access.c                  |  59 ++-
 modules/access/v4l2/demux.c                   |  76 ++--
 modules/access/v4l2/v4l2.h                    |   2 +-
 modules/access/v4l2/vbi.c                     |  14 +-
 modules/access/v4l2/video.c                   |  16 +-
 modules/access/vcd/vcd.c                      |  10 +-
 modules/access/vnc.c                          |  32 +-
 modules/access/wasapi.c                       |  12 +-
 modules/access_output/dummy.c                 |  10 +-
 modules/access_output/file.c                  |  55 ++-
 modules/access_output/http.c                  |  45 +-
 modules/access_output/livehttp.c              |  59 ++-
 modules/access_output/rist.c                  |  54 +--
 modules/access_output/shout.c                 |  11 +-
 modules/access_output/srt.c                   |  11 +-
 modules/access_output/udp.c                   |  43 +-
 modules/arm_neon/volume.c                     |   8 +-
 modules/audio_filter/audiobargraph_a.c        |   4 +-
 modules/audio_filter/channel_mixer/dolby.c    |   8 +-
 .../audio_filter/channel_mixer/headphone.c    |  32 +-
 modules/audio_filter/channel_mixer/mono.c     |  42 +-
 modules/audio_filter/channel_mixer/remap.c    |  32 +-
 modules/audio_filter/channel_mixer/simple.c   |  68 +--
 .../audio_filter/channel_mixer/simple_neon.h  |   6 +-
 .../channel_mixer/spatialaudio.cpp            |   8 +-
 modules/audio_filter/channel_mixer/trivial.c  |  20 +-
 modules/audio_filter/chorus_flanger.c         |   4 +-
 modules/audio_filter/compressor.c             |   4 +-
 modules/audio_filter/converter/format.c       |  97 ++--
 modules/audio_filter/converter/tospdif.c      |  30 +-
 modules/audio_filter/equalizer.c              |   4 +-
 modules/audio_filter/gain.c                   |   8 +-
 modules/audio_filter/karaoke.c                |  10 +-
 modules/audio_filter/normvol.c                |   6 +-
 modules/audio_filter/param_eq.c               |   4 +-
 modules/audio_filter/resampler/bandlimited.c  |  34 +-
 modules/audio_filter/resampler/soxr.c         |  32 +-
 modules/audio_filter/resampler/speex.c        |  10 +-
 modules/audio_filter/resampler/src.c          |  12 +-
 modules/audio_filter/resampler/ugly.c         |  10 +-
 modules/audio_filter/scaletempo.c             |  16 +-
 .../audio_filter/spatializer/spatializer.cpp  |   4 +-
 modules/audio_filter/stereo_widen.c           |  10 +-
 modules/audio_mixer/float.c                   |   4 +-
 modules/audio_mixer/integer.c                 |  18 +-
 modules/audio_output/adummy.c                 |   4 +-
 modules/audio_output/alsa.c                   |  18 +-
 modules/audio_output/amem.c                   |   6 +-
 modules/audio_output/audiotrack.c             |   8 +-
 modules/audio_output/audiounit_ios.m          |   6 +-
 modules/audio_output/coreaudio_common.c       |  54 +--
 modules/audio_output/coreaudio_common.h       |   6 +-
 modules/audio_output/directsound.c            |  16 +-
 modules/audio_output/file.c                   |   6 +-
 modules/audio_output/jack.c                   |  20 +-
 modules/audio_output/kai.c                    |   8 +-
 modules/audio_output/mmdevice.c               |   4 +-
 modules/audio_output/mmdevice.h               |   6 +-
 modules/audio_output/opensles_android.c       |  24 +-
 modules/audio_output/oss.c                    |  14 +-
 modules/audio_output/pulse.c                  |  14 +-
 modules/audio_output/sndio.c                  |  58 +--
 modules/audio_output/wasapi.c                 |  20 +-
 modules/audio_output/waveout.c                |  26 +-
 modules/audio_output/winstore.c               |   4 +-
 modules/codec/a52.c                           |  12 +-
 modules/codec/adpcm.c                         |  56 +--
 modules/codec/aes3.c                          | 132 +++---
 modules/codec/aom.c                           |  42 +-
 modules/codec/araw.c                          |  50 +-
 modules/codec/arib/aribsub.c                  |  24 +-
 modules/codec/audiotoolbox_midi.c             |  40 +-
 modules/codec/avcodec/audio.c                 | 138 +++---
 modules/codec/avcodec/encoder.c               |  90 ++--
 modules/codec/avcodec/subtitle.c              |  62 +--
 modules/codec/avcodec/video.c                 | 118 ++---
 modules/codec/bpg.c                           |  20 +-
 modules/codec/cc.c                            |  66 +--
 modules/codec/cdg.c                           |  22 +-
 modules/codec/crystalhd.c                     |  24 +-
 modules/codec/cvdsub.c                        |  82 ++--
 modules/codec/daala.c                         |  74 +--
 modules/codec/dav1d.c                         |  24 +-
 modules/codec/dca.c                           |   8 +-
 modules/codec/ddummy.c                        |  18 +-
 modules/codec/dmo/buffer.c                    |  12 +-
 modules/codec/dmo/dmo.c                       | 118 ++---
 modules/codec/dmo/dmo.h                       |   6 +-
 modules/codec/dvbsub.c                        |  60 +--
 modules/codec/edummy.c                        |   8 +-
 modules/codec/faad.c                          | 100 ++--
 modules/codec/fdkaac.c                        |  44 +-
 modules/codec/flac.c                          |  86 ++--
 modules/codec/fluidsynth.c                    |  42 +-
 modules/codec/g711.c                          |  54 +--
 modules/codec/gstreamer/gstdecode.c           |  48 +-
 modules/codec/hxxx_helper.c                   | 146 +++---
 modules/codec/hxxx_helper.h                   |  16 +-
 modules/codec/jpeg.c                          |  44 +-
 modules/codec/kate.c                          |  70 +--
 modules/codec/libass.c                        |  42 +-
 modules/codec/libmpeg2.c                      |  74 +--
 modules/codec/lpcm.c                          | 220 ++++-----
 modules/codec/mad.c                           |  48 +-
 modules/codec/mft.c                           |  44 +-
 modules/codec/mpg123.c                        |  46 +-
 modules/codec/oggspots.c                      |  76 ++--
 modules/codec/omxil/mediacodec.c              | 258 +++++------
 modules/codec/omxil/omxil.c                   | 110 ++---
 modules/codec/omxil/omxil_core.c              |   2 +-
 modules/codec/omxil/utils.c                   |   2 +-
 modules/codec/opus.c                          |  94 ++--
 modules/codec/png.c                           |  80 ++--
 modules/codec/qsv.c                           |  68 +--
 modules/codec/rawvideo.c                      |  76 ++--
 modules/codec/rtpvideo.c                      |  14 +-
 modules/codec/schroedinger.c                  | 122 ++---
 modules/codec/scte18.c                        |  18 +-
 modules/codec/scte27.c                        |   6 +-
 modules/codec/sdl_image.c                     |  22 +-
 modules/codec/shine.c                         | 100 ++--
 modules/codec/spdif.c                         |   8 +-
 modules/codec/speex.c                         | 150 +++---
 modules/codec/spudec/spudec.c                 |  74 +--
 modules/codec/spudec/spudec.h                 |   2 +-
 modules/codec/stl.c                           |  30 +-
 modules/codec/subsdec.c                       |  44 +-
 modules/codec/substx3g.c                      |  58 +--
 modules/codec/subsusf.c                       |  44 +-
 modules/codec/svcdsub.c                       |  76 ++--
 modules/codec/svg.c                           |  20 +-
 modules/codec/t140.c                          |  24 +-
 modules/codec/telx.c                          |  30 +-
 modules/codec/textst.c                        |  22 +-
 modules/codec/theora.c                        |  76 ++--
 modules/codec/ttml/substtml.c                 |  52 +--
 modules/codec/ttml/ttmlpes.h                  |  52 +--
 modules/codec/twolame.c                       |  40 +-
 modules/codec/uleaddvaudio.c                  |  46 +-
 modules/codec/videotoolbox.m                  | 100 ++--
 modules/codec/vorbis.c                        | 104 ++---
 modules/codec/vpx.c                           |  36 +-
 modules/codec/webvtt/encvtt.c                 |  14 +-
 modules/codec/webvtt/subsvtt.c                |  18 +-
 modules/codec/x264.c                          |  34 +-
 modules/codec/x265.c                          |  24 +-
 modules/codec/xwd.c                           |  28 +-
 modules/codec/zvbi.c                          |  46 +-
 modules/demux/adaptive/ChunksSource.hpp       |   2 +-
 modules/demux/adaptive/Streams.cpp            |   4 +-
 modules/demux/adaptive/Streams.hpp            |   4 +-
 modules/demux/adaptive/http/Chunk.cpp         |  48 +-
 modules/demux/adaptive/http/Chunk.h           |  28 +-
 modules/demux/adaptive/mp4/AtomsReader.cpp    |   2 +-
 modules/demux/adaptive/mp4/AtomsReader.hpp    |   2 +-
 modules/demux/adaptive/playlist/Segment.cpp   |   2 +-
 modules/demux/adaptive/playlist/Segment.h     |   2 +-
 .../demux/adaptive/playlist/SegmentChunk.cpp  |   4 +-
 .../demux/adaptive/playlist/SegmentChunk.hpp  |   2 +-
 .../demux/adaptive/plumbing/CommandsQueue.cpp |  26 +-
 .../demux/adaptive/plumbing/CommandsQueue.hpp |   6 +-
 modules/demux/adaptive/plumbing/FakeESOut.cpp |  16 +-
 modules/demux/adaptive/plumbing/FakeESOut.hpp |   2 +-
 .../demux/adaptive/plumbing/SourceStream.cpp  |  24 +-
 .../demux/adaptive/plumbing/SourceStream.hpp  |   8 +-
 modules/demux/adaptive/tools/Retrieve.cpp     |   4 +-
 modules/demux/adaptive/tools/Retrieve.hpp     |   2 +-
 modules/demux/aiff.c                          |  12 +-
 modules/demux/asf/asf.c                       |  18 +-
 modules/demux/asf/asfpacket.c                 |   8 +-
 modules/demux/asf/asfpacket.h                 |   4 +-
 modules/demux/au.c                            |  12 +-
 modules/demux/av1_unpack.h                    |  52 +--
 modules/demux/avformat/demux.c                |  16 +-
 modules/demux/avformat/mux.c                  |  17 +-
 modules/demux/avi/avi.c                       |  44 +-
 modules/demux/caf.c                           |  14 +-
 modules/demux/cdg.c                           |  16 +-
 modules/demux/dash/DASHManager.cpp            |   9 +-
 modules/demux/dash/DASHStream.cpp             |   2 +-
 modules/demux/dash/DASHStream.hpp             |   2 +-
 modules/demux/dash/mp4/IndexReader.cpp        |   2 +-
 modules/demux/dash/mp4/IndexReader.hpp        |   2 +-
 modules/demux/dash/mpd/DASHSegment.cpp        |   4 +-
 modules/demux/dash/mpd/DASHSegment.h          |   2 +-
 modules/demux/demuxdump.c                     |  12 +-
 modules/demux/flac.c                          | 128 +++---
 modules/demux/gme.c                           |  30 +-
 modules/demux/hls/HLSStreams.cpp              |   2 +-
 modules/demux/hls/HLSStreams.hpp              |   2 +-
 modules/demux/hls/playlist/HLSSegment.cpp     |   8 +-
 modules/demux/hls/playlist/HLSSegment.hpp     |   2 +-
 modules/demux/hls/playlist/M3U8.cpp           |   5 +-
 modules/demux/hls/playlist/Parser.cpp         |   4 +-
 modules/demux/image.c                         |  34 +-
 modules/demux/mjpeg.c                         |  14 +-
 modules/demux/mkv/mkv.cpp                     |  20 +-
 modules/demux/mkv/util.cpp                    | 100 ++--
 modules/demux/mkv/util.hpp                    |  12 +-
 modules/demux/mock.c                          |  54 +--
 modules/demux/mod.c                           |   6 +-
 modules/demux/mp4/heif.c                      |  56 +--
 modules/demux/mp4/libmp4.c                    |   6 +-
 modules/demux/mp4/mp4.c                       | 190 ++++----
 modules/demux/mpc.c                           |   6 +-
 modules/demux/mpeg/es.c                       |  98 ++--
 modules/demux/mpeg/h26x.c                     |  36 +-
 modules/demux/mpeg/mpgv.c                     |  26 +-
 modules/demux/mpeg/ps.c                       |  30 +-
 modules/demux/mpeg/ps.h                       |  14 +-
 modules/demux/mpeg/ts.c                       | 354 +++++++--------
 modules/demux/mpeg/ts_hotfixes.c              |  18 +-
 modules/demux/mpeg/ts_metadata.c              |  10 +-
 modules/demux/mpeg/ts_scte.c                  |  12 +-
 modules/demux/mpeg/ts_sl.c                    |  36 +-
 modules/demux/mpeg/ts_streams.c               |   4 +-
 modules/demux/mpeg/ts_streams.h               |   4 +-
 modules/demux/mpeg/ts_streams_private.h       |   8 +-
 modules/demux/nsv.c                           |  14 +-
 modules/demux/nuv.c                           |  34 +-
 modules/demux/ogg.c                           | 134 +++---
 modules/demux/ogg.h                           |   8 +-
 modules/demux/pva.c                           |  40 +-
 modules/demux/rawaud.c                        |  12 +-
 modules/demux/rawdv.c                         |  18 +-
 modules/demux/rawdv.h                         |  42 +-
 modules/demux/rawvid.c                        |  12 +-
 modules/demux/sid.cpp                         |  18 +-
 modules/demux/smf.c                           |  36 +-
 modules/demux/smooth/SmoothManager.cpp        |   8 +-
 modules/demux/smooth/SmoothStream.cpp         |   2 +-
 modules/demux/smooth/SmoothStream.hpp         |   2 +-
 modules/demux/smooth/mp4/IndexReader.cpp      |   2 +-
 modules/demux/smooth/mp4/IndexReader.hpp      |   2 +-
 .../smooth/playlist/ForgedInitSegment.cpp     |  28 +-
 .../smooth/playlist/ForgedInitSegment.hpp     |   2 +-
 modules/demux/smooth/playlist/MemoryChunk.cpp |  16 +-
 modules/demux/smooth/playlist/MemoryChunk.hpp |   8 +-
 .../demux/smooth/playlist/SmoothSegment.cpp   |   4 +-
 .../demux/smooth/playlist/SmoothSegment.hpp   |   2 +-
 modules/demux/stl.c                           |   4 +-
 modules/demux/subtitle.c                      |  46 +-
 modules/demux/timestamps_filter.h             |  14 +-
 modules/demux/tta.c                           |   4 +-
 modules/demux/ttml.c                          |  12 +-
 modules/demux/ty.c                            | 212 ++++-----
 modules/demux/vc1.c                           |  28 +-
 modules/demux/vobsub.c                        |  32 +-
 modules/demux/voc.c                           |  22 +-
 modules/demux/wav.c                           |  14 +-
 modules/demux/webvtt.c                        |  50 +-
 modules/demux/xa.c                            |  14 +-
 modules/gui/skins2/parser/xmlparser.hpp       |   1 -
 modules/hw/mmal/codec.c                       |  40 +-
 modules/misc/gnutls.c                         |  12 +-
 modules/misc/medialibrary/Thumbnailer.cpp     |  10 +-
 modules/misc/rtsp.c                           |  30 +-
 modules/misc/stats.c                          |  50 +-
 modules/misc/xml/libxml.c                     |   1 -
 modules/mux/asf.c                             |  58 +--
 modules/mux/av1_pack.h                        |  44 +-
 modules/mux/avi.c                             |  48 +-
 modules/mux/dummy.c                           |  13 +-
 modules/mux/mp4/libmp4mux.c                   |   4 +-
 modules/mux/mp4/mp4.c                         | 170 +++----
 modules/mux/mpeg/pes.c                        |  26 +-
 modules/mux/mpeg/pes.h                        |   2 +-
 modules/mux/mpeg/ps.c                         |  46 +-
 modules/mux/mpeg/tables.c                     |  22 +-
 modules/mux/mpeg/tables.h                     |   2 +-
 modules/mux/mpeg/ts.c                         | 164 +++----
 modules/mux/mpeg/tsutil.c                     |  10 +-
 modules/mux/mpeg/tsutil.h                     |   4 +-
 modules/mux/mpjpeg.c                          |  14 +-
 modules/mux/ogg.c                             |  72 +--
 modules/mux/wav.c                             |  28 +-
 modules/packetizer/a52.c                      |  94 ++--
 modules/packetizer/av1.c                      | 150 +++---
 modules/packetizer/avparser.c                 |  42 +-
 modules/packetizer/avparser.h                 |   1 -
 modules/packetizer/copy.c                     |  94 ++--
 modules/packetizer/dts.c                      |  94 ++--
 modules/packetizer/flac.c                     |  86 ++--
 modules/packetizer/h264.c                     | 238 +++++-----
 modules/packetizer/h264_nal.c                 |   2 +-
 modules/packetizer/h264_nal.h                 |  12 +-
 modules/packetizer/hevc.c                     | 194 ++++----
 modules/packetizer/hxxx_common.c              |  35 +-
 modules/packetizer/hxxx_common.h              |   8 +-
 modules/packetizer/hxxx_nal.c                 |  68 +--
 modules/packetizer/hxxx_nal.h                 |   2 +-
 modules/packetizer/hxxx_sei.c                 |   2 +-
 modules/packetizer/mjpeg.c                    |  22 +-
 modules/packetizer/mlp.c                      |  72 +--
 modules/packetizer/mpeg4audio.c               | 182 ++++----
 modules/packetizer/mpeg4video.c               |  80 ++--
 modules/packetizer/mpegaudio.c                | 104 ++---
 modules/packetizer/mpegvideo.c                | 118 ++---
 modules/packetizer/packetizer_helper.h        |  98 ++--
 modules/packetizer/vc1.c                      | 132 +++---
 modules/spu/marq.c                            |   1 -
 modules/spu/rss.c                             |   1 -
 modules/stream_filter/aribcam.c               |  12 +-
 modules/stream_filter/cache_block.c           |  35 +-
 modules/stream_filter/skiptags.c              |  22 +-
 modules/stream_filter/vlc_data_helper.h       | 157 +++++++
 modules/stream_out/autodel.c                  |   8 +-
 modules/stream_out/bridge.c                   |  35 +-
 modules/stream_out/chromaprint.c              |  12 +-
 modules/stream_out/chromecast/cast.cpp        | 116 ++---
 modules/stream_out/cycle.c                    |  20 +-
 modules/stream_out/delay.c                    |  20 +-
 modules/stream_out/description.c              |   7 +-
 modules/stream_out/display.c                  |   8 +-
 modules/stream_out/dlna/dlna.cpp              |   5 +-
 modules/stream_out/dummy.c                    |   8 +-
 modules/stream_out/duplicate.c                |  12 +-
 modules/stream_out/es.c                       |   4 +-
 modules/stream_out/gather.c                   |   8 +-
 modules/stream_out/mosaic_bridge.c            |   8 +-
 modules/stream_out/record.c                   |  70 +--
 modules/stream_out/rtcp.c                     |   4 +-
 modules/stream_out/rtp.c                      |  52 +--
 modules/stream_out/rtp.h                      |   8 +-
 modules/stream_out/rtpfmt.c                   | 223 +++++----
 modules/stream_out/sdi/AES3Audio.cpp          |  20 +-
 modules/stream_out/sdi/AES3Audio.hpp          |   7 +-
 modules/stream_out/sdi/DBMSDIOutput.cpp       |  26 +-
 modules/stream_out/sdi/DBMSDIOutput.hpp       |   6 +-
 modules/stream_out/sdi/SDIAudioMultiplex.cpp  |  20 +-
 modules/stream_out/sdi/SDIAudioMultiplex.hpp  |   2 +-
 modules/stream_out/sdi/SDIOutput.cpp          |   6 +-
 modules/stream_out/sdi/SDIOutput.hpp          |   4 +-
 modules/stream_out/sdi/SDIStream.cpp          |  37 +-
 modules/stream_out/sdi/SDIStream.hpp          |  20 +-
 modules/stream_out/setid.c                    |   4 +-
 modules/stream_out/smem.c                     |  23 +-
 modules/stream_out/standard.c                 |   2 +-
 modules/stream_out/stats.c                    |  28 +-
 modules/stream_out/transcode/audio.c          |  22 +-
 modules/stream_out/transcode/encoder/audio.c  |  14 +-
 .../stream_out/transcode/encoder/encoder.c    |  10 +-
 .../stream_out/transcode/encoder/encoder.h    |   6 +-
 .../transcode/encoder/encoder_priv.h          |  12 +-
 modules/stream_out/transcode/encoder/spu.c    |   2 +-
 modules/stream_out/transcode/encoder/video.c  |  30 +-
 modules/stream_out/transcode/spu.c            |  10 +-
 modules/stream_out/transcode/transcode.c      |   8 +-
 modules/stream_out/transcode/transcode.h      |  10 +-
 modules/stream_out/transcode/video.c          |  18 +-
 modules/stream_out/vod.c                      |  26 +-
 modules/video_output/caca.c                   |  20 +-
 modules/video_output/decklink.cpp             |   7 +-
 modules/visualization/glspectrum.c            |  38 +-
 modules/visualization/goom.c                  |  64 +--
 modules/visualization/projectm.cpp            |   4 +-
 modules/visualization/visual/effects.c        |  12 +-
 modules/visualization/visual/visual.c         |  22 +-
 modules/visualization/visual/visual.h         |   2 +-
 modules/visualization/vsxu.cpp                |   4 +-
 po/POTFILES.in                                |   9 +-
 src/Makefile.am                               |   8 +-
 src/audio_output/aout_internal.h              |   4 +-
 src/audio_output/dec.c                        |  44 +-
 src/audio_output/filters.c                    |  68 +--
 src/audio_output/volume.c                     |   4 +-
 src/check_symbols                             |   2 +-
 src/input/access.c                            |   4 +-
 src/input/decoder.c                           | 198 ++++----
 src/input/demux_chained.c                     |   5 +-
 src/input/es_out.c                            |  34 +-
 src/input/es_out_timeshift.c                  |  74 +--
 src/input/stream.c                            | 118 ++---
 src/input/stream_extractor.c                  |   2 +-
 src/input/stream_fifo.c                       | 115 ++---
 src/libvlccore.sym                            |  59 ++-
 src/misc/data.c                               | 426 ++++++++++++++++++
 src/misc/fifo.c                               | 258 +++++++++--
 src/misc/{block.c => frame.c}                 | 246 +++++-----
 src/misc/image.c                              |  50 +-
 src/misc/picture.c                            |  13 +-
 src/missing.c                                 |  12 +-
 src/modules/bank.c                            |   8 +-
 src/modules/cache.c                           |  34 +-
 src/modules/modules.h                         |   2 +-
 src/network/httpd.c                           |  14 +-
 src/stream_output/stream_output.c             |  34 +-
 src/stream_output/stream_output.h             |   2 +-
 src/test/block_test.c                         | 125 +++--
 src/video_output/display.c                    |   1 -
 src/video_output/snapshot.c                   |   4 +-
 src/video_output/snapshot.h                   |   2 +-
 src/video_output/video_output.c               |   2 +-
 src/video_output/vout_intf.c                  |   6 +-
 test/modules/packetizer/helpers.c             |   4 +-
 test/modules/packetizer/hxxx.c                |   6 +-
 test/src/input/decoder.c                      |  26 +-
 test/src/input/decoder.h                      |   2 +-
 test/src/input/demux-run.c                    |   4 +-
 test/src/input/stream_fifo.c                  |  20 +-
 493 files changed, 10109 insertions(+), 8438 deletions(-)
 delete mode 100644 include/vlc_block_helper.h
 create mode 100644 include/vlc_data.h
 create mode 100644 include/vlc_data_helper.h
 rename include/{vlc_block.h => vlc_frame.h} (54%)
 create mode 100644 include/vlc_frame_helper.h
 create mode 100644 modules/stream_filter/vlc_data_helper.h
 create mode 100644 src/misc/data.c
 rename src/misc/{block.c => frame.c} (55%)

-- 
2.20.1



More information about the vlc-devel mailing list