<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi I still trying to start ....<br>
For Jpeg2000 with RGB :<br>
<br>
If I understand well, we need to switch for 32 to 64 bits
represenation ... <br>
<br>
Is This caps seems correct ? <br>
<br>
<pre>#define GST_VIDEO_CAPS_SRGB64 \</pre>
<pre> "video/x-raw-rgb, " \</pre>
<pre> "bpp = (int) 64, " /* ??or 36 : 2x12 bits per component */ \</pre>
<pre> "depth = (int) 12, " \</pre>
<pre> "endianness = (int) BIG_ENDIAN, " /* TBC */ \</pre>
<pre> "red_mask = (long) 0xfff0000000000000, " \</pre>
<pre> "green_mask = (long) 0x0000fff000000000, " \</pre>
<pre> "blue_mask = (long) 0x0000000fff000000, " \</pre>
<pre> "alpha_mask = (long) 0x0000000000fff000, \</pre>
<pre> "width = " GST_VIDEO_SIZE_RANGE ", " \</pre>
<pre> "height = " GST_VIDEO_SIZE_RANGE ", " \</pre>
<pre> "framerate = " GST_VIDEO_FPS_RANGE</pre>
<pre> </pre>
<br>
Le 11/04/2011 23:28, Sebastian Dröge a écrit :
<blockquote cite="mid:1302550094.2765.24.camel@odin.lan" type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-unicode">
<pre wrap="">No, it's actually RGB or YUV with 12bit per component. You should create
caps that are similar to the other RGB or YUV caps.
</pre>
</div>
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-western">
<pre wrap="">
</pre>
</div>
</blockquote>
<br>
</body>
</html>