From 82c2a5cbf830cf8706e2482875f9b7c2b8584fe3 Mon Sep 17 00:00:00 2001 From: Aaron Boxer Date: Wed, 11 May 2016 15:01:32 -0400 Subject: [PATCH] rtpj2k: update documentation https://bugzilla.gnome.org/show_bug.cgi?id=745187 --- gst/rtp/gstrtpj2kdepay.c | 11 +++++++++++ gst/rtp/gstrtpj2kpay.c | 17 +++++++++++------ 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/gst/rtp/gstrtpj2kdepay.c b/gst/rtp/gstrtpj2kdepay.c index f629419..acf6f92 100644 --- a/gst/rtp/gstrtpj2kdepay.c +++ b/gst/rtp/gstrtpj2kdepay.c @@ -17,6 +17,17 @@ * Boston, MA 02110-1301, USA. */ + + /** + * SECTION:element-rtpj2kdepay + * + * Depayload an RTP-payloaded JPEG 2000 image into RTP packets according to RFC 5371 + * and RFC 5372. + * For detailed information see: https://datatracker.ietf.org/doc/rfc5371/ + * and https://datatracker.ietf.org/doc/rfc5372/ + */ + + #ifdef HAVE_CONFIG_H # include "config.h" #endif diff --git a/gst/rtp/gstrtpj2kpay.c b/gst/rtp/gstrtpj2kpay.c index ee4da03..fde51db 100644 --- a/gst/rtp/gstrtpj2kpay.c +++ b/gst/rtp/gstrtpj2kpay.c @@ -17,15 +17,20 @@ * Boston, MA 02110-1301, USA. */ -/** + /** * SECTION:element-rtpj2kpay * - * Payload encode JPEG 2000 pictures into RTP packets according to RFC 5371. - * For detailed information see: http://www.rfc-editor.org/rfc/rfc5371.txt + * Payload encode JPEG 2000 images into RTP packets according to RFC 5371 + * and RFC 5372. + * For detailed information see: https://datatracker.ietf.org/doc/rfc5371/ + * and https://datatracker.ietf.org/doc/rfc5372/ + * + * The payloader takes a JPEG 2000 image, scans it for "packetization + * units" and constructs the RTP packet header followed by the JPEG 2000 + * codestream. A "packetization unit" is defined as either a JPEG 2000 main header, + * a JPEG 2000 tile-part header, or a JPEG 2000 packet. + * * - * The payloader takes a JPEG 2000 picture, scans the header for packetization - * units and constructs the RTP packet header followed by the actual JPEG 2000 - * codestream. */ #ifdef HAVE_CONFIG_H -- 2.7.4