[FFmpeg-devel] [PATCH 00/12] Use generated semantic for Matroska demuxer
Steve Lhomme
robux4 at ycbcr.xyz
Sun Nov 6 17:08:42 EET 2022
From: robux4 <robux4 at Envy15j.localdomain>
Following an earlier version of the generated code, I reworked to code and move
the generator outside of the FFmpeg source tree.
The XSLT code to generate this code from the EBML Schema for Matroska can be
found at https://github.com/Matroska-Org/foundation-source/pull/116
Steve Lhomme (12):
avformat/matroskadec: fix the default of the TagDefault element
avformat/matroskadec: remove some implicit default value
avformat/matroska: use more consistent spacing in enums
avformat/matroska: move Matroska IDs and enums in a separate header
avformat/matroskadec: move the elements semantic in a separate file
avformat/matroska_ids: move some IDs in separate sections
avformat/matroska_ids: reorder some IDs to match the generated order
avformat/matroskasem: reorder EbmlSyntax tables
avformat/matroskasem: reorder some EbmlSyntax elements
avformat/matroska: use the generated semantic files
avformat/matroska: only export a few elements.
avformat/matroska: add missing elements
libavformat/Makefile | 2 +-
libavformat/matroska.h | 314 +---------------
libavformat/matroska_ids.h | 464 ++++++++++++++++++++++++
libavformat/matroskadec.c | 712 +------------------------------------
libavformat/matroskasem.c | 471 ++++++++++++++++++++++++
libavformat/matroskasem.h | 389 ++++++++++++++++++++
6 files changed, 1327 insertions(+), 1025 deletions(-)
create mode 100644 libavformat/matroska_ids.h
create mode 100644 libavformat/matroskasem.c
create mode 100644 libavformat/matroskasem.h
--
2.20.1
More information about the ffmpeg-devel
mailing list