Max value for VINT
Ion Iovu <[email protected]> Mon, 5 Sep 2016 22:46:56 +0300
| Newsgroups | gmane.comp.multimedia.matroska.user |
|---|---|
| Message-ID | <[email protected]> |
--===============4825878725119029862== Content-Type: multipart/alternative; boundary="Apple-Mail=_E7C709DB-E9F0-4BC1-A089-63496626450F" --Apple-Mail=_E7C709DB-E9F0-4BC1-A089-63496626450F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi guys.=20 I'd like to know what the maximum value for the VINT is. The RFC draft = <https://matroska.org/contact/index.html> page mention examples of VINT = values with up to a tail of 3 bytes, however no mention of any upper = limit for VINT is mentioned. It can be inferred from the following text: =E2=80=9CSince the highest value is used for unknown size the effective = maximum data size is 2^56-2, using variable size integer width 8.=E2=80=9D= that particularly for element sizes you can only go to at most 8 bytes = (a tail of 7 bytes),=20 2^56-1 is a reserved one, and valid values are in the range 0..2^56-2 However, that does not mean the VINT as a data type is limited by that = value. Is it possible to go with a VINT_ALIGNMENT of more than 8 bits? Thanks, Iovu= --Apple-Mail=_E7C709DB-E9F0-4BC1-A089-63496626450F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">Hi guys. <div class=3D""><br class=3D""></div><div = class=3D"">I'd like to know what the maximum value for the VINT is. = The <a href=3D"https://matroska.org/contact/index.html" = class=3D"">RFC draft</a> page mention examples of VINT values with = up to a tail of 3 bytes, however no mention of any upper limit for VINT = is mentioned.<br class=3D""><div class=3D""><br class=3D""></div><div = class=3D"">It can be inferred from the following text:</div><blockquote = style=3D"margin: 0 0 0 40px; border: none; padding: 0px;" class=3D""><div = class=3D""><br class=3D""></div><div class=3D""><div class=3D"">=E2=80=9CS= ince the highest value is used for unknown size the effective maximum = data size is 2^56-2, using variable size integer width = 8.=E2=80=9D</div></div></blockquote><br class=3D""><div class=3D"">that = particularly for element sizes you can only go to at most 8 bytes (a = tail of 7 bytes), </div><div class=3D"">2^56-1 is a reserved one, = and valid values are in the range 0..2^56-2</div><div class=3D""><br = class=3D""></div><div class=3D"">However, that does not mean the VINT as = a data type is limited by that value.</div></div><div class=3D""><br = class=3D""></div><div class=3D"">Is it possible to go with a = VINT_ALIGNMENT of more than 8 bits?</div><div class=3D""><br = class=3D""></div><div class=3D"">Thanks,</div><div = class=3D"">Iovu</div></body></html>= --Apple-Mail=_E7C709DB-E9F0-4BC1-A089-63496626450F-- --===============4825878725119029862== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Matroska-users mailing list [email protected] https://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user --===============4825878725119029862==--