[gst-devel] MXF-wrapped JPEG2000 decoding

Nicolas Bertrand nico at inattendu.org
Mon Apr 11 11:46:08 PDT 2011


For structure do you think its correct to have  in video.h smthg like :

add GST_VIDEO_FORMAT_JP2 in GstVideoFormat Enum


#define GST_VIDEO_CAPS_JP2 \
     "video/x-raw-jp2, "                                                 \
     "bpp = (int) 32, "                                                  \
     "depth = (int) 12, "                                                \
     "endianness = (int) BIG_ENDIAN, "                                   \

     "width = " GST_VIDEO_SIZE_RANGE ", "                                \
     "height = " GST_VIDEO_SIZE_RANGE ", "                               \
     "framerate = " GST_VIDEO_FPS_RANGE



> It's not that much work actually
>
> Jasper (the JPEG2000 decoder library used by jp2kdec) supports 12 bit
> per color component. Adding support for this in GStreamer only requires
> to add some enums to libgstvideo for the new formats, implement them in
> all the functions that return the rowstride, component width, etc. and
> then. Afterwards conversion from/to this formats should be added to
> ffmpegcolorspace and jp2kdec should output with these caps if a 12bit
> per component image is found.
>
> If you want to try that feel free to ask further questions on IRC
> (FreeNode, #gstreamer) or on this list.
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110411/5689cd35/attachment.htm>


More information about the gstreamer-devel mailing list