[gst-devel] MXF-wrapped JPEG2000 decoding
Sebastian Dröge
sebastian.droege at collabora.co.uk
Mon Apr 18 00:27:22 PDT 2011
On Wed, 2011-04-13 at 11:36 +0400, Nicolas Bertrand wrote:
> 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
That's better, yes. But please take a look at the ARGB64 caps, you want
to do something similar to that.
Also how are the 3x12bits packed here? 36 bits and 12 bits padding? Each
component as 16 bits with 2 bits padding?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110418/6c86e98a/attachment.pgp>
More information about the gstreamer-devel
mailing list