[Matroska-devel] MVC codec in Matroska container

Peter Wimmer (Lists) peter.wimmer.lists at 3dtv.at
Sun Dec 16 14:41:52 CET 2012

I would suggest a more simple solution: When the avcC structure is followed by mvcC (or anything else), it must be complete, thus also include the part that is currently not mentioned in the Matroska spec yet:

if( profile_idc  ==  100  ||  profile_idc  ==  110  ||

   profile_idc  ==  122  ||  profile_idc  ==  144 )  {

   bit(6) reserved = '111111'b;

   unsigned int(2) chroma_format;

   bit(5) reserved = '11111'b;

   unsigned int(3) bit_depth_luma_minus8;

   bit(5) reserved = '11111'b;

   unsigned int(3) bit_depth_chroma_minus8;

   unsigned int(8) numOfSequenceParameterSetExt;

   for (i=0; i< numOfSequenceParameterSetExt; i++) {

      unsigned int(16) sequenceParameterSetExtLength;

      bit(8*sequenceParameterSetExtLength) sequenceParameterSetExtNALUnit;



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20121216/ba132018/attachment.html>

More information about the Matroska-devel mailing list