<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000">
<p>Sorry but I'm new to submitting a patch (this is the first I
done...). Please can you explain what</p>
<p>did you mean with "separate demux and codec" ? I made two
separate files. Did you mean <br>
</p>
<p>to make two different patches (one for introducing demux and one
for introducing codec) ?</p>
<p>I wrote the codec (that use the libavcodec too ) because one of
our most used blt format foresee</p>
<p> two separate codestreams, one for luma and one for the two
components of chroma, so not always <br>
</p>
<p>we have merged components.</p>
<p>That is, when I speak of merged components I intend a codestream
with <font color="#ff0000">SOT</font> and <font color="#3366ff">SIZ</font>
like these:</p>
<p><font color="#ff0000">FF 4F</font> <font color="#3366ff">FF 51</font>
00 2F 00 00 00 00 07 80 00 00 02 1C 00 00 00 00 00 00 00 00 00 00
07 80 <br>
</p>
<p>00 00 02 1C 00 00 00 00 00 00 00 00 00 <font color="#33ff33">03
<font color="#ff0000">07</font> 01 01 <font color="#ff0000">07</font>
<font color="#ffcc33">02 01</font> <font color="#ff0000">07</font>
<font color="#ffcc33">02 01</font></font><br>
</p>
<p>so we have <font color="#33ff33">three components</font> each
one of <font color="#ff0000">8 bits</font> in 4:2:2 format (first
compo, luma, is in ratio <font color="#33ff33">1:1</font>,</p>
<p>second and third compo, chroma, is in ratio <font
color="#ffcc33">1:2</font>). In most cases we have a first
codestream:</p>
<p><font color="#ff0000">FF 4F</font> <font color="#3366ff">FF 51</font>
00 29 00 00 00 00 07 80 00 00 02 1C 00 00 00 00 00 00 00 00 00 00
07 80 <br>
</p>
<p>00 00 02 1C 00 00 00 00 00 00 00 00 00 <font color="#33ff33">01</font>
<font color="#ff0000">09</font> 01 01<br>
</p>
<p>for luma ( <font color="#33ff33">1 component </font>at <font
color="#ff0000">10 bit</font> in 1:1 ratio) and after it a
second codestream:</p>
<font color="#ff0000">FF 4F</font> <font color="#3366ff">FF 51</font>
00 2C 00 00 00 00 07 80 00 00 02 1C 00 00 00 00 00 00 00 00 00 00 07
80 <br>
00 00 02 1C 00 00 00 00 00 00 00 00 00 <font color="#33ff33">02</font>
<font color="#ff0000">09</font> 02 01 <font color="#ff0000">09</font>
02 01<br>
<br>
for chroma ( <font color="#33ff33">2 components</font> at <font
color="#ff0000">10 bit</font> in 1:2 ratio). This is why I wrote
the codec too. <br>
Regarding chroma conversion, sorry, but I haven't figured out how to
use the filters for<br>
doing it.<br>
<br>
<p><br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 04/08/2017 17.51, Rémi
Denis-Courmont wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1528711.GKXfh76i3K@basile.remlab.net">
<pre wrap="">Please separate the demux and codec, otherwise it is not possible to review
even the demuxer.
And frankly, you should need neither a codec nor a chroma conversion. We
already have a libavcodec-based JPEG.2000 decoder, and better chroma
conversions.
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
/*******************************************************************\
* Ing. Francesco Cuzzocrea
* company: BLT Italia srl web: <a class="moz-txt-link-freetext" href="http://www.blt.it">http://www.blt.it</a>
* address: via Rosselli, 91 city: Lido di CAMAIORE
* country: ITALY zip: 55043-i
* Tel. : +39 0584 904788 Fax: +39 0584 904789
* e-mail: <a class="moz-txt-link-abbreviated" href="mailto:francesco@bltitalia.com">francesco@bltitalia.com</a>
\*******************************************************************/
-- BLT will be at IBC (15~19 September 2017) - Hall 8, Stand 8.A69 --
</pre>
</body>
</html>