[FFmpeg-devel] [PATCH] DVB EPG decoder

Anthony Delannoy anthony.2lannoy at gmail.com
Thu Aug 22 17:26:44 EEST 2019


Hi

> > fails to build on MIPS
>
> Seems to be because of these two structs within EPGTable and EPGSubTable:
> +    struct {
> +        int nb_descriptors;
> +        void **descriptors;
> +    };

I made modifications to avoid issues you encountered and put fate
modifications in the right commit(s).

> Afaict, some patches change files that were added in earlier patches. This may
> not be ideal.

I committed changements to files (dvb.{h,c}) I added earlier because I
need descriptors files (dvbdescriptors.{h,c})
before those changes and  descriptors files need the first version of
the dvb file (basic get functions).

> Why are the big api changes necessary at all?

I made those big changements to ease the implementation of all others
DVB tables (i'd like to add support for NIT,
AIT, TDT,... after EPG) by using the same helper functions
(avpriv_dvb_get{8,16,32}()) and especially the same
DVB descriptors code because each descriptor is supported by multiple
table in general.

Anthony Delannoy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avformat-mpegts-add-all-pids-tids.patch
Type: text/x-patch
Size: 4933 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190822/f7ee6ece/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-libavutil-dvb-generic-DvbSectionHeader-struct.patch
Type: text/x-patch
Size: 8005 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190822/f7ee6ece/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-lavf-mpegts-use-generic-struct-functions-from-lavu-d.patch
Type: text/x-patch
Size: 21883 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190822/f7ee6ece/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-lavf-mpegts-EPG-extraction-from-mpegts.patch
Type: text/x-patch
Size: 4224 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190822/f7ee6ece/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lavc-add-EPG-codec-ID.patch
Type: text/x-patch
Size: 1374 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190822/f7ee6ece/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-lavu-dvb-EPG-Sub-Table-structs.patch
Type: text/x-patch
Size: 14476 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190822/f7ee6ece/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-lavu-dvb-descriptors-tables.patch
Type: text/x-patch
Size: 31833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190822/f7ee6ece/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-lavu-dvbdescriptors-descriptors-parsing-API.patch
Type: text/x-patch
Size: 85114 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190822/f7ee6ece/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-lavu-frame-add-AV_FRAME_DATA_EPG_TABLE-side-data-typ.patch
Type: text/x-patch
Size: 817 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190822/f7ee6ece/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-lavc-epgdec-add-EPG-data-decoder.patch
Type: text/x-patch
Size: 11063 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190822/f7ee6ece/attachment-0009.bin>


More information about the ffmpeg-devel mailing list