Open-AVB AVTP Pipeline SDK  1.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
openavb_map_mjpeg_pub.h
Go to the documentation of this file.
1 /*************************************************************************************************************
2 Copyright (c) 2012-2015, Symphony Teleca Corporation, a Harman International Industries, Incorporated company
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are met:
7 
8 1. Redistributions of source code must retain the above copyright notice, this
9  list of conditions and the following disclaimer.
10 2. Redistributions in binary form must reproduce the above copyright notice,
11  this list of conditions and the following disclaimer in the documentation
12  and/or other materials provided with the distribution.
13 
14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS LISTED "AS IS" AND
15 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS LISTED BE LIABLE FOR
18 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 
25 Attributions: The inih library portion of the source code is licensed from
26 Brush Technology and Ben Hoyt - Copyright (c) 2009, Brush Technology and Copyright (c) 2009, Ben Hoyt.
27 Complete license and copyright information can be found at
28 https://github.com/benhoyt/inih/commit/74d2ca064fb293bc60a77b0bd068075b293cf175.
29 *************************************************************************************************************/
30 
31 /*
32 * HEADER SUMMARY : Motion JPEG mapping module public interface conforming to 1722A RTP payload encapsulation.
33 *
34 * Refer to RFC 2435 for details of the fragment structure.
35 *
36 * As defined 1722a the timestamp must be the same for each fragment of a JPEG frame. This means the interface module
37 * must set this same timestamp in the media queue for each item tht is a JPEG fragment of the frame. In addition the
38 * Interface module must set the lastFragment flag of the item public map data structure for each fragment placed into
39 * the media queue (TRUE if not the last fragment of the frame, FALSE if it is the last fragment of a frame).
40 *
41 * The payload will be as defined in RFC 2435 and will include the JPEG headers as well as the JPEG data.
42 */
43 
44 #ifndef OPENAVB_MAP_MJPEG_PUB_H
45 #define OPENAVB_MAP_MJPEG_PUB_H 1
46 
47 #include "openavb_types_pub.h"
48 
69 #define MapMjpegMediaQDataFormat "Mjpeg"
70 
72 typedef struct {
76 
77 #endif // OPENAVB_MAP_MJPEG_PUB_H
Additional public map data structure.
Definition: openavb_map_mjpeg_pub.h:72
bool lastFragment
Is this fragment the last one of this frame.
Definition: openavb_map_mjpeg_pub.h:74