Open-AVB AVTP Pipeline SDK  1.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros
openavb_map_mjpeg_pub.h File Reference

Motion JPEG mapping module public interface conforming to 1722A RTP payload encapsulation. More...

#include "openavb_types_pub.h"

Go to the source code of this file.

Data Structures

struct  media_q_item_map_mjpeg_pub_data_t
 Additional public map data structure. More...
 

Macros

#define MapMjpegMediaQDataFormat   "Mjpeg"
 

Detailed Description

Motion JPEG mapping module public interface conforming to 1722A RTP payload encapsulation.

As defined 1722a the timestamp must be the same for each fragment of a JPEG frame. This means the interface module must set this same timestamp in the media queue for each item tht is a JPEG fragment of the frame. In addition the Interface module must set the lastFragment flag of the item public map data structure for each fragment placed into the media queue (FALSE if not the last fragment of the frame, TRUE if it is the last fragment of a frame).

The payload will be as defined in RFC 2435 and will include the JPEG header as well as the JPEG data.

Macro Definition Documentation

#define MapMjpegMediaQDataFormat   "Mjpeg"
Note
A define is used for the MediaQDataFormat identifier because it is needed in separate execution units (static / dynamic libraries) that is why a single static (static/extern pattern) definition can not be used.