mbox series

[FFmpeg-devel,00/12] Use generated semantic for Matroska demuxer

Message ID 20221106150854.9528-1-robux4@ycbcr.xyz
Headers show
Series Use generated semantic for Matroska demuxer | expand


Steve Lhomme Nov. 6, 2022, 3:08 p.m. UTC
From: robux4 <robux4@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