[gst-devel] MXF-wrapped JPEG2000 decoding

Nicolas Bertrand nico at inattendu.org
Wed Apr 13 00:36:51 PDT 2011


Hi I still trying to start ....
For Jpeg2000 with RGB :

If I understand well, we need to switch for 32 to 64 bits represenation ...

Is This caps seems correct ?

#define GST_VIDEO_CAPS_SRGB64 \

     "video/x-raw-rgb, "                                                \

     "bpp = (int) 64, " /* ??or 36 : 2x12 bits per component */         \

     "depth = (int) 12, "                                               \

     "endianness = (int) BIG_ENDIAN, " /* TBC */                        \

     "red_mask = (long)   0xfff0000000000000, "                         \

     "green_mask = (long) 0x0000fff000000000, "                         \

     "blue_mask = (long)  0x0000000fff000000, "                         \

     "alpha_mask = (long) 0x0000000000fff000,                           \

     "width = " GST_VIDEO_SIZE_RANGE ", "                               \

     "height = " GST_VIDEO_SIZE_RANGE ", "                              \

     "framerate = " GST_VIDEO_FPS_RANGE

  


Le 11/04/2011 23:28, Sebastian Dröge a écrit :
> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110413/fabf1c04/attachment-0001.htm>


More information about the gstreamer-devel mailing list